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 wxGraphicsPath
* CreatePath() { return NULL
; }
3621 void Clip( const wxRegion
& ) {}
3622 void Translate( wxDouble
, wxDouble
) {}
3623 void Scale( wxDouble
, wxDouble
) {}
3624 void Rotate( wxDouble
) {}
3625 void SetPen( const wxPen
& ) {}
3626 void SetBrush( const wxBrush
& ) {}
3627 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3628 const wxColour
&, const wxColour
&) {}
3629 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3630 const wxColour
&, const wxColour
&) {}
3631 void SetFont( const wxFont
& ) {}
3632 void SetTextColor( const wxColour
& ) {}
3633 void StrokePath( const wxGraphicsPath
* ) {}
3634 void FillPath( const wxGraphicsPath
*, int ) {}
3635 void DrawPath( const wxGraphicsPath
*, int ) {}
3636 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3637 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3638 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3639 wxDouble
*, wxDouble
* ) const {}
3640 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3641 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3642 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3643 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3644 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3645 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3646 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3647 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3648 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3649 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3653 class wxGCDC
: public wxWindowDC
3656 wxGCDC(const wxWindowDC
&) {
3657 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3658 PyErr_SetString(PyExc_NotImplementedError
,
3659 "wxGCDC is not available on this platform.");
3660 wxPyEndBlockThreads(blocked
);
3664 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3665 PyErr_SetString(PyExc_NotImplementedError
,
3666 "wxGCDC is not available on this platform.");
3667 wxPyEndBlockThreads(blocked
);
3670 virtual ~wxGCDC() {}
3672 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3677 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3678 wxArrayDouble widths
;
3679 self
->GetPartialTextExtents(text
, widths
);
3682 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3683 size_t c1
, c2
, count
;
3684 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3685 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3687 if ( beginP
!= NULL
&& endP
!= NULL
)
3689 count
= wxMin(c1
, c2
);
3690 self
->StrokeLines(count
, beginP
, endP
);
3696 #include "wx/dcgraph.h"
3700 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3701 self
->AddColour(name
, wxColour(red
, green
, blue
));
3704 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3705 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3706 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3707 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3710 #include <wx/effects.h>
3713 #include "wx/renderer.h"
3716 SWIGINTERNINLINE PyObject
*
3717 SWIG_From_bool (bool value
)
3719 return PyBool_FromLong(value
? 1 : 0);
3723 #include "wx/wxPython/pseudodc.h"
3725 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3727 self
->GetIdBounds(id
, rect
);
3733 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3734 PyObject
*resultobj
= 0;
3735 wxGDIObject
*result
= 0 ;
3737 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3739 if (!wxPyCheckForApp()) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= (wxGDIObject
*)new wxGDIObject();
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3752 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3753 PyObject
*resultobj
= 0;
3754 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3757 PyObject
*swig_obj
[1] ;
3759 if (!args
) SWIG_fail
;
3761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3762 if (!SWIG_IsOK(res1
)) {
3763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3765 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 resultobj
= SWIG_Py_Void();
3780 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3781 PyObject
*resultobj
= 0;
3782 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3786 PyObject
*swig_obj
[1] ;
3788 if (!args
) SWIG_fail
;
3790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3791 if (!SWIG_IsOK(res1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3794 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 result
= (bool)(arg1
)->IsNull();
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3810 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3813 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3814 return SWIG_Py_Void();
3817 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3818 return SWIG_Python_InitShadowInstance(args
);
3821 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
= 0;
3823 byte arg1
= (byte
) 0 ;
3824 byte arg2
= (byte
) 0 ;
3825 byte arg3
= (byte
) 0 ;
3826 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3827 wxColour
*result
= 0 ;
3828 unsigned char val1
;
3830 unsigned char val2
;
3832 unsigned char val3
;
3834 unsigned char val4
;
3836 PyObject
* obj0
= 0 ;
3837 PyObject
* obj1
= 0 ;
3838 PyObject
* obj2
= 0 ;
3839 PyObject
* obj3
= 0 ;
3840 char * kwnames
[] = {
3841 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3846 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3847 if (!SWIG_IsOK(ecode1
)) {
3848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3850 arg1
= static_cast< byte
>(val1
);
3853 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3854 if (!SWIG_IsOK(ecode2
)) {
3855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3857 arg2
= static_cast< byte
>(val2
);
3860 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3861 if (!SWIG_IsOK(ecode3
)) {
3862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3864 arg3
= static_cast< byte
>(val3
);
3867 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3868 if (!SWIG_IsOK(ecode4
)) {
3869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3871 arg4
= static_cast< byte
>(val4
);
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3886 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
= 0;
3888 wxString
*arg1
= 0 ;
3889 wxColour
*result
= 0 ;
3890 bool temp1
= false ;
3891 PyObject
* obj0
= 0 ;
3892 char * kwnames
[] = {
3893 (char *) "colorName", NULL
3896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3898 arg1
= wxString_in_helper(obj0
);
3899 if (arg1
== NULL
) SWIG_fail
;
3903 if (!wxPyCheckForApp()) SWIG_fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3924 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
= 0;
3926 unsigned long arg1
;
3927 wxColour
*result
= 0 ;
3928 unsigned long val1
;
3930 PyObject
* obj0
= 0 ;
3931 char * kwnames
[] = {
3932 (char *) "colRGB", NULL
3935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3936 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3937 if (!SWIG_IsOK(ecode1
)) {
3938 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3940 arg1
= static_cast< unsigned long >(val1
);
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (wxColour
*)new wxColour(arg1
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3954 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3955 PyObject
*resultobj
= 0;
3956 wxColour
*arg1
= (wxColour
*) 0 ;
3959 PyObject
*swig_obj
[1] ;
3961 if (!args
) SWIG_fail
;
3963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3964 if (!SWIG_IsOK(res1
)) {
3965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3967 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 resultobj
= SWIG_Py_Void();
3982 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3983 PyObject
*resultobj
= 0;
3984 wxColour
*arg1
= (wxColour
*) 0 ;
3988 PyObject
*swig_obj
[1] ;
3990 if (!args
) SWIG_fail
;
3992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3993 if (!SWIG_IsOK(res1
)) {
3994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3996 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 result
= (byte
)(arg1
)->Red();
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4003 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4010 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4011 PyObject
*resultobj
= 0;
4012 wxColour
*arg1
= (wxColour
*) 0 ;
4016 PyObject
*swig_obj
[1] ;
4018 if (!args
) SWIG_fail
;
4020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4021 if (!SWIG_IsOK(res1
)) {
4022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4024 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (byte
)(arg1
)->Green();
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4038 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4039 PyObject
*resultobj
= 0;
4040 wxColour
*arg1
= (wxColour
*) 0 ;
4044 PyObject
*swig_obj
[1] ;
4046 if (!args
) SWIG_fail
;
4048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4049 if (!SWIG_IsOK(res1
)) {
4050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4052 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (byte
)(arg1
)->Blue();
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4066 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4067 PyObject
*resultobj
= 0;
4068 wxColour
*arg1
= (wxColour
*) 0 ;
4072 PyObject
*swig_obj
[1] ;
4074 if (!args
) SWIG_fail
;
4076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4077 if (!SWIG_IsOK(res1
)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4080 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (byte
)(arg1
)->Alpha();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4094 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4095 PyObject
*resultobj
= 0;
4096 wxColour
*arg1
= (wxColour
*) 0 ;
4100 PyObject
*swig_obj
[1] ;
4102 if (!args
) SWIG_fail
;
4104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4105 if (!SWIG_IsOK(res1
)) {
4106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4108 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= (bool)(arg1
)->IsOk();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4124 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
= 0;
4126 wxColour
*arg1
= (wxColour
*) 0 ;
4130 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4133 unsigned char val2
;
4135 unsigned char val3
;
4137 unsigned char val4
;
4139 unsigned char val5
;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4143 PyObject
* obj2
= 0 ;
4144 PyObject
* obj3
= 0 ;
4145 PyObject
* obj4
= 0 ;
4146 char * kwnames
[] = {
4147 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4152 if (!SWIG_IsOK(res1
)) {
4153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4155 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4156 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4157 if (!SWIG_IsOK(ecode2
)) {
4158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4160 arg2
= static_cast< byte
>(val2
);
4161 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4162 if (!SWIG_IsOK(ecode3
)) {
4163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4165 arg3
= static_cast< byte
>(val3
);
4166 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4167 if (!SWIG_IsOK(ecode4
)) {
4168 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4170 arg4
= static_cast< byte
>(val4
);
4172 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4173 if (!SWIG_IsOK(ecode5
)) {
4174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4176 arg5
= static_cast< byte
>(val5
);
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= SWIG_Py_Void();
4191 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
= 0;
4193 wxColour
*arg1
= (wxColour
*) 0 ;
4194 unsigned long arg2
;
4197 unsigned long val2
;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4201 char * kwnames
[] = {
4202 (char *) "self",(char *) "colRGB", NULL
4205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4207 if (!SWIG_IsOK(res1
)) {
4208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4210 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4211 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4212 if (!SWIG_IsOK(ecode2
)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4215 arg2
= static_cast< unsigned long >(val2
);
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= SWIG_Py_Void();
4229 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
= 0;
4231 wxColour
*arg1
= (wxColour
*) 0 ;
4232 wxString
*arg2
= 0 ;
4235 bool temp2
= false ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4238 char * kwnames
[] = {
4239 (char *) "self",(char *) "colourName", NULL
4242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4244 if (!SWIG_IsOK(res1
)) {
4245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4247 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4249 arg2
= wxString_in_helper(obj1
);
4250 if (arg2
== NULL
) SWIG_fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 (arg1
)->Set((wxString
const &)*arg2
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_Py_Void();
4274 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
= 0;
4276 wxColour
*arg1
= (wxColour
*) 0 ;
4277 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4285 char * kwnames
[] = {
4286 (char *) "self",(char *) "flags", NULL
4289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4291 if (!SWIG_IsOK(res1
)) {
4292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4294 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4296 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4297 if (!SWIG_IsOK(ecode2
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4300 arg2
= static_cast< long >(val2
);
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4321 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4322 PyObject
*resultobj
= 0;
4323 wxColour
*arg1
= (wxColour
*) 0 ;
4327 PyObject
*swig_obj
[1] ;
4329 if (!args
) SWIG_fail
;
4331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4332 if (!SWIG_IsOK(res1
)) {
4333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4335 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= SWIG_From_long(static_cast< long >(result
));
4349 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
= 0;
4351 wxColour
*arg1
= (wxColour
*) 0 ;
4352 PyObject
*arg2
= (PyObject
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 char * kwnames
[] = {
4359 (char *) "self",(char *) "other", NULL
4362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4367 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4370 result
= (bool)wxColour___eq__(arg1
,arg2
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4382 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
= 0;
4384 wxColour
*arg1
= (wxColour
*) 0 ;
4385 PyObject
*arg2
= (PyObject
*) 0 ;
4389 PyObject
* obj0
= 0 ;
4390 PyObject
* obj1
= 0 ;
4391 char * kwnames
[] = {
4392 (char *) "self",(char *) "other", NULL
4395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4397 if (!SWIG_IsOK(res1
)) {
4398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4400 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4403 result
= (bool)wxColour___ne__(arg1
,arg2
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4415 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
= 0;
4417 wxColour
*arg1
= (wxColour
*) 0 ;
4418 bool arg2
= (bool) false ;
4419 PyObject
*result
= 0 ;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4426 char * kwnames
[] = {
4427 (char *) "self",(char *) "includeAlpha", NULL
4430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4432 if (!SWIG_IsOK(res1
)) {
4433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4435 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4437 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4438 if (!SWIG_IsOK(ecode2
)) {
4439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4441 arg2
= static_cast< bool >(val2
);
4444 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4454 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4455 PyObject
*resultobj
= 0;
4456 wxColour
*arg1
= (wxColour
*) 0 ;
4457 unsigned long result
;
4460 PyObject
*swig_obj
[1] ;
4462 if (!args
) SWIG_fail
;
4464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4465 if (!SWIG_IsOK(res1
)) {
4466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4468 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4470 result
= (unsigned long)wxColour_GetRGB(arg1
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4480 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4483 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4484 return SWIG_Py_Void();
4487 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4488 return SWIG_Python_InitShadowInstance(args
);
4491 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
= 0;
4494 unsigned char *arg2
= (unsigned char *) 0 ;
4495 unsigned char *arg3
= (unsigned char *) 0 ;
4496 unsigned char *arg4
= (unsigned char *) 0 ;
4497 wxPalette
*result
= 0 ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4508 PyObject
* obj2
= 0 ;
4509 PyObject
* obj3
= 0 ;
4510 char * kwnames
[] = {
4511 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4515 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4516 if (!SWIG_IsOK(ecode1
)) {
4517 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4519 arg1
= static_cast< int >(val1
);
4520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4521 if (!SWIG_IsOK(res2
)) {
4522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4524 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4525 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4526 if (!SWIG_IsOK(res3
)) {
4527 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4529 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4530 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4531 if (!SWIG_IsOK(res4
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4534 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4536 if (!wxPyCheckForApp()) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4549 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4550 PyObject
*resultobj
= 0;
4551 wxPalette
*arg1
= (wxPalette
*) 0 ;
4554 PyObject
*swig_obj
[1] ;
4556 if (!args
) SWIG_fail
;
4558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4559 if (!SWIG_IsOK(res1
)) {
4560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4562 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= SWIG_Py_Void();
4577 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
= 0;
4579 wxPalette
*arg1
= (wxPalette
*) 0 ;
4586 unsigned char val2
;
4588 unsigned char val3
;
4590 unsigned char val4
;
4592 PyObject
* obj0
= 0 ;
4593 PyObject
* obj1
= 0 ;
4594 PyObject
* obj2
= 0 ;
4595 PyObject
* obj3
= 0 ;
4596 char * kwnames
[] = {
4597 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4602 if (!SWIG_IsOK(res1
)) {
4603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4605 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4606 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4607 if (!SWIG_IsOK(ecode2
)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4610 arg2
= static_cast< byte
>(val2
);
4611 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4612 if (!SWIG_IsOK(ecode3
)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4615 arg3
= static_cast< byte
>(val3
);
4616 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4617 if (!SWIG_IsOK(ecode4
)) {
4618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4620 arg4
= static_cast< byte
>(val4
);
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_From_int(static_cast< int >(result
));
4634 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
= 0;
4636 wxPalette
*arg1
= (wxPalette
*) 0 ;
4638 byte
*arg3
= (byte
*) 0 ;
4639 byte
*arg4
= (byte
*) 0 ;
4640 byte
*arg5
= (byte
*) 0 ;
4647 int res3
= SWIG_TMPOBJ
;
4649 int res4
= SWIG_TMPOBJ
;
4651 int res5
= SWIG_TMPOBJ
;
4652 PyObject
* obj0
= 0 ;
4653 PyObject
* obj1
= 0 ;
4654 char * kwnames
[] = {
4655 (char *) "self",(char *) "pixel", NULL
4661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4663 if (!SWIG_IsOK(res1
)) {
4664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4666 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4668 if (!SWIG_IsOK(ecode2
)) {
4669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4671 arg2
= static_cast< int >(val2
);
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4681 if (SWIG_IsTmpObj(res3
)) {
4682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4684 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4687 if (SWIG_IsTmpObj(res4
)) {
4688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4690 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4693 if (SWIG_IsTmpObj(res5
)) {
4694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4696 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4705 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4706 PyObject
*resultobj
= 0;
4707 wxPalette
*arg1
= (wxPalette
*) 0 ;
4711 PyObject
*swig_obj
[1] ;
4713 if (!args
) SWIG_fail
;
4715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4716 if (!SWIG_IsOK(res1
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4719 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 resultobj
= SWIG_From_int(static_cast< int >(result
));
4733 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4734 PyObject
*resultobj
= 0;
4735 wxPalette
*arg1
= (wxPalette
*) 0 ;
4739 PyObject
*swig_obj
[1] ;
4741 if (!args
) SWIG_fail
;
4743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4744 if (!SWIG_IsOK(res1
)) {
4745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4747 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (bool)(arg1
)->IsOk();
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4763 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4766 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4767 return SWIG_Py_Void();
4770 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4771 return SWIG_Python_InitShadowInstance(args
);
4774 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
= 0;
4776 wxColour
*arg1
= 0 ;
4777 int arg2
= (int) 1 ;
4778 int arg3
= (int) wxSOLID
;
4785 PyObject
* obj0
= 0 ;
4786 PyObject
* obj1
= 0 ;
4787 PyObject
* obj2
= 0 ;
4788 char * kwnames
[] = {
4789 (char *) "colour",(char *) "width",(char *) "style", NULL
4792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4795 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4799 if (!SWIG_IsOK(ecode2
)) {
4800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4802 arg2
= static_cast< int >(val2
);
4805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4806 if (!SWIG_IsOK(ecode3
)) {
4807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4809 arg3
= static_cast< int >(val3
);
4812 if (!wxPyCheckForApp()) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4825 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4826 PyObject
*resultobj
= 0;
4827 wxPen
*arg1
= (wxPen
*) 0 ;
4830 PyObject
*swig_obj
[1] ;
4832 if (!args
) SWIG_fail
;
4834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4835 if (!SWIG_IsOK(res1
)) {
4836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4838 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= SWIG_Py_Void();
4853 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4854 PyObject
*resultobj
= 0;
4855 wxPen
*arg1
= (wxPen
*) 0 ;
4859 PyObject
*swig_obj
[1] ;
4861 if (!args
) SWIG_fail
;
4863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4864 if (!SWIG_IsOK(res1
)) {
4865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4867 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 result
= (int)(arg1
)->GetCap();
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_From_int(static_cast< int >(result
));
4881 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4882 PyObject
*resultobj
= 0;
4883 wxPen
*arg1
= (wxPen
*) 0 ;
4887 PyObject
*swig_obj
[1] ;
4889 if (!args
) SWIG_fail
;
4891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4892 if (!SWIG_IsOK(res1
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4895 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (arg1
)->GetColour();
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4909 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4910 PyObject
*resultobj
= 0;
4911 wxPen
*arg1
= (wxPen
*) 0 ;
4915 PyObject
*swig_obj
[1] ;
4917 if (!args
) SWIG_fail
;
4919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4920 if (!SWIG_IsOK(res1
)) {
4921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4923 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= (int)(arg1
)->GetJoin();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_From_int(static_cast< int >(result
));
4937 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4938 PyObject
*resultobj
= 0;
4939 wxPen
*arg1
= (wxPen
*) 0 ;
4943 PyObject
*swig_obj
[1] ;
4945 if (!args
) SWIG_fail
;
4947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4948 if (!SWIG_IsOK(res1
)) {
4949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4951 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 result
= (int)(arg1
)->GetStyle();
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_From_int(static_cast< int >(result
));
4965 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxPen
*arg1
= (wxPen
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4979 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (int)(arg1
)->GetWidth();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= SWIG_From_int(static_cast< int >(result
));
4993 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4994 PyObject
*resultobj
= 0;
4995 wxPen
*arg1
= (wxPen
*) 0 ;
4999 PyObject
*swig_obj
[1] ;
5001 if (!args
) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5007 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (bool)(arg1
)->IsOk();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5023 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
= 0;
5025 wxPen
*arg1
= (wxPen
*) 0 ;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 char * kwnames
[] = {
5034 (char *) "self",(char *) "cap_style", NULL
5037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5039 if (!SWIG_IsOK(res1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5042 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5044 if (!SWIG_IsOK(ecode2
)) {
5045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5047 arg2
= static_cast< int >(val2
);
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 (arg1
)->SetCap(arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_Py_Void();
5061 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
= 0;
5063 wxPen
*arg1
= (wxPen
*) 0 ;
5064 wxColour
*arg2
= 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 char * kwnames
[] = {
5071 (char *) "self",(char *) "colour", NULL
5074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5076 if (!SWIG_IsOK(res1
)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5079 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 (arg1
)->SetColour(*arg2
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= SWIG_Py_Void();
5097 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
= 0;
5099 wxPen
*arg1
= (wxPen
*) 0 ;
5105 PyObject
* obj0
= 0 ;
5106 PyObject
* obj1
= 0 ;
5107 char * kwnames
[] = {
5108 (char *) "self",(char *) "join_style", NULL
5111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5113 if (!SWIG_IsOK(res1
)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5116 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5118 if (!SWIG_IsOK(ecode2
)) {
5119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5121 arg2
= static_cast< int >(val2
);
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 (arg1
)->SetJoin(arg2
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= SWIG_Py_Void();
5135 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
= 0;
5137 wxPen
*arg1
= (wxPen
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5144 PyObject
* obj1
= 0 ;
5145 char * kwnames
[] = {
5146 (char *) "self",(char *) "style", NULL
5149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5151 if (!SWIG_IsOK(res1
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5154 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5156 if (!SWIG_IsOK(ecode2
)) {
5157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5159 arg2
= static_cast< int >(val2
);
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 (arg1
)->SetStyle(arg2
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= SWIG_Py_Void();
5173 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
= 0;
5175 wxPen
*arg1
= (wxPen
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5183 char * kwnames
[] = {
5184 (char *) "self",(char *) "width", NULL
5187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5189 if (!SWIG_IsOK(res1
)) {
5190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5192 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5194 if (!SWIG_IsOK(ecode2
)) {
5195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5197 arg2
= static_cast< int >(val2
);
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 (arg1
)->SetWidth(arg2
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_Py_Void();
5211 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
= 0;
5213 wxPen
*arg1
= (wxPen
*) 0 ;
5215 wxDash
*arg3
= (wxDash
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5220 char * kwnames
[] = {
5221 (char *) "self",(char *) "dashes", NULL
5224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5226 if (!SWIG_IsOK(res1
)) {
5227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5229 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5231 arg2
= PyList_Size(obj1
);
5232 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5233 if (arg3
== NULL
) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 (arg1
)->SetDashes(arg2
,arg3
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= SWIG_Py_Void();
5243 if (arg3
) delete [] arg3
;
5248 if (arg3
) delete [] arg3
;
5254 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5255 PyObject
*resultobj
= 0;
5256 wxPen
*arg1
= (wxPen
*) 0 ;
5257 PyObject
*result
= 0 ;
5260 PyObject
*swig_obj
[1] ;
5262 if (!args
) SWIG_fail
;
5264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5265 if (!SWIG_IsOK(res1
)) {
5266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5268 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5282 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
= 0;
5284 wxPen
*arg1
= (wxPen
*) 0 ;
5285 PyObject
*arg2
= (PyObject
*) 0 ;
5286 PyObject
*arg3
= (PyObject
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5290 PyObject
* obj1
= 0 ;
5291 PyObject
* obj2
= 0 ;
5292 char * kwnames
[] = {
5293 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5298 if (!SWIG_IsOK(res1
)) {
5299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5301 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 wxPen__SetDashes(arg1
,arg2
,arg3
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= SWIG_Py_Void();
5317 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
= 0;
5319 wxPen
*arg1
= (wxPen
*) 0 ;
5320 wxPen
*arg2
= (wxPen
*) 0 ;
5326 PyObject
* obj0
= 0 ;
5327 PyObject
* obj1
= 0 ;
5328 char * kwnames
[] = {
5329 (char *) "self",(char *) "other", NULL
5332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5334 if (!SWIG_IsOK(res1
)) {
5335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5337 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5339 if (!SWIG_IsOK(res2
)) {
5340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5342 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5358 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
= 0;
5360 wxPen
*arg1
= (wxPen
*) 0 ;
5361 wxPen
*arg2
= (wxPen
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5369 char * kwnames
[] = {
5370 (char *) "self",(char *) "other", NULL
5373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5378 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5380 if (!SWIG_IsOK(res2
)) {
5381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5383 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5399 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5401 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5402 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5403 return SWIG_Py_Void();
5406 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5407 return SWIG_Python_InitShadowInstance(args
);
5410 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
= 0;
5412 wxColour
*arg1
= 0 ;
5413 int arg2
= (int) wxSOLID
;
5414 wxBrush
*result
= 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5420 char * kwnames
[] = {
5421 (char *) "colour",(char *) "style", NULL
5424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5427 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5431 if (!SWIG_IsOK(ecode2
)) {
5432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5434 arg2
= static_cast< int >(val2
);
5437 if (!wxPyCheckForApp()) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5450 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
= 0;
5452 wxBitmap
*arg1
= 0 ;
5453 wxBrush
*result
= 0 ;
5456 PyObject
* obj0
= 0 ;
5457 char * kwnames
[] = {
5458 (char *) "stippleBitmap", NULL
5461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5462 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5463 if (!SWIG_IsOK(res1
)) {
5464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5469 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5471 if (!wxPyCheckForApp()) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5484 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5485 PyObject
*resultobj
= 0;
5486 wxBrush
*arg1
= (wxBrush
*) 0 ;
5489 PyObject
*swig_obj
[1] ;
5491 if (!args
) SWIG_fail
;
5493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5494 if (!SWIG_IsOK(res1
)) {
5495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5497 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= SWIG_Py_Void();
5512 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
= 0;
5514 wxBrush
*arg1
= (wxBrush
*) 0 ;
5515 wxColour
*arg2
= 0 ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5521 char * kwnames
[] = {
5522 (char *) "self",(char *) "col", NULL
5525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5530 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 (arg1
)->SetColour((wxColour
const &)*arg2
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_Py_Void();
5548 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
= 0;
5550 wxBrush
*arg1
= (wxBrush
*) 0 ;
5556 PyObject
* obj0
= 0 ;
5557 PyObject
* obj1
= 0 ;
5558 char * kwnames
[] = {
5559 (char *) "self",(char *) "style", NULL
5562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5564 if (!SWIG_IsOK(res1
)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5567 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5569 if (!SWIG_IsOK(ecode2
)) {
5570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5572 arg2
= static_cast< int >(val2
);
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->SetStyle(arg2
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_Py_Void();
5586 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
= 0;
5588 wxBrush
*arg1
= (wxBrush
*) 0 ;
5589 wxBitmap
*arg2
= 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5596 char * kwnames
[] = {
5597 (char *) "self",(char *) "stipple", NULL
5600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5605 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5607 if (!SWIG_IsOK(res2
)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5613 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_Py_Void();
5627 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5628 PyObject
*resultobj
= 0;
5629 wxBrush
*arg1
= (wxBrush
*) 0 ;
5633 PyObject
*swig_obj
[1] ;
5635 if (!args
) SWIG_fail
;
5637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5638 if (!SWIG_IsOK(res1
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5641 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= ((wxBrush
const *)arg1
)->GetColour();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5655 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 PyObject
*resultobj
= 0;
5657 wxBrush
*arg1
= (wxBrush
*) 0 ;
5661 PyObject
*swig_obj
[1] ;
5663 if (!args
) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5669 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_From_int(static_cast< int >(result
));
5683 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5684 PyObject
*resultobj
= 0;
5685 wxBrush
*arg1
= (wxBrush
*) 0 ;
5686 wxBitmap
*result
= 0 ;
5689 PyObject
*swig_obj
[1] ;
5691 if (!args
) SWIG_fail
;
5693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5694 if (!SWIG_IsOK(res1
)) {
5695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5697 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5711 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5712 PyObject
*resultobj
= 0;
5713 wxBrush
*arg1
= (wxBrush
*) 0 ;
5717 PyObject
*swig_obj
[1] ;
5719 if (!args
) SWIG_fail
;
5721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5722 if (!SWIG_IsOK(res1
)) {
5723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5725 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5741 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5742 PyObject
*resultobj
= 0;
5743 wxBrush
*arg1
= (wxBrush
*) 0 ;
5747 PyObject
*swig_obj
[1] ;
5749 if (!args
) SWIG_fail
;
5751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5752 if (!SWIG_IsOK(res1
)) {
5753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5755 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (bool)(arg1
)->IsOk();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5771 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5772 PyObject
*resultobj
= 0;
5773 wxBrush
*arg1
= (wxBrush
*) 0 ;
5777 PyObject
*swig_obj
[1] ;
5779 if (!args
) SWIG_fail
;
5781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5782 if (!SWIG_IsOK(res1
)) {
5783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5785 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (short)(arg1
)->MacGetTheme();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= SWIG_From_short(static_cast< short >(result
));
5799 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
= 0;
5801 wxBrush
*arg1
= (wxBrush
*) 0 ;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5809 char * kwnames
[] = {
5810 (char *) "self",(char *) "macThemeBrush", NULL
5813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5815 if (!SWIG_IsOK(res1
)) {
5816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5818 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5819 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5820 if (!SWIG_IsOK(ecode2
)) {
5821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5823 arg2
= static_cast< short >(val2
);
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 (arg1
)->MacSetTheme(arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= SWIG_Py_Void();
5837 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5840 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5841 return SWIG_Py_Void();
5844 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5845 return SWIG_Python_InitShadowInstance(args
);
5848 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
= 0;
5850 wxString
*arg1
= 0 ;
5851 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5852 wxBitmap
*result
= 0 ;
5853 bool temp1
= false ;
5856 PyObject
* obj0
= 0 ;
5857 PyObject
* obj1
= 0 ;
5858 char * kwnames
[] = {
5859 (char *) "name",(char *) "type", NULL
5862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5864 arg1
= wxString_in_helper(obj0
);
5865 if (arg1
== NULL
) SWIG_fail
;
5869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5870 if (!SWIG_IsOK(ecode2
)) {
5871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5873 arg2
= static_cast< wxBitmapType
>(val2
);
5876 if (!wxPyCheckForApp()) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5897 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5898 PyObject
*resultobj
= 0;
5899 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5902 PyObject
*swig_obj
[1] ;
5904 if (!args
) SWIG_fail
;
5906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5907 if (!SWIG_IsOK(res1
)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5910 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_Py_Void();
5923 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
= 0;
5927 int arg3
= (int) -1 ;
5928 wxBitmap
*result
= 0 ;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5937 PyObject
* obj2
= 0 ;
5938 char * kwnames
[] = {
5939 (char *) "width",(char *) "height",(char *) "depth", NULL
5942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5944 if (!SWIG_IsOK(ecode1
)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5947 arg1
= static_cast< int >(val1
);
5948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5949 if (!SWIG_IsOK(ecode2
)) {
5950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5952 arg2
= static_cast< int >(val2
);
5954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5955 if (!SWIG_IsOK(ecode3
)) {
5956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5958 arg3
= static_cast< int >(val3
);
5961 if (!wxPyCheckForApp()) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5974 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
= 0;
5977 wxBitmap
*result
= 0 ;
5980 PyObject
* obj0
= 0 ;
5981 char * kwnames
[] = {
5982 (char *) "icon", NULL
5985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5986 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5987 if (!SWIG_IsOK(res1
)) {
5988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5993 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5995 if (!wxPyCheckForApp()) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6008 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
= 0;
6011 int arg2
= (int) -1 ;
6012 wxBitmap
*result
= 0 ;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6019 char * kwnames
[] = {
6020 (char *) "image",(char *) "depth", NULL
6023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6024 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6025 if (!SWIG_IsOK(res1
)) {
6026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6031 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6034 if (!SWIG_IsOK(ecode2
)) {
6035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6037 arg2
= static_cast< int >(val2
);
6040 if (!wxPyCheckForApp()) SWIG_fail
;
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6053 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
= 0;
6055 PyObject
*arg1
= (PyObject
*) 0 ;
6056 wxBitmap
*result
= 0 ;
6057 PyObject
* obj0
= 0 ;
6058 char * kwnames
[] = {
6059 (char *) "listOfStrings", NULL
6062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6065 if (!wxPyCheckForApp()) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6078 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
= 0;
6080 PyObject
*arg1
= (PyObject
*) 0 ;
6083 int arg4
= (int) 1 ;
6084 wxBitmap
*result
= 0 ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6093 PyObject
* obj2
= 0 ;
6094 PyObject
* obj3
= 0 ;
6095 char * kwnames
[] = {
6096 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6102 if (!SWIG_IsOK(ecode2
)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6105 arg2
= static_cast< int >(val2
);
6106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6107 if (!SWIG_IsOK(ecode3
)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6110 arg3
= static_cast< int >(val3
);
6112 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6113 if (!SWIG_IsOK(ecode4
)) {
6114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6116 arg4
= static_cast< int >(val4
);
6119 if (!wxPyCheckForApp()) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6132 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6133 PyObject
*resultobj
= 0;
6134 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6138 PyObject
*swig_obj
[1] ;
6140 if (!args
) SWIG_fail
;
6142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6143 if (!SWIG_IsOK(res1
)) {
6144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6146 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6148 result
= (bool)(arg1
)->IsOk();
6149 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6160 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6161 PyObject
*resultobj
= 0;
6162 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6166 PyObject
*swig_obj
[1] ;
6168 if (!args
) SWIG_fail
;
6170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6171 if (!SWIG_IsOK(res1
)) {
6172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6174 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6176 result
= (int)(arg1
)->GetWidth();
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_From_int(static_cast< int >(result
));
6186 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6187 PyObject
*resultobj
= 0;
6188 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6192 PyObject
*swig_obj
[1] ;
6194 if (!args
) SWIG_fail
;
6196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6197 if (!SWIG_IsOK(res1
)) {
6198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6200 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6202 result
= (int)(arg1
)->GetHeight();
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 resultobj
= SWIG_From_int(static_cast< int >(result
));
6212 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6213 PyObject
*resultobj
= 0;
6214 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6218 PyObject
*swig_obj
[1] ;
6220 if (!args
) SWIG_fail
;
6222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6223 if (!SWIG_IsOK(res1
)) {
6224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6226 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6228 result
= (int)(arg1
)->GetDepth();
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= SWIG_From_int(static_cast< int >(result
));
6238 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6239 PyObject
*resultobj
= 0;
6240 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6244 PyObject
*swig_obj
[1] ;
6246 if (!args
) SWIG_fail
;
6248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6249 if (!SWIG_IsOK(res1
)) {
6250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6252 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6254 result
= wxBitmap_GetSize(arg1
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6264 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6265 PyObject
*resultobj
= 0;
6266 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6267 SwigValueWrapper
<wxImage
> result
;
6270 PyObject
*swig_obj
[1] ;
6272 if (!args
) SWIG_fail
;
6274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6275 if (!SWIG_IsOK(res1
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6278 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6280 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6290 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6291 PyObject
*resultobj
= 0;
6292 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6293 wxMask
*result
= 0 ;
6296 PyObject
*swig_obj
[1] ;
6298 if (!args
) SWIG_fail
;
6300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6301 if (!SWIG_IsOK(res1
)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6304 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6306 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6316 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
= 0;
6318 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6319 wxMask
*arg2
= (wxMask
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 char * kwnames
[] = {
6326 (char *) "self",(char *) "mask", NULL
6329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6331 if (!SWIG_IsOK(res1
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6334 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6335 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6336 if (!SWIG_IsOK(res2
)) {
6337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6340 (arg1
)->SetMask(arg2
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_Py_Void();
6350 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
= 0;
6352 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6353 wxColour
*arg2
= 0 ;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj1
= 0 ;
6359 char * kwnames
[] = {
6360 (char *) "self",(char *) "colour", NULL
6363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6365 if (!SWIG_IsOK(res1
)) {
6366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6368 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6374 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_Py_Void();
6384 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
= 0;
6386 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6388 SwigValueWrapper
<wxBitmap
> result
;
6392 PyObject
* obj0
= 0 ;
6393 PyObject
* obj1
= 0 ;
6394 char * kwnames
[] = {
6395 (char *) "self",(char *) "rect", NULL
6398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6403 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6406 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6409 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6419 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
= 0;
6421 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6422 wxString
*arg2
= 0 ;
6424 wxPalette
*arg4
= (wxPalette
*) NULL
;
6428 bool temp2
= false ;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6435 PyObject
* obj2
= 0 ;
6436 PyObject
* obj3
= 0 ;
6437 char * kwnames
[] = {
6438 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6446 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6448 arg2
= wxString_in_helper(obj1
);
6449 if (arg2
== NULL
) SWIG_fail
;
6452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6453 if (!SWIG_IsOK(ecode3
)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6456 arg3
= static_cast< wxBitmapType
>(val3
);
6458 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6459 if (!SWIG_IsOK(res4
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6462 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6465 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6485 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
= 0;
6487 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6488 wxString
*arg2
= 0 ;
6493 bool temp2
= false ;
6496 PyObject
* obj0
= 0 ;
6497 PyObject
* obj1
= 0 ;
6498 PyObject
* obj2
= 0 ;
6499 char * kwnames
[] = {
6500 (char *) "self",(char *) "name",(char *) "type", NULL
6503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6505 if (!SWIG_IsOK(res1
)) {
6506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6508 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6510 arg2
= wxString_in_helper(obj1
);
6511 if (arg2
== NULL
) SWIG_fail
;
6514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6515 if (!SWIG_IsOK(ecode3
)) {
6516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6518 arg3
= static_cast< wxBitmapType
>(val3
);
6520 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6540 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6541 PyObject
*resultobj
= 0;
6542 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6543 wxPalette
*result
= 0 ;
6546 PyObject
*swig_obj
[1] ;
6548 if (!args
) SWIG_fail
;
6550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6551 if (!SWIG_IsOK(res1
)) {
6552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6554 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6556 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6566 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
= 0;
6568 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6577 char * kwnames
[] = {
6578 (char *) "self",(char *) "icon", NULL
6581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6583 if (!SWIG_IsOK(res1
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6586 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6588 if (!SWIG_IsOK(res2
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6594 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6596 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6608 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
= 0;
6610 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6616 PyObject
* obj0
= 0 ;
6617 PyObject
* obj1
= 0 ;
6618 char * kwnames
[] = {
6619 (char *) "self",(char *) "height", NULL
6622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6624 if (!SWIG_IsOK(res1
)) {
6625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6627 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6629 if (!SWIG_IsOK(ecode2
)) {
6630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6632 arg2
= static_cast< int >(val2
);
6634 (arg1
)->SetHeight(arg2
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= SWIG_Py_Void();
6644 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
= 0;
6646 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6654 char * kwnames
[] = {
6655 (char *) "self",(char *) "width", NULL
6658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6663 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6665 if (!SWIG_IsOK(ecode2
)) {
6666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6668 arg2
= static_cast< int >(val2
);
6670 (arg1
)->SetWidth(arg2
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= SWIG_Py_Void();
6680 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
= 0;
6682 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6688 PyObject
* obj0
= 0 ;
6689 PyObject
* obj1
= 0 ;
6690 char * kwnames
[] = {
6691 (char *) "self",(char *) "depth", NULL
6694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6696 if (!SWIG_IsOK(res1
)) {
6697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6699 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6701 if (!SWIG_IsOK(ecode2
)) {
6702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6704 arg2
= static_cast< int >(val2
);
6706 (arg1
)->SetDepth(arg2
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 resultobj
= SWIG_Py_Void();
6716 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
= 0;
6718 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6725 char * kwnames
[] = {
6726 (char *) "self",(char *) "size", NULL
6729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6731 if (!SWIG_IsOK(res1
)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6734 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6737 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6740 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_Py_Void();
6750 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
= 0;
6752 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6753 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6761 char * kwnames
[] = {
6762 (char *) "self",(char *) "other", NULL
6765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6767 if (!SWIG_IsOK(res1
)) {
6768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6770 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6772 if (!SWIG_IsOK(res2
)) {
6773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6775 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6777 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6789 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
= 0;
6791 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6792 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6798 PyObject
* obj0
= 0 ;
6799 PyObject
* obj1
= 0 ;
6800 char * kwnames
[] = {
6801 (char *) "self",(char *) "other", NULL
6804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6806 if (!SWIG_IsOK(res1
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6809 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6810 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6811 if (!SWIG_IsOK(res2
)) {
6812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6814 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6816 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6828 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6831 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6832 return SWIG_Py_Void();
6835 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6836 return SWIG_Python_InitShadowInstance(args
);
6839 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
= 0;
6847 wxBitmap
*result
= 0 ;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6856 PyObject
* obj2
= 0 ;
6857 PyObject
* obj3
= 0 ;
6858 char * kwnames
[] = {
6859 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6863 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6864 if (!SWIG_IsOK(ecode1
)) {
6865 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6867 arg1
= static_cast< int >(val1
);
6868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6869 if (!SWIG_IsOK(ecode2
)) {
6870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6872 arg2
= static_cast< int >(val2
);
6874 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6878 if (obj3
!= Py_None
) {
6879 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6884 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6894 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
= 0;
6900 wxBitmap
*result
= 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6908 PyObject
* obj2
= 0 ;
6909 char * kwnames
[] = {
6910 (char *) "width",(char *) "height",(char *) "data", NULL
6913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6914 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6915 if (!SWIG_IsOK(ecode1
)) {
6916 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6918 arg1
= static_cast< int >(val1
);
6919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6920 if (!SWIG_IsOK(ecode2
)) {
6921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6923 arg2
= static_cast< int >(val2
);
6925 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6929 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6939 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
= 0;
6945 wxBitmap
*result
= 0 ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6953 PyObject
* obj2
= 0 ;
6954 char * kwnames
[] = {
6955 (char *) "width",(char *) "height",(char *) "data", NULL
6958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6959 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6960 if (!SWIG_IsOK(ecode1
)) {
6961 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6963 arg1
= static_cast< int >(val1
);
6964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6965 if (!SWIG_IsOK(ecode2
)) {
6966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6968 arg2
= static_cast< int >(val2
);
6970 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6974 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6984 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6985 PyObject
*resultobj
= 0;
6986 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6990 PyObject
*swig_obj
[1] ;
6992 if (!args
) SWIG_fail
;
6994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6995 if (!SWIG_IsOK(res1
)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6998 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7000 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7010 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7011 PyObject
*resultobj
= 0;
7012 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7016 PyObject
*swig_obj
[1] ;
7018 if (!args
) SWIG_fail
;
7020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7021 if (!SWIG_IsOK(res1
)) {
7022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7024 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7026 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= SWIG_From_int(static_cast< int >(result
));
7036 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7037 PyObject
*resultobj
= 0;
7038 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7042 PyObject
*swig_obj
[1] ;
7044 if (!args
) SWIG_fail
;
7046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7047 if (!SWIG_IsOK(res1
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7050 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7052 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= SWIG_From_int(static_cast< int >(result
));
7062 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7063 PyObject
*resultobj
= 0;
7064 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7068 PyObject
*swig_obj
[1] ;
7070 if (!args
) SWIG_fail
;
7072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7073 if (!SWIG_IsOK(res1
)) {
7074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7076 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7078 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7088 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7089 PyObject
*resultobj
= 0;
7090 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7094 PyObject
*swig_obj
[1] ;
7096 if (!args
) SWIG_fail
;
7098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7099 if (!SWIG_IsOK(res1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7102 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7104 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_From_int(static_cast< int >(result
));
7114 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7117 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7118 return SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7122 PyObject
*resultobj
= 0;
7123 wxBitmap
*arg1
= 0 ;
7124 wxNativePixelData
*result
= 0 ;
7128 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7130 if (!SWIG_IsOK(res1
)) {
7131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7136 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7138 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7148 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7149 PyObject
*resultobj
= 0;
7150 wxBitmap
*arg1
= 0 ;
7152 wxNativePixelData
*result
= 0 ;
7157 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7165 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7168 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7171 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7181 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7182 PyObject
*resultobj
= 0;
7183 wxBitmap
*arg1
= 0 ;
7186 wxNativePixelData
*result
= 0 ;
7192 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7194 if (!SWIG_IsOK(res1
)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7200 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7203 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7207 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7210 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7220 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7224 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7227 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7230 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7233 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7237 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7242 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7243 PyObject
*resultobj
= 0;
7244 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7247 PyObject
*swig_obj
[1] ;
7249 if (!args
) SWIG_fail
;
7251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7252 if (!SWIG_IsOK(res1
)) {
7253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7255 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= SWIG_Py_Void();
7268 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7269 PyObject
*resultobj
= 0;
7270 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7271 wxNativePixelData_Accessor result
;
7274 PyObject
*swig_obj
[1] ;
7276 if (!args
) SWIG_fail
;
7278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7279 if (!SWIG_IsOK(res1
)) {
7280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7282 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7284 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7294 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7295 PyObject
*resultobj
= 0;
7296 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7299 PyObject
*swig_obj
[1] ;
7301 if (!args
) SWIG_fail
;
7303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7304 if (!SWIG_IsOK(res1
)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7307 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_Py_Void();
7319 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7320 PyObject
*resultobj
= 0;
7321 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7325 PyObject
*swig_obj
[1] ;
7327 if (!args
) SWIG_fail
;
7329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7330 if (!SWIG_IsOK(res1
)) {
7331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7333 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7335 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7347 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7350 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7351 return SWIG_Py_Void();
7354 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7355 return SWIG_Python_InitShadowInstance(args
);
7358 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7359 PyObject
*resultobj
= 0;
7360 wxNativePixelData
*arg1
= 0 ;
7361 wxNativePixelData_Accessor
*result
= 0 ;
7365 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7367 if (!SWIG_IsOK(res1
)) {
7368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7373 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7375 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7385 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7386 PyObject
*resultobj
= 0;
7387 wxBitmap
*arg1
= 0 ;
7388 wxNativePixelData
*arg2
= 0 ;
7389 wxNativePixelData_Accessor
*result
= 0 ;
7395 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7397 if (!SWIG_IsOK(res1
)) {
7398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7403 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7404 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7405 if (!SWIG_IsOK(res2
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7411 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7413 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7423 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7424 PyObject
*resultobj
= 0;
7425 wxNativePixelData_Accessor
*result
= 0 ;
7427 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7429 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7439 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7443 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7446 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7449 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7452 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7456 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7461 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7462 PyObject
*resultobj
= 0;
7463 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7466 PyObject
*swig_obj
[1] ;
7468 if (!args
) SWIG_fail
;
7470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7471 if (!SWIG_IsOK(res1
)) {
7472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7474 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_Py_Void();
7487 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
= 0;
7489 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7490 wxNativePixelData
*arg2
= 0 ;
7495 PyObject
* obj0
= 0 ;
7496 PyObject
* obj1
= 0 ;
7497 char * kwnames
[] = {
7498 (char *) "self",(char *) "data", NULL
7501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7503 if (!SWIG_IsOK(res1
)) {
7504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7506 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7508 if (!SWIG_IsOK(res2
)) {
7509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7514 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7516 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= SWIG_Py_Void();
7526 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7527 PyObject
*resultobj
= 0;
7528 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7532 PyObject
*swig_obj
[1] ;
7534 if (!args
) SWIG_fail
;
7536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7537 if (!SWIG_IsOK(res1
)) {
7538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7540 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7542 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7554 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7555 PyObject
*resultobj
= 0;
7556 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7559 PyObject
*swig_obj
[1] ;
7561 if (!args
) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7567 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7569 wxNativePixelData_Accessor_nextPixel(arg1
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= SWIG_Py_Void();
7579 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
= 0;
7581 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7582 wxNativePixelData
*arg2
= 0 ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7595 PyObject
* obj2
= 0 ;
7596 PyObject
* obj3
= 0 ;
7597 char * kwnames
[] = {
7598 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7603 if (!SWIG_IsOK(res1
)) {
7604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7606 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7607 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7608 if (!SWIG_IsOK(res2
)) {
7609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7614 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7616 if (!SWIG_IsOK(ecode3
)) {
7617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7619 arg3
= static_cast< int >(val3
);
7620 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7621 if (!SWIG_IsOK(ecode4
)) {
7622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7624 arg4
= static_cast< int >(val4
);
7626 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_Py_Void();
7636 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
= 0;
7638 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7639 wxNativePixelData
*arg2
= 0 ;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7649 PyObject
* obj2
= 0 ;
7650 char * kwnames
[] = {
7651 (char *) "self",(char *) "data",(char *) "x", NULL
7654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7656 if (!SWIG_IsOK(res1
)) {
7657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7659 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7661 if (!SWIG_IsOK(res2
)) {
7662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7667 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7669 if (!SWIG_IsOK(ecode3
)) {
7670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7672 arg3
= static_cast< int >(val3
);
7674 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= SWIG_Py_Void();
7684 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
= 0;
7686 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7687 wxNativePixelData
*arg2
= 0 ;
7695 PyObject
* obj0
= 0 ;
7696 PyObject
* obj1
= 0 ;
7697 PyObject
* obj2
= 0 ;
7698 char * kwnames
[] = {
7699 (char *) "self",(char *) "data",(char *) "y", NULL
7702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7704 if (!SWIG_IsOK(res1
)) {
7705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7707 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7709 if (!SWIG_IsOK(res2
)) {
7710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7715 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7717 if (!SWIG_IsOK(ecode3
)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7720 arg3
= static_cast< int >(val3
);
7722 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7725 resultobj
= SWIG_Py_Void();
7732 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
= 0;
7734 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7735 wxNativePixelData
*arg2
= 0 ;
7746 PyObject
* obj0
= 0 ;
7747 PyObject
* obj1
= 0 ;
7748 PyObject
* obj2
= 0 ;
7749 PyObject
* obj3
= 0 ;
7750 char * kwnames
[] = {
7751 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7756 if (!SWIG_IsOK(res1
)) {
7757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7759 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7761 if (!SWIG_IsOK(res2
)) {
7762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7767 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7769 if (!SWIG_IsOK(ecode3
)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7772 arg3
= static_cast< int >(val3
);
7773 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7774 if (!SWIG_IsOK(ecode4
)) {
7775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7777 arg4
= static_cast< int >(val4
);
7779 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_Py_Void();
7789 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
= 0;
7791 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7797 unsigned char val2
;
7799 unsigned char val3
;
7801 unsigned char val4
;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7805 PyObject
* obj2
= 0 ;
7806 PyObject
* obj3
= 0 ;
7807 char * kwnames
[] = {
7808 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7813 if (!SWIG_IsOK(res1
)) {
7814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7816 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7817 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7818 if (!SWIG_IsOK(ecode2
)) {
7819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7821 arg2
= static_cast< byte
>(val2
);
7822 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7823 if (!SWIG_IsOK(ecode3
)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7826 arg3
= static_cast< byte
>(val3
);
7827 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7828 if (!SWIG_IsOK(ecode4
)) {
7829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7831 arg4
= static_cast< byte
>(val4
);
7833 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_Py_Void();
7843 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7844 PyObject
*resultobj
= 0;
7845 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7846 PyObject
*result
= 0 ;
7849 PyObject
*swig_obj
[1] ;
7851 if (!args
) SWIG_fail
;
7853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7854 if (!SWIG_IsOK(res1
)) {
7855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7857 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7859 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7869 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7872 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7873 return SWIG_Py_Void();
7876 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7877 return SWIG_Python_InitShadowInstance(args
);
7880 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7881 PyObject
*resultobj
= 0;
7882 wxBitmap
*arg1
= 0 ;
7883 wxAlphaPixelData
*result
= 0 ;
7887 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7889 if (!SWIG_IsOK(res1
)) {
7890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7895 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7897 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7907 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7908 PyObject
*resultobj
= 0;
7909 wxBitmap
*arg1
= 0 ;
7911 wxAlphaPixelData
*result
= 0 ;
7916 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7918 if (!SWIG_IsOK(res1
)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7924 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7927 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7930 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7940 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7941 PyObject
*resultobj
= 0;
7942 wxBitmap
*arg1
= 0 ;
7945 wxAlphaPixelData
*result
= 0 ;
7951 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7953 if (!SWIG_IsOK(res1
)) {
7954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7959 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7962 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7966 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7969 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7979 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7983 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7986 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7989 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7992 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7996 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8001 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8002 PyObject
*resultobj
= 0;
8003 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8006 PyObject
*swig_obj
[1] ;
8008 if (!args
) SWIG_fail
;
8010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8011 if (!SWIG_IsOK(res1
)) {
8012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8014 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_Py_Void();
8027 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8028 PyObject
*resultobj
= 0;
8029 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8030 wxAlphaPixelData_Accessor result
;
8033 PyObject
*swig_obj
[1] ;
8035 if (!args
) SWIG_fail
;
8037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8038 if (!SWIG_IsOK(res1
)) {
8039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8041 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8043 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8053 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8054 PyObject
*resultobj
= 0;
8055 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8058 PyObject
*swig_obj
[1] ;
8060 if (!args
) SWIG_fail
;
8062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8063 if (!SWIG_IsOK(res1
)) {
8064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8066 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= SWIG_Py_Void();
8078 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8079 PyObject
*resultobj
= 0;
8080 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8084 PyObject
*swig_obj
[1] ;
8086 if (!args
) SWIG_fail
;
8088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8089 if (!SWIG_IsOK(res1
)) {
8090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8092 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8094 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8106 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8109 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8110 return SWIG_Py_Void();
8113 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8114 return SWIG_Python_InitShadowInstance(args
);
8117 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8118 PyObject
*resultobj
= 0;
8119 wxAlphaPixelData
*arg1
= 0 ;
8120 wxAlphaPixelData_Accessor
*result
= 0 ;
8124 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8126 if (!SWIG_IsOK(res1
)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8132 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8134 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8144 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8145 PyObject
*resultobj
= 0;
8146 wxBitmap
*arg1
= 0 ;
8147 wxAlphaPixelData
*arg2
= 0 ;
8148 wxAlphaPixelData_Accessor
*result
= 0 ;
8154 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8156 if (!SWIG_IsOK(res1
)) {
8157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8162 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8163 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8164 if (!SWIG_IsOK(res2
)) {
8165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8170 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8172 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8182 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8183 PyObject
*resultobj
= 0;
8184 wxAlphaPixelData_Accessor
*result
= 0 ;
8186 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8188 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8198 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8202 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8205 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8208 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8211 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8215 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8220 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8221 PyObject
*resultobj
= 0;
8222 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8225 PyObject
*swig_obj
[1] ;
8227 if (!args
) SWIG_fail
;
8229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8230 if (!SWIG_IsOK(res1
)) {
8231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8233 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_Py_Void();
8246 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
= 0;
8248 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8249 wxAlphaPixelData
*arg2
= 0 ;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8256 char * kwnames
[] = {
8257 (char *) "self",(char *) "data", NULL
8260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8262 if (!SWIG_IsOK(res1
)) {
8263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8265 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8267 if (!SWIG_IsOK(res2
)) {
8268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8273 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8275 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SWIG_Py_Void();
8285 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8286 PyObject
*resultobj
= 0;
8287 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8291 PyObject
*swig_obj
[1] ;
8293 if (!args
) SWIG_fail
;
8295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8296 if (!SWIG_IsOK(res1
)) {
8297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8299 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8301 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8302 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8313 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8314 PyObject
*resultobj
= 0;
8315 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8318 PyObject
*swig_obj
[1] ;
8320 if (!args
) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8326 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8328 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= SWIG_Py_Void();
8338 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
= 0;
8340 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8341 wxAlphaPixelData
*arg2
= 0 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8354 PyObject
* obj2
= 0 ;
8355 PyObject
* obj3
= 0 ;
8356 char * kwnames
[] = {
8357 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8362 if (!SWIG_IsOK(res1
)) {
8363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8365 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8367 if (!SWIG_IsOK(res2
)) {
8368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8373 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8375 if (!SWIG_IsOK(ecode3
)) {
8376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8378 arg3
= static_cast< int >(val3
);
8379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8380 if (!SWIG_IsOK(ecode4
)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8383 arg4
= static_cast< int >(val4
);
8385 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_Py_Void();
8395 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
= 0;
8397 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8398 wxAlphaPixelData
*arg2
= 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8408 PyObject
* obj2
= 0 ;
8409 char * kwnames
[] = {
8410 (char *) "self",(char *) "data",(char *) "x", NULL
8413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8415 if (!SWIG_IsOK(res1
)) {
8416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8418 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8420 if (!SWIG_IsOK(res2
)) {
8421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8426 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8428 if (!SWIG_IsOK(ecode3
)) {
8429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8431 arg3
= static_cast< int >(val3
);
8433 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= SWIG_Py_Void();
8443 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
= 0;
8445 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8446 wxAlphaPixelData
*arg2
= 0 ;
8454 PyObject
* obj0
= 0 ;
8455 PyObject
* obj1
= 0 ;
8456 PyObject
* obj2
= 0 ;
8457 char * kwnames
[] = {
8458 (char *) "self",(char *) "data",(char *) "y", NULL
8461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8463 if (!SWIG_IsOK(res1
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8466 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8468 if (!SWIG_IsOK(res2
)) {
8469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8474 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8476 if (!SWIG_IsOK(ecode3
)) {
8477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8479 arg3
= static_cast< int >(val3
);
8481 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= SWIG_Py_Void();
8491 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
= 0;
8493 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8494 wxAlphaPixelData
*arg2
= 0 ;
8505 PyObject
* obj0
= 0 ;
8506 PyObject
* obj1
= 0 ;
8507 PyObject
* obj2
= 0 ;
8508 PyObject
* obj3
= 0 ;
8509 char * kwnames
[] = {
8510 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8515 if (!SWIG_IsOK(res1
)) {
8516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8518 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8519 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8520 if (!SWIG_IsOK(res2
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8526 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8528 if (!SWIG_IsOK(ecode3
)) {
8529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8531 arg3
= static_cast< int >(val3
);
8532 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8533 if (!SWIG_IsOK(ecode4
)) {
8534 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8536 arg4
= static_cast< int >(val4
);
8538 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_Py_Void();
8548 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
= 0;
8550 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8557 unsigned char val2
;
8559 unsigned char val3
;
8561 unsigned char val4
;
8563 unsigned char val5
;
8565 PyObject
* obj0
= 0 ;
8566 PyObject
* obj1
= 0 ;
8567 PyObject
* obj2
= 0 ;
8568 PyObject
* obj3
= 0 ;
8569 PyObject
* obj4
= 0 ;
8570 char * kwnames
[] = {
8571 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8576 if (!SWIG_IsOK(res1
)) {
8577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8579 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8580 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8581 if (!SWIG_IsOK(ecode2
)) {
8582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8584 arg2
= static_cast< byte
>(val2
);
8585 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8586 if (!SWIG_IsOK(ecode3
)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8589 arg3
= static_cast< byte
>(val3
);
8590 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8591 if (!SWIG_IsOK(ecode4
)) {
8592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8594 arg4
= static_cast< byte
>(val4
);
8595 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8596 if (!SWIG_IsOK(ecode5
)) {
8597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8599 arg5
= static_cast< byte
>(val5
);
8601 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_Py_Void();
8611 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8612 PyObject
*resultobj
= 0;
8613 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8614 PyObject
*result
= 0 ;
8617 PyObject
*swig_obj
[1] ;
8619 if (!args
) SWIG_fail
;
8621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8622 if (!SWIG_IsOK(res1
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8625 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8627 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8637 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8640 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8641 return SWIG_Py_Void();
8644 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8645 return SWIG_Python_InitShadowInstance(args
);
8648 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
= 0;
8650 wxBitmap
*arg1
= 0 ;
8651 wxColour
const &arg2_defvalue
= wxNullColour
;
8652 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8653 wxMask
*result
= 0 ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 char * kwnames
[] = {
8660 (char *) "bitmap",(char *) "colour", NULL
8663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8664 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8665 if (!SWIG_IsOK(res1
)) {
8666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8671 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8675 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8679 if (!wxPyCheckForApp()) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8692 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8693 PyObject
*resultobj
= 0;
8694 wxMask
*arg1
= (wxMask
*) 0 ;
8697 PyObject
*swig_obj
[1] ;
8699 if (!args
) SWIG_fail
;
8701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8702 if (!SWIG_IsOK(res1
)) {
8703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8705 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_Py_Void();
8718 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8721 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8722 return SWIG_Py_Void();
8725 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8726 return SWIG_Python_InitShadowInstance(args
);
8729 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
= 0;
8731 wxString
*arg1
= 0 ;
8733 int arg3
= (int) -1 ;
8734 int arg4
= (int) -1 ;
8735 wxIcon
*result
= 0 ;
8736 bool temp1
= false ;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8745 PyObject
* obj2
= 0 ;
8746 PyObject
* obj3
= 0 ;
8747 char * kwnames
[] = {
8748 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8753 arg1
= wxString_in_helper(obj0
);
8754 if (arg1
== NULL
) SWIG_fail
;
8757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8758 if (!SWIG_IsOK(ecode2
)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8761 arg2
= static_cast< wxBitmapType
>(val2
);
8763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8764 if (!SWIG_IsOK(ecode3
)) {
8765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8767 arg3
= static_cast< int >(val3
);
8770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8771 if (!SWIG_IsOK(ecode4
)) {
8772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8774 arg4
= static_cast< int >(val4
);
8777 if (!wxPyCheckForApp()) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8798 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8799 PyObject
*resultobj
= 0;
8800 wxIcon
*arg1
= (wxIcon
*) 0 ;
8803 PyObject
*swig_obj
[1] ;
8805 if (!args
) SWIG_fail
;
8807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8808 if (!SWIG_IsOK(res1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8811 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= SWIG_Py_Void();
8826 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8827 PyObject
*resultobj
= 0;
8828 wxIcon
*result
= 0 ;
8830 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8832 if (!wxPyCheckForApp()) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 result
= (wxIcon
*)new wxIcon();
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8845 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
= 0;
8847 wxIconLocation
*arg1
= 0 ;
8848 wxIcon
*result
= 0 ;
8851 PyObject
* obj0
= 0 ;
8852 char * kwnames
[] = {
8853 (char *) "loc", NULL
8856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8857 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8858 if (!SWIG_IsOK(res1
)) {
8859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8864 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8866 if (!wxPyCheckForApp()) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8879 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
= 0;
8881 wxBitmap
*arg1
= 0 ;
8882 wxIcon
*result
= 0 ;
8885 PyObject
* obj0
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "bmp", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8898 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8900 if (!wxPyCheckForApp()) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8913 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
= 0;
8915 PyObject
*arg1
= (PyObject
*) 0 ;
8916 wxIcon
*result
= 0 ;
8917 PyObject
* obj0
= 0 ;
8918 char * kwnames
[] = {
8919 (char *) "listOfStrings", NULL
8922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8925 if (!wxPyCheckForApp()) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (wxIcon
*)new_wxIcon(arg1
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8938 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8939 PyObject
*resultobj
= 0;
8940 wxIcon
*arg1
= (wxIcon
*) 0 ;
8944 PyObject
*swig_obj
[1] ;
8946 if (!args
) SWIG_fail
;
8948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8949 if (!SWIG_IsOK(res1
)) {
8950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
8952 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (bool)(arg1
)->IsOk();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8968 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8969 PyObject
*resultobj
= 0;
8970 wxIcon
*arg1
= (wxIcon
*) 0 ;
8974 PyObject
*swig_obj
[1] ;
8976 if (!args
) SWIG_fail
;
8978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8979 if (!SWIG_IsOK(res1
)) {
8980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8982 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= (int)(arg1
)->GetWidth();
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= SWIG_From_int(static_cast< int >(result
));
8996 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8997 PyObject
*resultobj
= 0;
8998 wxIcon
*arg1
= (wxIcon
*) 0 ;
9002 PyObject
*swig_obj
[1] ;
9004 if (!args
) SWIG_fail
;
9006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9007 if (!SWIG_IsOK(res1
)) {
9008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9010 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 result
= (int)(arg1
)->GetHeight();
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= SWIG_From_int(static_cast< int >(result
));
9024 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9025 PyObject
*resultobj
= 0;
9026 wxIcon
*arg1
= (wxIcon
*) 0 ;
9030 PyObject
*swig_obj
[1] ;
9032 if (!args
) SWIG_fail
;
9034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9035 if (!SWIG_IsOK(res1
)) {
9036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9038 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (int)(arg1
)->GetDepth();
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= SWIG_From_int(static_cast< int >(result
));
9052 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
= 0;
9054 wxIcon
*arg1
= (wxIcon
*) 0 ;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9062 char * kwnames
[] = {
9063 (char *) "self",(char *) "w", NULL
9066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9068 if (!SWIG_IsOK(res1
)) {
9069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9071 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9073 if (!SWIG_IsOK(ecode2
)) {
9074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9076 arg2
= static_cast< int >(val2
);
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 (arg1
)->SetWidth(arg2
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_Py_Void();
9090 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
= 0;
9092 wxIcon
*arg1
= (wxIcon
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9100 char * kwnames
[] = {
9101 (char *) "self",(char *) "h", NULL
9104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9106 if (!SWIG_IsOK(res1
)) {
9107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9109 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9111 if (!SWIG_IsOK(ecode2
)) {
9112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9114 arg2
= static_cast< int >(val2
);
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 (arg1
)->SetHeight(arg2
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= SWIG_Py_Void();
9128 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
= 0;
9130 wxIcon
*arg1
= (wxIcon
*) 0 ;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9138 char * kwnames
[] = {
9139 (char *) "self",(char *) "d", NULL
9142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9144 if (!SWIG_IsOK(res1
)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9147 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9149 if (!SWIG_IsOK(ecode2
)) {
9150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9152 arg2
= static_cast< int >(val2
);
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 (arg1
)->SetDepth(arg2
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_Py_Void();
9166 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
= 0;
9168 wxIcon
*arg1
= (wxIcon
*) 0 ;
9169 wxBitmap
*arg2
= 0 ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9176 char * kwnames
[] = {
9177 (char *) "self",(char *) "bmp", NULL
9180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9182 if (!SWIG_IsOK(res1
)) {
9183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9185 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9187 if (!SWIG_IsOK(res2
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9193 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_Py_Void();
9207 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9210 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9211 return SWIG_Py_Void();
9214 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9215 return SWIG_Python_InitShadowInstance(args
);
9218 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
= 0;
9220 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9221 int arg2
= (int) 0 ;
9222 wxIconLocation
*result
= 0 ;
9223 bool temp1
= false ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 char * kwnames
[] = {
9229 (char *) "filename",(char *) "num", NULL
9232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9235 arg1
= wxString_in_helper(obj0
);
9236 if (arg1
== NULL
) SWIG_fail
;
9241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9242 if (!SWIG_IsOK(ecode2
)) {
9243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9245 arg2
= static_cast< int >(val2
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9268 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9269 PyObject
*resultobj
= 0;
9270 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9273 PyObject
*swig_obj
[1] ;
9275 if (!args
) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9281 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_Py_Void();
9296 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9297 PyObject
*resultobj
= 0;
9298 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9302 PyObject
*swig_obj
[1] ;
9304 if (!args
) SWIG_fail
;
9306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9307 if (!SWIG_IsOK(res1
)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9310 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9326 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
= 0;
9328 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9329 wxString
*arg2
= 0 ;
9332 bool temp2
= false ;
9333 PyObject
* obj0
= 0 ;
9334 PyObject
* obj1
= 0 ;
9335 char * kwnames
[] = {
9336 (char *) "self",(char *) "filename", NULL
9339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9341 if (!SWIG_IsOK(res1
)) {
9342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9344 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9346 arg2
= wxString_in_helper(obj1
);
9347 if (arg2
== NULL
) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 (arg1
)->SetFileName((wxString
const &)*arg2
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= SWIG_Py_Void();
9371 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9372 PyObject
*resultobj
= 0;
9373 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9374 wxString
*result
= 0 ;
9377 PyObject
*swig_obj
[1] ;
9379 if (!args
) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9385 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9390 result
= (wxString
*) &_result_ref
;
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9399 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9408 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
= 0;
9410 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9416 PyObject
* obj0
= 0 ;
9417 PyObject
* obj1
= 0 ;
9418 char * kwnames
[] = {
9419 (char *) "self",(char *) "num", NULL
9422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9424 if (!SWIG_IsOK(res1
)) {
9425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9427 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9429 if (!SWIG_IsOK(ecode2
)) {
9430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9432 arg2
= static_cast< int >(val2
);
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 wxIconLocation_SetIndex(arg1
,arg2
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_Py_Void();
9446 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9447 PyObject
*resultobj
= 0;
9448 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9452 PyObject
*swig_obj
[1] ;
9454 if (!args
) SWIG_fail
;
9456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9457 if (!SWIG_IsOK(res1
)) {
9458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9460 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (int)wxIconLocation_GetIndex(arg1
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_From_int(static_cast< int >(result
));
9474 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9477 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9478 return SWIG_Py_Void();
9481 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9482 return SWIG_Python_InitShadowInstance(args
);
9485 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9486 PyObject
*resultobj
= 0;
9487 wxIconBundle
*result
= 0 ;
9489 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (wxIconBundle
*)new wxIconBundle();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9503 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
= 0;
9505 wxString
*arg1
= 0 ;
9507 wxIconBundle
*result
= 0 ;
9508 bool temp1
= false ;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9513 char * kwnames
[] = {
9514 (char *) "file",(char *) "type", NULL
9517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9519 arg1
= wxString_in_helper(obj0
);
9520 if (arg1
== NULL
) SWIG_fail
;
9523 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9524 if (!SWIG_IsOK(ecode2
)) {
9525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9527 arg2
= static_cast< long >(val2
);
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9549 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
= 0;
9552 wxIconBundle
*result
= 0 ;
9555 PyObject
* obj0
= 0 ;
9556 char * kwnames
[] = {
9557 (char *) "icon", NULL
9560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9561 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9562 if (!SWIG_IsOK(res1
)) {
9563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9568 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9582 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9583 PyObject
*resultobj
= 0;
9584 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9587 PyObject
*swig_obj
[1] ;
9589 if (!args
) SWIG_fail
;
9591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9592 if (!SWIG_IsOK(res1
)) {
9593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9595 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_Py_Void();
9610 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
= 0;
9612 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9618 PyObject
* obj0
= 0 ;
9619 PyObject
* obj1
= 0 ;
9620 char * kwnames
[] = {
9621 (char *) "self",(char *) "icon", NULL
9624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9626 if (!SWIG_IsOK(res1
)) {
9627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9629 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9631 if (!SWIG_IsOK(res2
)) {
9632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9637 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= SWIG_Py_Void();
9651 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
= 0;
9653 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9654 wxString
*arg2
= 0 ;
9658 bool temp2
= false ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9663 PyObject
* obj2
= 0 ;
9664 char * kwnames
[] = {
9665 (char *) "self",(char *) "file",(char *) "type", NULL
9668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9670 if (!SWIG_IsOK(res1
)) {
9671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9673 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9675 arg2
= wxString_in_helper(obj1
);
9676 if (arg2
== NULL
) SWIG_fail
;
9679 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9680 if (!SWIG_IsOK(ecode3
)) {
9681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9683 arg3
= static_cast< long >(val3
);
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= SWIG_Py_Void();
9705 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= 0;
9707 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9709 wxIcon
*result
= 0 ;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9715 char * kwnames
[] = {
9716 (char *) "self",(char *) "size", NULL
9719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9721 if (!SWIG_IsOK(res1
)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9724 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9727 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9733 result
= (wxIcon
*) &_result_ref
;
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9739 wxIcon
* resultptr
= new wxIcon(*result
);
9740 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9748 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9751 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9752 return SWIG_Py_Void();
9755 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9756 return SWIG_Python_InitShadowInstance(args
);
9759 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
= 0;
9761 wxString
*arg1
= 0 ;
9763 int arg3
= (int) 0 ;
9764 int arg4
= (int) 0 ;
9765 wxCursor
*result
= 0 ;
9766 bool temp1
= false ;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9775 PyObject
* obj2
= 0 ;
9776 PyObject
* obj3
= 0 ;
9777 char * kwnames
[] = {
9778 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9783 arg1
= wxString_in_helper(obj0
);
9784 if (arg1
== NULL
) SWIG_fail
;
9787 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9788 if (!SWIG_IsOK(ecode2
)) {
9789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9791 arg2
= static_cast< long >(val2
);
9793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9794 if (!SWIG_IsOK(ecode3
)) {
9795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9797 arg3
= static_cast< int >(val3
);
9800 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9801 if (!SWIG_IsOK(ecode4
)) {
9802 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9804 arg4
= static_cast< int >(val4
);
9807 if (!wxPyCheckForApp()) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9828 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9829 PyObject
*resultobj
= 0;
9830 wxCursor
*arg1
= (wxCursor
*) 0 ;
9833 PyObject
*swig_obj
[1] ;
9835 if (!args
) SWIG_fail
;
9837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9838 if (!SWIG_IsOK(res1
)) {
9839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9841 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= SWIG_Py_Void();
9856 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
= 0;
9859 wxCursor
*result
= 0 ;
9862 PyObject
* obj0
= 0 ;
9863 char * kwnames
[] = {
9867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9868 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9869 if (!SWIG_IsOK(ecode1
)) {
9870 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9872 arg1
= static_cast< int >(val1
);
9874 if (!wxPyCheckForApp()) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= (wxCursor
*)new wxCursor(arg1
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9887 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9890 wxCursor
*result
= 0 ;
9893 PyObject
* obj0
= 0 ;
9894 char * kwnames
[] = {
9895 (char *) "image", NULL
9898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9899 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9900 if (!SWIG_IsOK(res1
)) {
9901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9906 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9908 if (!wxPyCheckForApp()) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9921 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9922 PyObject
*resultobj
= 0;
9923 wxCursor
*arg1
= (wxCursor
*) 0 ;
9927 PyObject
*swig_obj
[1] ;
9929 if (!args
) SWIG_fail
;
9931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9932 if (!SWIG_IsOK(res1
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
9935 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (bool)(arg1
)->IsOk();
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9951 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9954 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9955 return SWIG_Py_Void();
9958 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9959 return SWIG_Python_InitShadowInstance(args
);
9962 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
= 0;
9964 int arg1
= (int) 0 ;
9965 int arg2
= (int) 0 ;
9966 int arg3
= (int) 0 ;
9967 int arg4
= (int) 0 ;
9968 wxRegion
*result
= 0 ;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9979 PyObject
* obj2
= 0 ;
9980 PyObject
* obj3
= 0 ;
9981 char * kwnames
[] = {
9982 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9987 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9988 if (!SWIG_IsOK(ecode1
)) {
9989 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9991 arg1
= static_cast< int >(val1
);
9994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9995 if (!SWIG_IsOK(ecode2
)) {
9996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9998 arg2
= static_cast< int >(val2
);
10001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10002 if (!SWIG_IsOK(ecode3
)) {
10003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10005 arg3
= static_cast< int >(val3
);
10008 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10009 if (!SWIG_IsOK(ecode4
)) {
10010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10012 arg4
= static_cast< int >(val4
);
10015 if (!wxPyCheckForApp()) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10028 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= 0;
10030 wxBitmap
*arg1
= 0 ;
10031 wxRegion
*result
= 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char * kwnames
[] = {
10036 (char *) "bmp", NULL
10039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10040 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10041 if (!SWIG_IsOK(res1
)) {
10042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10047 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10049 if (!wxPyCheckForApp()) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10062 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
= 0;
10064 wxBitmap
*arg1
= 0 ;
10065 wxColour
*arg2
= 0 ;
10066 int arg3
= (int) 0 ;
10067 wxRegion
*result
= 0 ;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 PyObject
* obj2
= 0 ;
10076 char * kwnames
[] = {
10077 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10081 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10082 if (!SWIG_IsOK(res1
)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10088 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10091 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10095 if (!SWIG_IsOK(ecode3
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10098 arg3
= static_cast< int >(val3
);
10101 if (!wxPyCheckForApp()) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10114 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
= 0;
10117 wxPoint
*arg2
= (wxPoint
*) 0 ;
10118 int arg3
= (int) wxWINDING_RULE
;
10119 wxRegion
*result
= 0 ;
10122 PyObject
* obj0
= 0 ;
10123 PyObject
* obj1
= 0 ;
10124 char * kwnames
[] = {
10125 (char *) "points",(char *) "fillStyle", NULL
10128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10130 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10131 if (arg2
== NULL
) SWIG_fail
;
10134 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10135 if (!SWIG_IsOK(ecode3
)) {
10136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10138 arg3
= static_cast< int >(val3
);
10141 if (!wxPyCheckForApp()) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10149 if (arg2
) delete [] arg2
;
10154 if (arg2
) delete [] arg2
;
10160 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10161 PyObject
*resultobj
= 0;
10162 wxRegion
*arg1
= (wxRegion
*) 0 ;
10165 PyObject
*swig_obj
[1] ;
10167 if (!args
) SWIG_fail
;
10168 swig_obj
[0] = args
;
10169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10170 if (!SWIG_IsOK(res1
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10173 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_Py_Void();
10188 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10189 PyObject
*resultobj
= 0;
10190 wxRegion
*arg1
= (wxRegion
*) 0 ;
10193 PyObject
*swig_obj
[1] ;
10195 if (!args
) SWIG_fail
;
10196 swig_obj
[0] = args
;
10197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10201 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_Py_Void();
10215 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
= 0;
10217 wxRegion
*arg1
= (wxRegion
*) 0 ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 PyObject
* obj2
= 0 ;
10230 char * kwnames
[] = {
10231 (char *) "self",(char *) "x",(char *) "y", NULL
10234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10236 if (!SWIG_IsOK(res1
)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10239 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10241 if (!SWIG_IsOK(ecode2
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10244 arg2
= static_cast< int >(val2
);
10245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10246 if (!SWIG_IsOK(ecode3
)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10249 arg3
= static_cast< int >(val3
);
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10265 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
= 0;
10267 wxRegion
*arg1
= (wxRegion
*) 0 ;
10270 wxRegionContain result
;
10277 PyObject
* obj0
= 0 ;
10278 PyObject
* obj1
= 0 ;
10279 PyObject
* obj2
= 0 ;
10280 char * kwnames
[] = {
10281 (char *) "self",(char *) "x",(char *) "y", NULL
10284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10286 if (!SWIG_IsOK(res1
)) {
10287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10289 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10291 if (!SWIG_IsOK(ecode2
)) {
10292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10294 arg2
= static_cast< int >(val2
);
10295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10296 if (!SWIG_IsOK(ecode3
)) {
10297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10299 arg3
= static_cast< int >(val3
);
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_From_int(static_cast< int >(result
));
10313 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
= 0;
10315 wxRegion
*arg1
= (wxRegion
*) 0 ;
10316 wxPoint
*arg2
= 0 ;
10317 wxRegionContain result
;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 char * kwnames
[] = {
10324 (char *) "self",(char *) "pt", NULL
10327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10329 if (!SWIG_IsOK(res1
)) {
10330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10332 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_From_int(static_cast< int >(result
));
10350 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
= 0;
10352 wxRegion
*arg1
= (wxRegion
*) 0 ;
10354 wxRegionContain result
;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char * kwnames
[] = {
10361 (char *) "self",(char *) "rect", NULL
10364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10366 if (!SWIG_IsOK(res1
)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10369 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10372 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= SWIG_From_int(static_cast< int >(result
));
10387 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
= 0;
10389 wxRegion
*arg1
= (wxRegion
*) 0 ;
10394 wxRegionContain result
;
10405 PyObject
* obj0
= 0 ;
10406 PyObject
* obj1
= 0 ;
10407 PyObject
* obj2
= 0 ;
10408 PyObject
* obj3
= 0 ;
10409 PyObject
* obj4
= 0 ;
10410 char * kwnames
[] = {
10411 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10416 if (!SWIG_IsOK(res1
)) {
10417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10419 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10421 if (!SWIG_IsOK(ecode2
)) {
10422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10424 arg2
= static_cast< int >(val2
);
10425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10426 if (!SWIG_IsOK(ecode3
)) {
10427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10429 arg3
= static_cast< int >(val3
);
10430 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10431 if (!SWIG_IsOK(ecode4
)) {
10432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10434 arg4
= static_cast< int >(val4
);
10435 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10436 if (!SWIG_IsOK(ecode5
)) {
10437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10439 arg5
= static_cast< int >(val5
);
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_From_int(static_cast< int >(result
));
10453 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10454 PyObject
*resultobj
= 0;
10455 wxRegion
*arg1
= (wxRegion
*) 0 ;
10459 PyObject
*swig_obj
[1] ;
10461 if (!args
) SWIG_fail
;
10462 swig_obj
[0] = args
;
10463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10464 if (!SWIG_IsOK(res1
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10467 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 result
= (arg1
)->GetBox();
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10481 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
= 0;
10483 wxRegion
*arg1
= (wxRegion
*) 0 ;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 PyObject
* obj2
= 0 ;
10502 PyObject
* obj3
= 0 ;
10503 PyObject
* obj4
= 0 ;
10504 char * kwnames
[] = {
10505 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10510 if (!SWIG_IsOK(res1
)) {
10511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10513 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10515 if (!SWIG_IsOK(ecode2
)) {
10516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10518 arg2
= static_cast< int >(val2
);
10519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10520 if (!SWIG_IsOK(ecode3
)) {
10521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10523 arg3
= static_cast< int >(val3
);
10524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10525 if (!SWIG_IsOK(ecode4
)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10528 arg4
= static_cast< int >(val4
);
10529 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10530 if (!SWIG_IsOK(ecode5
)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10533 arg5
= static_cast< int >(val5
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10549 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
= 0;
10551 wxRegion
*arg1
= (wxRegion
*) 0 ;
10557 PyObject
* obj0
= 0 ;
10558 PyObject
* obj1
= 0 ;
10559 char * kwnames
[] = {
10560 (char *) "self",(char *) "rect", NULL
10563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10565 if (!SWIG_IsOK(res1
)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10568 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10571 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10588 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxRegion
*arg1
= (wxRegion
*) 0 ;
10591 wxRegion
*arg2
= 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 char * kwnames
[] = {
10600 (char *) "self",(char *) "region", NULL
10603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10605 if (!SWIG_IsOK(res1
)) {
10606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10608 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10610 if (!SWIG_IsOK(res2
)) {
10611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10616 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10632 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10633 PyObject
*resultobj
= 0;
10634 wxRegion
*arg1
= (wxRegion
*) 0 ;
10638 PyObject
*swig_obj
[1] ;
10640 if (!args
) SWIG_fail
;
10641 swig_obj
[0] = args
;
10642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10646 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (bool)(arg1
)->IsEmpty();
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10662 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
= 0;
10664 wxRegion
*arg1
= (wxRegion
*) 0 ;
10665 wxRegion
*arg2
= 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char * kwnames
[] = {
10674 (char *) "self",(char *) "region", NULL
10677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10679 if (!SWIG_IsOK(res1
)) {
10680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10682 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10684 if (!SWIG_IsOK(res2
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10690 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10706 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
= 0;
10708 wxRegion
*arg1
= (wxRegion
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 PyObject
* obj3
= 0 ;
10728 PyObject
* obj4
= 0 ;
10729 char * kwnames
[] = {
10730 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10738 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10740 if (!SWIG_IsOK(ecode2
)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10743 arg2
= static_cast< int >(val2
);
10744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10745 if (!SWIG_IsOK(ecode3
)) {
10746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10748 arg3
= static_cast< int >(val3
);
10749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10750 if (!SWIG_IsOK(ecode4
)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10753 arg4
= static_cast< int >(val4
);
10754 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10755 if (!SWIG_IsOK(ecode5
)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10758 arg5
= static_cast< int >(val5
);
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10774 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
= 0;
10776 wxRegion
*arg1
= (wxRegion
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 PyObject
* obj1
= 0 ;
10784 char * kwnames
[] = {
10785 (char *) "self",(char *) "rect", NULL
10788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10790 if (!SWIG_IsOK(res1
)) {
10791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10793 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10796 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10813 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
= 0;
10815 wxRegion
*arg1
= (wxRegion
*) 0 ;
10816 wxRegion
*arg2
= 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char * kwnames
[] = {
10825 (char *) "self",(char *) "region", NULL
10828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10830 if (!SWIG_IsOK(res1
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10833 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10835 if (!SWIG_IsOK(res2
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10841 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10857 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
= 0;
10859 wxRegion
*arg1
= (wxRegion
*) 0 ;
10875 PyObject
* obj0
= 0 ;
10876 PyObject
* obj1
= 0 ;
10877 PyObject
* obj2
= 0 ;
10878 PyObject
* obj3
= 0 ;
10879 PyObject
* obj4
= 0 ;
10880 char * kwnames
[] = {
10881 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10886 if (!SWIG_IsOK(res1
)) {
10887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10889 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10891 if (!SWIG_IsOK(ecode2
)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10894 arg2
= static_cast< int >(val2
);
10895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10896 if (!SWIG_IsOK(ecode3
)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10899 arg3
= static_cast< int >(val3
);
10900 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10901 if (!SWIG_IsOK(ecode4
)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10904 arg4
= static_cast< int >(val4
);
10905 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10906 if (!SWIG_IsOK(ecode5
)) {
10907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10909 arg5
= static_cast< int >(val5
);
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10925 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
= 0;
10927 wxRegion
*arg1
= (wxRegion
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 char * kwnames
[] = {
10936 (char *) "self",(char *) "rect", NULL
10939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10941 if (!SWIG_IsOK(res1
)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10944 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10947 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10964 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
= 0;
10966 wxRegion
*arg1
= (wxRegion
*) 0 ;
10967 wxRegion
*arg2
= 0 ;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 char * kwnames
[] = {
10976 (char *) "self",(char *) "region", NULL
10979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10981 if (!SWIG_IsOK(res1
)) {
10982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10984 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10986 if (!SWIG_IsOK(res2
)) {
10987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10992 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11008 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
= 0;
11010 wxRegion
*arg1
= (wxRegion
*) 0 ;
11026 PyObject
* obj0
= 0 ;
11027 PyObject
* obj1
= 0 ;
11028 PyObject
* obj2
= 0 ;
11029 PyObject
* obj3
= 0 ;
11030 PyObject
* obj4
= 0 ;
11031 char * kwnames
[] = {
11032 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11037 if (!SWIG_IsOK(res1
)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11040 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11042 if (!SWIG_IsOK(ecode2
)) {
11043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11045 arg2
= static_cast< int >(val2
);
11046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11047 if (!SWIG_IsOK(ecode3
)) {
11048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11050 arg3
= static_cast< int >(val3
);
11051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11052 if (!SWIG_IsOK(ecode4
)) {
11053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11055 arg4
= static_cast< int >(val4
);
11056 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11057 if (!SWIG_IsOK(ecode5
)) {
11058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11060 arg5
= static_cast< int >(val5
);
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11076 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
= 0;
11078 wxRegion
*arg1
= (wxRegion
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 char * kwnames
[] = {
11087 (char *) "self",(char *) "rect", NULL
11090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11092 if (!SWIG_IsOK(res1
)) {
11093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11095 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11098 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11115 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
= 0;
11117 wxRegion
*arg1
= (wxRegion
*) 0 ;
11118 wxRegion
*arg2
= 0 ;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 char * kwnames
[] = {
11127 (char *) "self",(char *) "region", NULL
11130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11132 if (!SWIG_IsOK(res1
)) {
11133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11135 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11137 if (!SWIG_IsOK(res2
)) {
11138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11143 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11159 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11160 PyObject
*resultobj
= 0;
11161 wxRegion
*arg1
= (wxRegion
*) 0 ;
11162 SwigValueWrapper
<wxBitmap
> result
;
11165 PyObject
*swig_obj
[1] ;
11167 if (!args
) SWIG_fail
;
11168 swig_obj
[0] = args
;
11169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11170 if (!SWIG_IsOK(res1
)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11173 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (arg1
)->ConvertToBitmap();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11187 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
= 0;
11189 wxRegion
*arg1
= (wxRegion
*) 0 ;
11190 wxBitmap
*arg2
= 0 ;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char * kwnames
[] = {
11199 (char *) "self",(char *) "bmp", NULL
11202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11207 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11209 if (!SWIG_IsOK(res2
)) {
11210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11215 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11231 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
= 0;
11233 wxRegion
*arg1
= (wxRegion
*) 0 ;
11234 wxBitmap
*arg2
= 0 ;
11235 wxColour
*arg3
= 0 ;
11236 int arg4
= (int) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 PyObject
* obj3
= 0 ;
11249 char * kwnames
[] = {
11250 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11258 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11260 if (!SWIG_IsOK(res2
)) {
11261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11266 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11269 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11273 if (!SWIG_IsOK(ecode4
)) {
11274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11276 arg4
= static_cast< int >(val4
);
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11293 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11296 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11297 return SWIG_Py_Void();
11300 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11301 return SWIG_Python_InitShadowInstance(args
);
11304 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
= 0;
11306 wxRegion
*arg1
= 0 ;
11307 wxRegionIterator
*result
= 0 ;
11310 PyObject
* obj0
= 0 ;
11311 char * kwnames
[] = {
11312 (char *) "region", NULL
11315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11316 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11317 if (!SWIG_IsOK(res1
)) {
11318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11323 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11325 if (!wxPyCheckForApp()) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11338 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11339 PyObject
*resultobj
= 0;
11340 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11343 PyObject
*swig_obj
[1] ;
11345 if (!args
) SWIG_fail
;
11346 swig_obj
[0] = args
;
11347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11348 if (!SWIG_IsOK(res1
)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11351 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= SWIG_Py_Void();
11366 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11367 PyObject
*resultobj
= 0;
11368 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11372 PyObject
*swig_obj
[1] ;
11374 if (!args
) SWIG_fail
;
11375 swig_obj
[0] = args
;
11376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11377 if (!SWIG_IsOK(res1
)) {
11378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11380 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 result
= (int)(arg1
)->GetX();
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= SWIG_From_int(static_cast< int >(result
));
11394 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11395 PyObject
*resultobj
= 0;
11396 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11400 PyObject
*swig_obj
[1] ;
11402 if (!args
) SWIG_fail
;
11403 swig_obj
[0] = args
;
11404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11405 if (!SWIG_IsOK(res1
)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11408 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (int)(arg1
)->GetY();
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_From_int(static_cast< int >(result
));
11422 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11423 PyObject
*resultobj
= 0;
11424 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11428 PyObject
*swig_obj
[1] ;
11430 if (!args
) SWIG_fail
;
11431 swig_obj
[0] = args
;
11432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11433 if (!SWIG_IsOK(res1
)) {
11434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11436 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (int)(arg1
)->GetW();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= SWIG_From_int(static_cast< int >(result
));
11450 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11451 PyObject
*resultobj
= 0;
11452 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11456 PyObject
*swig_obj
[1] ;
11458 if (!args
) SWIG_fail
;
11459 swig_obj
[0] = args
;
11460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11461 if (!SWIG_IsOK(res1
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11464 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (int)(arg1
)->GetWidth();
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= SWIG_From_int(static_cast< int >(result
));
11478 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11479 PyObject
*resultobj
= 0;
11480 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11484 PyObject
*swig_obj
[1] ;
11486 if (!args
) SWIG_fail
;
11487 swig_obj
[0] = args
;
11488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11492 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (int)(arg1
)->GetH();
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_From_int(static_cast< int >(result
));
11506 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11507 PyObject
*resultobj
= 0;
11508 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11512 PyObject
*swig_obj
[1] ;
11514 if (!args
) SWIG_fail
;
11515 swig_obj
[0] = args
;
11516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11517 if (!SWIG_IsOK(res1
)) {
11518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11520 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (int)(arg1
)->GetHeight();
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= SWIG_From_int(static_cast< int >(result
));
11534 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11535 PyObject
*resultobj
= 0;
11536 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11540 PyObject
*swig_obj
[1] ;
11542 if (!args
) SWIG_fail
;
11543 swig_obj
[0] = args
;
11544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11545 if (!SWIG_IsOK(res1
)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11548 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (arg1
)->GetRect();
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11562 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11563 PyObject
*resultobj
= 0;
11564 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11568 PyObject
*swig_obj
[1] ;
11570 if (!args
) SWIG_fail
;
11571 swig_obj
[0] = args
;
11572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11573 if (!SWIG_IsOK(res1
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11576 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (bool)(arg1
)->HaveRects();
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11592 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11593 PyObject
*resultobj
= 0;
11594 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11597 PyObject
*swig_obj
[1] ;
11599 if (!args
) SWIG_fail
;
11600 swig_obj
[0] = args
;
11601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11602 if (!SWIG_IsOK(res1
)) {
11603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11605 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11612 resultobj
= SWIG_Py_Void();
11619 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11620 PyObject
*resultobj
= 0;
11621 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11624 PyObject
*swig_obj
[1] ;
11626 if (!args
) SWIG_fail
;
11627 swig_obj
[0] = args
;
11628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11629 if (!SWIG_IsOK(res1
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11632 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 wxRegionIterator_Next(arg1
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_Py_Void();
11646 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11647 PyObject
*resultobj
= 0;
11648 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11652 PyObject
*swig_obj
[1] ;
11654 if (!args
) SWIG_fail
;
11655 swig_obj
[0] = args
;
11656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11657 if (!SWIG_IsOK(res1
)) {
11658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11660 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11676 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11679 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11680 return SWIG_Py_Void();
11683 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 return SWIG_Python_InitShadowInstance(args
);
11687 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11688 PyObject
*resultobj
= 0;
11689 wxNativeFontInfo
*result
= 0 ;
11691 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11705 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11706 PyObject
*resultobj
= 0;
11707 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11710 PyObject
*swig_obj
[1] ;
11712 if (!args
) SWIG_fail
;
11713 swig_obj
[0] = args
;
11714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11715 if (!SWIG_IsOK(res1
)) {
11716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11718 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_Py_Void();
11733 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11734 PyObject
*resultobj
= 0;
11735 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11738 PyObject
*swig_obj
[1] ;
11740 if (!args
) SWIG_fail
;
11741 swig_obj
[0] = args
;
11742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11743 if (!SWIG_IsOK(res1
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11746 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= SWIG_Py_Void();
11760 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
= 0;
11762 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 char * kwnames
[] = {
11771 (char *) "self",(char *) "font", NULL
11774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11776 if (!SWIG_IsOK(res1
)) {
11777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11779 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11781 if (!SWIG_IsOK(res2
)) {
11782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11787 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= SWIG_Py_Void();
11801 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11802 PyObject
*resultobj
= 0;
11803 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11807 PyObject
*swig_obj
[1] ;
11809 if (!args
) SWIG_fail
;
11810 swig_obj
[0] = args
;
11811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11812 if (!SWIG_IsOK(res1
)) {
11813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11815 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= SWIG_From_int(static_cast< int >(result
));
11829 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11830 PyObject
*resultobj
= 0;
11831 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11832 wxFontStyle result
;
11835 PyObject
*swig_obj
[1] ;
11837 if (!args
) SWIG_fail
;
11838 swig_obj
[0] = args
;
11839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11843 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_From_int(static_cast< int >(result
));
11857 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11858 PyObject
*resultobj
= 0;
11859 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11860 wxFontWeight result
;
11863 PyObject
*swig_obj
[1] ;
11865 if (!args
) SWIG_fail
;
11866 swig_obj
[0] = args
;
11867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11868 if (!SWIG_IsOK(res1
)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11871 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= SWIG_From_int(static_cast< int >(result
));
11885 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11886 PyObject
*resultobj
= 0;
11887 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11891 PyObject
*swig_obj
[1] ;
11893 if (!args
) SWIG_fail
;
11894 swig_obj
[0] = args
;
11895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11896 if (!SWIG_IsOK(res1
)) {
11897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11899 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11915 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11916 PyObject
*resultobj
= 0;
11917 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11921 PyObject
*swig_obj
[1] ;
11923 if (!args
) SWIG_fail
;
11924 swig_obj
[0] = args
;
11925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11926 if (!SWIG_IsOK(res1
)) {
11927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11929 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11949 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11950 PyObject
*resultobj
= 0;
11951 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11952 wxFontFamily result
;
11955 PyObject
*swig_obj
[1] ;
11957 if (!args
) SWIG_fail
;
11958 swig_obj
[0] = args
;
11959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11960 if (!SWIG_IsOK(res1
)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11963 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_From_int(static_cast< int >(result
));
11977 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11978 PyObject
*resultobj
= 0;
11979 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11980 wxFontEncoding result
;
11983 PyObject
*swig_obj
[1] ;
11985 if (!args
) SWIG_fail
;
11986 swig_obj
[0] = args
;
11987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11988 if (!SWIG_IsOK(res1
)) {
11989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11991 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= SWIG_From_int(static_cast< int >(result
));
12005 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
= 0;
12007 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12013 PyObject
* obj0
= 0 ;
12014 PyObject
* obj1
= 0 ;
12015 char * kwnames
[] = {
12016 (char *) "self",(char *) "pointsize", NULL
12019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12021 if (!SWIG_IsOK(res1
)) {
12022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12024 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12026 if (!SWIG_IsOK(ecode2
)) {
12027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12029 arg2
= static_cast< int >(val2
);
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 (arg1
)->SetPointSize(arg2
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= SWIG_Py_Void();
12043 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
= 0;
12045 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 PyObject
* obj1
= 0 ;
12053 char * kwnames
[] = {
12054 (char *) "self",(char *) "style", NULL
12057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12059 if (!SWIG_IsOK(res1
)) {
12060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12062 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12064 if (!SWIG_IsOK(ecode2
)) {
12065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12067 arg2
= static_cast< wxFontStyle
>(val2
);
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 (arg1
)->SetStyle(arg2
);
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 resultobj
= SWIG_Py_Void();
12081 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
= 0;
12083 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12084 wxFontWeight arg2
;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 char * kwnames
[] = {
12092 (char *) "self",(char *) "weight", NULL
12095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12100 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12102 if (!SWIG_IsOK(ecode2
)) {
12103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12105 arg2
= static_cast< wxFontWeight
>(val2
);
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 (arg1
)->SetWeight(arg2
);
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= SWIG_Py_Void();
12119 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
= 0;
12121 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12127 PyObject
* obj0
= 0 ;
12128 PyObject
* obj1
= 0 ;
12129 char * kwnames
[] = {
12130 (char *) "self",(char *) "underlined", NULL
12133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12135 if (!SWIG_IsOK(res1
)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12138 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12139 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12140 if (!SWIG_IsOK(ecode2
)) {
12141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12143 arg2
= static_cast< bool >(val2
);
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 (arg1
)->SetUnderlined(arg2
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= SWIG_Py_Void();
12157 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
= 0;
12159 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char * kwnames
[] = {
12167 (char *) "self",(char *) "facename", NULL
12170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12175 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12177 wxString
* sptr
= wxString_in_helper(obj1
);
12178 if (sptr
== NULL
) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (bool)(arg1
)->SetFaceName(arg2
);
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12197 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
= 0;
12199 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12200 wxFontFamily arg2
;
12205 PyObject
* obj0
= 0 ;
12206 PyObject
* obj1
= 0 ;
12207 char * kwnames
[] = {
12208 (char *) "self",(char *) "family", NULL
12211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12216 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12218 if (!SWIG_IsOK(ecode2
)) {
12219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12221 arg2
= static_cast< wxFontFamily
>(val2
);
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 (arg1
)->SetFamily(arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_Py_Void();
12235 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
= 0;
12237 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12238 wxFontEncoding arg2
;
12243 PyObject
* obj0
= 0 ;
12244 PyObject
* obj1
= 0 ;
12245 char * kwnames
[] = {
12246 (char *) "self",(char *) "encoding", NULL
12249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12251 if (!SWIG_IsOK(res1
)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12254 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12256 if (!SWIG_IsOK(ecode2
)) {
12257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12259 arg2
= static_cast< wxFontEncoding
>(val2
);
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 (arg1
)->SetEncoding(arg2
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= SWIG_Py_Void();
12273 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
= 0;
12275 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12276 wxString
*arg2
= 0 ;
12280 bool temp2
= false ;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 char * kwnames
[] = {
12284 (char *) "self",(char *) "s", NULL
12287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12289 if (!SWIG_IsOK(res1
)) {
12290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12292 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12294 arg2
= wxString_in_helper(obj1
);
12295 if (arg2
== NULL
) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12321 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12322 PyObject
*resultobj
= 0;
12323 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12327 PyObject
*swig_obj
[1] ;
12329 if (!args
) SWIG_fail
;
12330 swig_obj
[0] = args
;
12331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12332 if (!SWIG_IsOK(res1
)) {
12333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12335 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12355 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12356 PyObject
*resultobj
= 0;
12357 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12361 PyObject
*swig_obj
[1] ;
12363 if (!args
) SWIG_fail
;
12364 swig_obj
[0] = args
;
12365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12366 if (!SWIG_IsOK(res1
)) {
12367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12369 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= wxNativeFontInfo___str__(arg1
);
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12389 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
= 0;
12391 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12392 wxString
*arg2
= 0 ;
12396 bool temp2
= false ;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 char * kwnames
[] = {
12400 (char *) "self",(char *) "s", NULL
12403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12405 if (!SWIG_IsOK(res1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12408 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12410 arg2
= wxString_in_helper(obj1
);
12411 if (arg2
== NULL
) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12437 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12438 PyObject
*resultobj
= 0;
12439 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12443 PyObject
*swig_obj
[1] ;
12445 if (!args
) SWIG_fail
;
12446 swig_obj
[0] = args
;
12447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12448 if (!SWIG_IsOK(res1
)) {
12449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12451 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12471 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12474 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12475 return SWIG_Py_Void();
12478 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12479 return SWIG_Python_InitShadowInstance(args
);
12482 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12483 PyObject
*resultobj
= 0;
12484 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12485 wxString
*arg2
= (wxString
*) 0 ;
12488 bool temp2
= false ;
12489 PyObject
*swig_obj
[2] ;
12491 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12493 if (!SWIG_IsOK(res1
)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12496 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12498 arg2
= wxString_in_helper(swig_obj
[1]);
12499 if (arg2
== NULL
) SWIG_fail
;
12502 if (arg1
) (arg1
)->facename
= *arg2
;
12504 resultobj
= SWIG_Py_Void();
12519 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12520 PyObject
*resultobj
= 0;
12521 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12522 wxString
*result
= 0 ;
12525 PyObject
*swig_obj
[1] ;
12527 if (!args
) SWIG_fail
;
12528 swig_obj
[0] = args
;
12529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12533 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12534 result
= (wxString
*)& ((arg1
)->facename
);
12537 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12539 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12548 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12549 PyObject
*resultobj
= 0;
12550 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12551 wxFontEncoding arg2
;
12556 PyObject
*swig_obj
[2] ;
12558 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12563 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12564 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12565 if (!SWIG_IsOK(ecode2
)) {
12566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12568 arg2
= static_cast< wxFontEncoding
>(val2
);
12569 if (arg1
) (arg1
)->encoding
= arg2
;
12571 resultobj
= SWIG_Py_Void();
12578 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12579 PyObject
*resultobj
= 0;
12580 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12581 wxFontEncoding result
;
12584 PyObject
*swig_obj
[1] ;
12586 if (!args
) SWIG_fail
;
12587 swig_obj
[0] = args
;
12588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12589 if (!SWIG_IsOK(res1
)) {
12590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12592 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12593 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12594 resultobj
= SWIG_From_int(static_cast< int >(result
));
12601 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12602 PyObject
*resultobj
= 0;
12603 wxNativeEncodingInfo
*result
= 0 ;
12605 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12619 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12620 PyObject
*resultobj
= 0;
12621 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12624 PyObject
*swig_obj
[1] ;
12626 if (!args
) SWIG_fail
;
12627 swig_obj
[0] = args
;
12628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12629 if (!SWIG_IsOK(res1
)) {
12630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12632 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_Py_Void();
12647 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
= 0;
12649 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12650 wxString
*arg2
= 0 ;
12654 bool temp2
= false ;
12655 PyObject
* obj0
= 0 ;
12656 PyObject
* obj1
= 0 ;
12657 char * kwnames
[] = {
12658 (char *) "self",(char *) "s", NULL
12661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12663 if (!SWIG_IsOK(res1
)) {
12664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12666 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12668 arg2
= wxString_in_helper(obj1
);
12669 if (arg2
== NULL
) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12695 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12696 PyObject
*resultobj
= 0;
12697 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12701 PyObject
*swig_obj
[1] ;
12703 if (!args
) SWIG_fail
;
12704 swig_obj
[0] = args
;
12705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12706 if (!SWIG_IsOK(res1
)) {
12707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12709 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12729 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12732 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12733 return SWIG_Py_Void();
12736 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12737 return SWIG_Python_InitShadowInstance(args
);
12740 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
= 0;
12742 wxFontEncoding arg1
;
12743 wxNativeEncodingInfo
*result
= 0 ;
12746 PyObject
* obj0
= 0 ;
12747 char * kwnames
[] = {
12748 (char *) "encoding", NULL
12751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12752 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12753 if (!SWIG_IsOK(ecode1
)) {
12754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12756 arg1
= static_cast< wxFontEncoding
>(val1
);
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12770 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
= 0;
12772 wxNativeEncodingInfo
*arg1
= 0 ;
12776 PyObject
* obj0
= 0 ;
12777 char * kwnames
[] = {
12778 (char *) "info", NULL
12781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12782 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12783 if (!SWIG_IsOK(res1
)) {
12784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12789 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12805 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12806 PyObject
*resultobj
= 0;
12807 wxFontMapper
*result
= 0 ;
12809 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (wxFontMapper
*)new wxFontMapper();
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12823 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12824 PyObject
*resultobj
= 0;
12825 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12828 PyObject
*swig_obj
[1] ;
12830 if (!args
) SWIG_fail
;
12831 swig_obj
[0] = args
;
12832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12833 if (!SWIG_IsOK(res1
)) {
12834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12836 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= SWIG_Py_Void();
12851 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12852 PyObject
*resultobj
= 0;
12853 wxFontMapper
*result
= 0 ;
12855 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 result
= (wxFontMapper
*)wxFontMapper::Get();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12869 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
= 0;
12871 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12872 wxFontMapper
*result
= 0 ;
12875 PyObject
* obj0
= 0 ;
12876 char * kwnames
[] = {
12877 (char *) "mapper", NULL
12880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12882 if (!SWIG_IsOK(res1
)) {
12883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12885 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12899 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
= 0;
12901 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12902 wxString
*arg2
= 0 ;
12903 bool arg3
= (bool) true ;
12904 wxFontEncoding result
;
12907 bool temp2
= false ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 PyObject
* obj2
= 0 ;
12913 char * kwnames
[] = {
12914 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12919 if (!SWIG_IsOK(res1
)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12922 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12924 arg2
= wxString_in_helper(obj1
);
12925 if (arg2
== NULL
) SWIG_fail
;
12929 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12930 if (!SWIG_IsOK(ecode3
)) {
12931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12933 arg3
= static_cast< bool >(val3
);
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= SWIG_From_int(static_cast< int >(result
));
12956 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12957 PyObject
*resultobj
= 0;
12960 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12974 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
= 0;
12977 wxFontEncoding result
;
12980 PyObject
* obj0
= 0 ;
12981 char * kwnames
[] = {
12985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12986 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12987 if (!SWIG_IsOK(ecode1
)) {
12988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12990 arg1
= static_cast< size_t >(val1
);
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= SWIG_From_int(static_cast< int >(result
));
13004 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
= 0;
13006 wxFontEncoding arg1
;
13010 PyObject
* obj0
= 0 ;
13011 char * kwnames
[] = {
13012 (char *) "encoding", NULL
13015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13016 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13017 if (!SWIG_IsOK(ecode1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13020 arg1
= static_cast< wxFontEncoding
>(val1
);
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= wxFontMapper::GetEncodingName(arg1
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13040 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxFontEncoding arg1
;
13046 PyObject
* obj0
= 0 ;
13047 char * kwnames
[] = {
13048 (char *) "encoding", NULL
13051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13052 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13053 if (!SWIG_IsOK(ecode1
)) {
13054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13056 arg1
= static_cast< wxFontEncoding
>(val1
);
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= wxFontMapper::GetEncodingDescription(arg1
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13076 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
= 0;
13078 wxString
*arg1
= 0 ;
13079 wxFontEncoding result
;
13080 bool temp1
= false ;
13081 PyObject
* obj0
= 0 ;
13082 char * kwnames
[] = {
13083 (char *) "name", NULL
13086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13088 arg1
= wxString_in_helper(obj0
);
13089 if (arg1
== NULL
) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= SWIG_From_int(static_cast< int >(result
));
13113 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
= 0;
13115 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13116 wxString
*arg2
= 0 ;
13119 bool temp2
= false ;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 char * kwnames
[] = {
13123 (char *) "self",(char *) "prefix", NULL
13126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13128 if (!SWIG_IsOK(res1
)) {
13129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13131 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13133 arg2
= wxString_in_helper(obj1
);
13134 if (arg2
== NULL
) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= SWIG_Py_Void();
13158 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13159 PyObject
*resultobj
= 0;
13162 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= wxFontMapper::GetDefaultConfigPath();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13182 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
= 0;
13184 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13185 wxFontEncoding arg2
;
13186 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13187 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13188 bool arg4
= (bool) true ;
13189 PyObject
*result
= 0 ;
13194 bool temp3
= false ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 PyObject
* obj2
= 0 ;
13200 PyObject
* obj3
= 0 ;
13201 char * kwnames
[] = {
13202 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13207 if (!SWIG_IsOK(res1
)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13210 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13212 if (!SWIG_IsOK(ecode2
)) {
13213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13215 arg2
= static_cast< wxFontEncoding
>(val2
);
13218 arg3
= wxString_in_helper(obj2
);
13219 if (arg3
== NULL
) SWIG_fail
;
13224 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13225 if (!SWIG_IsOK(ecode4
)) {
13226 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13228 arg4
= static_cast< bool >(val4
);
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 resultobj
= result
;
13251 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
= 0;
13253 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13254 wxFontEncoding arg2
;
13255 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13262 bool temp3
= false ;
13263 PyObject
* obj0
= 0 ;
13264 PyObject
* obj1
= 0 ;
13265 PyObject
* obj2
= 0 ;
13266 char * kwnames
[] = {
13267 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13272 if (!SWIG_IsOK(res1
)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13275 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13277 if (!SWIG_IsOK(ecode2
)) {
13278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13280 arg2
= static_cast< wxFontEncoding
>(val2
);
13283 arg3
= wxString_in_helper(obj2
);
13284 if (arg3
== NULL
) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13311 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
= 0;
13313 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13314 wxWindow
*arg2
= (wxWindow
*) 0 ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 char * kwnames
[] = {
13322 (char *) "self",(char *) "parent", NULL
13325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13327 if (!SWIG_IsOK(res1
)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13330 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13332 if (!SWIG_IsOK(res2
)) {
13333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13335 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 (arg1
)->SetDialogParent(arg2
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_Py_Void();
13349 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
= 0;
13351 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13352 wxString
*arg2
= 0 ;
13355 bool temp2
= false ;
13356 PyObject
* obj0
= 0 ;
13357 PyObject
* obj1
= 0 ;
13358 char * kwnames
[] = {
13359 (char *) "self",(char *) "title", NULL
13362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13364 if (!SWIG_IsOK(res1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13367 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13369 arg2
= wxString_in_helper(obj1
);
13370 if (arg2
== NULL
) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= SWIG_Py_Void();
13394 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13397 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13398 return SWIG_Py_Void();
13401 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13402 return SWIG_Python_InitShadowInstance(args
);
13405 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
= 0;
13411 bool arg5
= (bool) false ;
13412 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13413 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13414 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13415 wxFont
*result
= 0 ;
13426 bool temp6
= false ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 PyObject
* obj2
= 0 ;
13432 PyObject
* obj3
= 0 ;
13433 PyObject
* obj4
= 0 ;
13434 PyObject
* obj5
= 0 ;
13435 PyObject
* obj6
= 0 ;
13436 char * kwnames
[] = {
13437 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13442 if (!SWIG_IsOK(ecode1
)) {
13443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13445 arg1
= static_cast< int >(val1
);
13446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13447 if (!SWIG_IsOK(ecode2
)) {
13448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13450 arg2
= static_cast< int >(val2
);
13451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13452 if (!SWIG_IsOK(ecode3
)) {
13453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13455 arg3
= static_cast< int >(val3
);
13456 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13457 if (!SWIG_IsOK(ecode4
)) {
13458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13460 arg4
= static_cast< int >(val4
);
13462 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13463 if (!SWIG_IsOK(ecode5
)) {
13464 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13466 arg5
= static_cast< bool >(val5
);
13470 arg6
= wxString_in_helper(obj5
);
13471 if (arg6
== NULL
) SWIG_fail
;
13476 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13477 if (!SWIG_IsOK(ecode7
)) {
13478 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13480 arg7
= static_cast< wxFontEncoding
>(val7
);
13483 if (!wxPyCheckForApp()) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13504 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13505 PyObject
*resultobj
= 0;
13506 wxFont
*arg1
= (wxFont
*) 0 ;
13509 PyObject
*swig_obj
[1] ;
13511 if (!args
) SWIG_fail
;
13512 swig_obj
[0] = args
;
13513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13514 if (!SWIG_IsOK(res1
)) {
13515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13517 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= SWIG_Py_Void();
13532 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
= 0;
13534 wxNativeFontInfo
*arg1
= 0 ;
13535 wxFont
*result
= 0 ;
13538 PyObject
* obj0
= 0 ;
13539 char * kwnames
[] = {
13540 (char *) "info", NULL
13543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13544 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13545 if (!SWIG_IsOK(res1
)) {
13546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13551 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13553 if (!wxPyCheckForApp()) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13566 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
= 0;
13568 wxString
*arg1
= 0 ;
13569 wxFont
*result
= 0 ;
13570 bool temp1
= false ;
13571 PyObject
* obj0
= 0 ;
13572 char * kwnames
[] = {
13573 (char *) "info", NULL
13576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13578 arg1
= wxString_in_helper(obj0
);
13579 if (arg1
== NULL
) SWIG_fail
;
13583 if (!wxPyCheckForApp()) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13604 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
= 0;
13607 wxFontFamily arg2
;
13608 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13609 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13610 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13611 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13612 wxFont
*result
= 0 ;
13619 bool temp4
= false ;
13622 PyObject
* obj0
= 0 ;
13623 PyObject
* obj1
= 0 ;
13624 PyObject
* obj2
= 0 ;
13625 PyObject
* obj3
= 0 ;
13626 PyObject
* obj4
= 0 ;
13627 char * kwnames
[] = {
13628 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13632 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13633 if (!SWIG_IsOK(ecode1
)) {
13634 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13636 arg1
= static_cast< int >(val1
);
13637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13638 if (!SWIG_IsOK(ecode2
)) {
13639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13641 arg2
= static_cast< wxFontFamily
>(val2
);
13643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13644 if (!SWIG_IsOK(ecode3
)) {
13645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13647 arg3
= static_cast< int >(val3
);
13651 arg4
= wxString_in_helper(obj3
);
13652 if (arg4
== NULL
) SWIG_fail
;
13657 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13658 if (!SWIG_IsOK(ecode5
)) {
13659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13661 arg5
= static_cast< wxFontEncoding
>(val5
);
13664 if (!wxPyCheckForApp()) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13685 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
= 0;
13691 bool arg5
= (bool) false ;
13692 wxString
const &arg6_defvalue
= wxEmptyString
;
13693 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13694 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13695 wxFont
*result
= 0 ;
13705 bool temp6
= false ;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 PyObject
* obj2
= 0 ;
13711 PyObject
* obj3
= 0 ;
13712 PyObject
* obj4
= 0 ;
13713 PyObject
* obj5
= 0 ;
13714 PyObject
* obj6
= 0 ;
13715 char * kwnames
[] = {
13716 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13722 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13725 if (!SWIG_IsOK(ecode2
)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13728 arg2
= static_cast< int >(val2
);
13729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13730 if (!SWIG_IsOK(ecode3
)) {
13731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13733 arg3
= static_cast< int >(val3
);
13734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13735 if (!SWIG_IsOK(ecode4
)) {
13736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13738 arg4
= static_cast< int >(val4
);
13740 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13741 if (!SWIG_IsOK(ecode5
)) {
13742 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13744 arg5
= static_cast< bool >(val5
);
13748 arg6
= wxString_in_helper(obj5
);
13749 if (arg6
== NULL
) SWIG_fail
;
13754 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13755 if (!SWIG_IsOK(ecode7
)) {
13756 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13758 arg7
= static_cast< wxFontEncoding
>(val7
);
13761 if (!wxPyCheckForApp()) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13782 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
= 0;
13785 wxFontFamily arg2
;
13786 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13787 wxString
const &arg4_defvalue
= wxEmptyString
;
13788 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13789 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13790 wxFont
*result
= 0 ;
13796 bool temp4
= false ;
13799 PyObject
* obj0
= 0 ;
13800 PyObject
* obj1
= 0 ;
13801 PyObject
* obj2
= 0 ;
13802 PyObject
* obj3
= 0 ;
13803 PyObject
* obj4
= 0 ;
13804 char * kwnames
[] = {
13805 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13811 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13814 if (!SWIG_IsOK(ecode2
)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13817 arg2
= static_cast< wxFontFamily
>(val2
);
13819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13820 if (!SWIG_IsOK(ecode3
)) {
13821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13823 arg3
= static_cast< int >(val3
);
13827 arg4
= wxString_in_helper(obj3
);
13828 if (arg4
== NULL
) SWIG_fail
;
13833 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13834 if (!SWIG_IsOK(ecode5
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13837 arg5
= static_cast< wxFontEncoding
>(val5
);
13840 if (!wxPyCheckForApp()) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13861 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13862 PyObject
*resultobj
= 0;
13863 wxFont
*arg1
= (wxFont
*) 0 ;
13867 PyObject
*swig_obj
[1] ;
13869 if (!args
) SWIG_fail
;
13870 swig_obj
[0] = args
;
13871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13872 if (!SWIG_IsOK(res1
)) {
13873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
13875 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (bool)((wxFont
const *)arg1
)->IsOk();
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13891 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
= 0;
13893 wxFont
*arg1
= (wxFont
*) 0 ;
13894 wxFont
*arg2
= (wxFont
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 PyObject
* obj1
= 0 ;
13902 char * kwnames
[] = {
13903 (char *) "self",(char *) "other", NULL
13906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13908 if (!SWIG_IsOK(res1
)) {
13909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13911 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13913 if (!SWIG_IsOK(res2
)) {
13914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13916 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13932 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
= 0;
13934 wxFont
*arg1
= (wxFont
*) 0 ;
13935 wxFont
*arg2
= (wxFont
*) 0 ;
13941 PyObject
* obj0
= 0 ;
13942 PyObject
* obj1
= 0 ;
13943 char * kwnames
[] = {
13944 (char *) "self",(char *) "other", NULL
13947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13949 if (!SWIG_IsOK(res1
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13952 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13953 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13954 if (!SWIG_IsOK(res2
)) {
13955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13957 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13973 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13974 PyObject
*resultobj
= 0;
13975 wxFont
*arg1
= (wxFont
*) 0 ;
13979 PyObject
*swig_obj
[1] ;
13981 if (!args
) SWIG_fail
;
13982 swig_obj
[0] = args
;
13983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13984 if (!SWIG_IsOK(res1
)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13987 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= SWIG_From_int(static_cast< int >(result
));
14001 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14002 PyObject
*resultobj
= 0;
14003 wxFont
*arg1
= (wxFont
*) 0 ;
14007 PyObject
*swig_obj
[1] ;
14009 if (!args
) SWIG_fail
;
14010 swig_obj
[0] = args
;
14011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14012 if (!SWIG_IsOK(res1
)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14015 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14029 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14030 PyObject
*resultobj
= 0;
14031 wxFont
*arg1
= (wxFont
*) 0 ;
14035 PyObject
*swig_obj
[1] ;
14037 if (!args
) SWIG_fail
;
14038 swig_obj
[0] = args
;
14039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14040 if (!SWIG_IsOK(res1
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14043 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14047 wxPyEndAllowThreads(__tstate
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14059 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14060 PyObject
*resultobj
= 0;
14061 wxFont
*arg1
= (wxFont
*) 0 ;
14065 PyObject
*swig_obj
[1] ;
14067 if (!args
) SWIG_fail
;
14068 swig_obj
[0] = args
;
14069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14070 if (!SWIG_IsOK(res1
)) {
14071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14073 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= SWIG_From_int(static_cast< int >(result
));
14087 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14088 PyObject
*resultobj
= 0;
14089 wxFont
*arg1
= (wxFont
*) 0 ;
14093 PyObject
*swig_obj
[1] ;
14095 if (!args
) SWIG_fail
;
14096 swig_obj
[0] = args
;
14097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14098 if (!SWIG_IsOK(res1
)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14101 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= SWIG_From_int(static_cast< int >(result
));
14115 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14116 PyObject
*resultobj
= 0;
14117 wxFont
*arg1
= (wxFont
*) 0 ;
14121 PyObject
*swig_obj
[1] ;
14123 if (!args
) SWIG_fail
;
14124 swig_obj
[0] = args
;
14125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14126 if (!SWIG_IsOK(res1
)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14129 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= SWIG_From_int(static_cast< int >(result
));
14143 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14144 PyObject
*resultobj
= 0;
14145 wxFont
*arg1
= (wxFont
*) 0 ;
14149 PyObject
*swig_obj
[1] ;
14151 if (!args
) SWIG_fail
;
14152 swig_obj
[0] = args
;
14153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14154 if (!SWIG_IsOK(res1
)) {
14155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14157 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14173 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14174 PyObject
*resultobj
= 0;
14175 wxFont
*arg1
= (wxFont
*) 0 ;
14179 PyObject
*swig_obj
[1] ;
14181 if (!args
) SWIG_fail
;
14182 swig_obj
[0] = args
;
14183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14184 if (!SWIG_IsOK(res1
)) {
14185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14187 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= ((wxFont
const *)arg1
)->GetFaceName();
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14207 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14208 PyObject
*resultobj
= 0;
14209 wxFont
*arg1
= (wxFont
*) 0 ;
14210 wxFontEncoding result
;
14213 PyObject
*swig_obj
[1] ;
14215 if (!args
) SWIG_fail
;
14216 swig_obj
[0] = args
;
14217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14218 if (!SWIG_IsOK(res1
)) {
14219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14221 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= SWIG_From_int(static_cast< int >(result
));
14235 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14236 PyObject
*resultobj
= 0;
14237 wxFont
*arg1
= (wxFont
*) 0 ;
14238 wxNativeFontInfo
*result
= 0 ;
14241 PyObject
*swig_obj
[1] ;
14243 if (!args
) SWIG_fail
;
14244 swig_obj
[0] = args
;
14245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14246 if (!SWIG_IsOK(res1
)) {
14247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14249 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14263 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14264 PyObject
*resultobj
= 0;
14265 wxFont
*arg1
= (wxFont
*) 0 ;
14269 PyObject
*swig_obj
[1] ;
14271 if (!args
) SWIG_fail
;
14272 swig_obj
[0] = args
;
14273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14274 if (!SWIG_IsOK(res1
)) {
14275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14277 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14293 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14294 PyObject
*resultobj
= 0;
14295 wxFont
*arg1
= (wxFont
*) 0 ;
14299 PyObject
*swig_obj
[1] ;
14301 if (!args
) SWIG_fail
;
14302 swig_obj
[0] = args
;
14303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14304 if (!SWIG_IsOK(res1
)) {
14305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14307 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14327 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14328 PyObject
*resultobj
= 0;
14329 wxFont
*arg1
= (wxFont
*) 0 ;
14333 PyObject
*swig_obj
[1] ;
14335 if (!args
) SWIG_fail
;
14336 swig_obj
[0] = args
;
14337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14338 if (!SWIG_IsOK(res1
)) {
14339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14341 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14361 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
= 0;
14363 wxFont
*arg1
= (wxFont
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 char * kwnames
[] = {
14372 (char *) "self",(char *) "pointSize", NULL
14375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14377 if (!SWIG_IsOK(res1
)) {
14378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14380 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14382 if (!SWIG_IsOK(ecode2
)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14385 arg2
= static_cast< int >(val2
);
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 (arg1
)->SetPointSize(arg2
);
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 resultobj
= SWIG_Py_Void();
14399 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
= 0;
14401 wxFont
*arg1
= (wxFont
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 PyObject
* obj1
= 0 ;
14408 char * kwnames
[] = {
14409 (char *) "self",(char *) "pixelSize", NULL
14412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14414 if (!SWIG_IsOK(res1
)) {
14415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14417 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14420 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 resultobj
= SWIG_Py_Void();
14435 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
= 0;
14437 wxFont
*arg1
= (wxFont
*) 0 ;
14443 PyObject
* obj0
= 0 ;
14444 PyObject
* obj1
= 0 ;
14445 char * kwnames
[] = {
14446 (char *) "self",(char *) "family", NULL
14449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14451 if (!SWIG_IsOK(res1
)) {
14452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14454 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14456 if (!SWIG_IsOK(ecode2
)) {
14457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14459 arg2
= static_cast< int >(val2
);
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 (arg1
)->SetFamily(arg2
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= SWIG_Py_Void();
14473 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
= 0;
14475 wxFont
*arg1
= (wxFont
*) 0 ;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 char * kwnames
[] = {
14484 (char *) "self",(char *) "style", NULL
14487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14489 if (!SWIG_IsOK(res1
)) {
14490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14492 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14494 if (!SWIG_IsOK(ecode2
)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14497 arg2
= static_cast< int >(val2
);
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 (arg1
)->SetStyle(arg2
);
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_Py_Void();
14511 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
= 0;
14513 wxFont
*arg1
= (wxFont
*) 0 ;
14519 PyObject
* obj0
= 0 ;
14520 PyObject
* obj1
= 0 ;
14521 char * kwnames
[] = {
14522 (char *) "self",(char *) "weight", NULL
14525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14527 if (!SWIG_IsOK(res1
)) {
14528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14530 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14532 if (!SWIG_IsOK(ecode2
)) {
14533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14535 arg2
= static_cast< int >(val2
);
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 (arg1
)->SetWeight(arg2
);
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= SWIG_Py_Void();
14549 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
= 0;
14551 wxFont
*arg1
= (wxFont
*) 0 ;
14552 wxString
*arg2
= 0 ;
14556 bool temp2
= false ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 char * kwnames
[] = {
14560 (char *) "self",(char *) "faceName", NULL
14563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14565 if (!SWIG_IsOK(res1
)) {
14566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14568 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14570 arg2
= wxString_in_helper(obj1
);
14571 if (arg2
== NULL
) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14597 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
= 0;
14599 wxFont
*arg1
= (wxFont
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 char * kwnames
[] = {
14608 (char *) "self",(char *) "underlined", NULL
14611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14613 if (!SWIG_IsOK(res1
)) {
14614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14616 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14618 if (!SWIG_IsOK(ecode2
)) {
14619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14621 arg2
= static_cast< bool >(val2
);
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 (arg1
)->SetUnderlined(arg2
);
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= SWIG_Py_Void();
14635 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
= 0;
14637 wxFont
*arg1
= (wxFont
*) 0 ;
14638 wxFontEncoding arg2
;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 char * kwnames
[] = {
14646 (char *) "self",(char *) "encoding", NULL
14649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14651 if (!SWIG_IsOK(res1
)) {
14652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14654 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14656 if (!SWIG_IsOK(ecode2
)) {
14657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14659 arg2
= static_cast< wxFontEncoding
>(val2
);
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 (arg1
)->SetEncoding(arg2
);
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= SWIG_Py_Void();
14673 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
= 0;
14675 wxFont
*arg1
= (wxFont
*) 0 ;
14676 wxNativeFontInfo
*arg2
= 0 ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 char * kwnames
[] = {
14684 (char *) "self",(char *) "info", NULL
14687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14689 if (!SWIG_IsOK(res1
)) {
14690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14692 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14694 if (!SWIG_IsOK(res2
)) {
14695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14700 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_Py_Void();
14714 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
= 0;
14716 wxFont
*arg1
= (wxFont
*) 0 ;
14717 wxString
*arg2
= 0 ;
14721 bool temp2
= false ;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 char * kwnames
[] = {
14725 (char *) "self",(char *) "info", NULL
14728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14730 if (!SWIG_IsOK(res1
)) {
14731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14733 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14735 arg2
= wxString_in_helper(obj1
);
14736 if (arg2
== NULL
) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14762 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
= 0;
14764 wxFont
*arg1
= (wxFont
*) 0 ;
14765 wxString
*arg2
= 0 ;
14769 bool temp2
= false ;
14770 PyObject
* obj0
= 0 ;
14771 PyObject
* obj1
= 0 ;
14772 char * kwnames
[] = {
14773 (char *) "self",(char *) "info", NULL
14776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14778 if (!SWIG_IsOK(res1
)) {
14779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14781 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14783 arg2
= wxString_in_helper(obj1
);
14784 if (arg2
== NULL
) SWIG_fail
;
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14810 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14811 PyObject
*resultobj
= 0;
14812 wxFont
*arg1
= (wxFont
*) 0 ;
14816 PyObject
*swig_obj
[1] ;
14818 if (!args
) SWIG_fail
;
14819 swig_obj
[0] = args
;
14820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14821 if (!SWIG_IsOK(res1
)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14824 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14844 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14845 PyObject
*resultobj
= 0;
14846 wxFont
*arg1
= (wxFont
*) 0 ;
14850 PyObject
*swig_obj
[1] ;
14852 if (!args
) SWIG_fail
;
14853 swig_obj
[0] = args
;
14854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14855 if (!SWIG_IsOK(res1
)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14858 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= ((wxFont
const *)arg1
)->GetStyleString();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14878 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14879 PyObject
*resultobj
= 0;
14880 wxFont
*arg1
= (wxFont
*) 0 ;
14884 PyObject
*swig_obj
[1] ;
14886 if (!args
) SWIG_fail
;
14887 swig_obj
[0] = args
;
14888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14889 if (!SWIG_IsOK(res1
)) {
14890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14892 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 result
= ((wxFont
const *)arg1
)->GetWeightString();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14912 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
= 0;
14914 wxFont
*arg1
= (wxFont
*) 0 ;
14915 bool arg2
= (bool) true ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char * kwnames
[] = {
14923 (char *) "self",(char *) "no", NULL
14926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14928 if (!SWIG_IsOK(res1
)) {
14929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14931 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14933 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14934 if (!SWIG_IsOK(ecode2
)) {
14935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14937 arg2
= static_cast< bool >(val2
);
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 (arg1
)->SetNoAntiAliasing(arg2
);
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_Py_Void();
14952 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14953 PyObject
*resultobj
= 0;
14954 wxFont
*arg1
= (wxFont
*) 0 ;
14958 PyObject
*swig_obj
[1] ;
14960 if (!args
) SWIG_fail
;
14961 swig_obj
[0] = args
;
14962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14963 if (!SWIG_IsOK(res1
)) {
14964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14966 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14970 wxPyEndAllowThreads(__tstate
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14982 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14983 PyObject
*resultobj
= 0;
14984 wxFontEncoding result
;
14986 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14988 if (!wxPyCheckForApp()) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= SWIG_From_int(static_cast< int >(result
));
15001 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
= 0;
15003 wxFontEncoding arg1
;
15006 PyObject
* obj0
= 0 ;
15007 char * kwnames
[] = {
15008 (char *) "encoding", NULL
15011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15013 if (!SWIG_IsOK(ecode1
)) {
15014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15016 arg1
= static_cast< wxFontEncoding
>(val1
);
15018 if (!wxPyCheckForApp()) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 wxFont::SetDefaultEncoding(arg1
);
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= SWIG_Py_Void();
15031 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15034 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15035 return SWIG_Py_Void();
15038 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15039 return SWIG_Python_InitShadowInstance(args
);
15042 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15043 PyObject
*resultobj
= 0;
15044 wxPyFontEnumerator
*result
= 0 ;
15046 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15048 if (!wxPyCheckForApp()) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15061 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15062 PyObject
*resultobj
= 0;
15063 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15066 PyObject
*swig_obj
[1] ;
15068 if (!args
) SWIG_fail
;
15069 swig_obj
[0] = args
;
15070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15071 if (!SWIG_IsOK(res1
)) {
15072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15074 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= SWIG_Py_Void();
15089 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
= 0;
15091 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15092 PyObject
*arg2
= (PyObject
*) 0 ;
15093 PyObject
*arg3
= (PyObject
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 PyObject
* obj2
= 0 ;
15102 PyObject
* obj3
= 0 ;
15103 char * kwnames
[] = {
15104 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15109 if (!SWIG_IsOK(res1
)) {
15110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15112 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15115 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15116 if (!SWIG_IsOK(ecode4
)) {
15117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15119 arg4
= static_cast< bool >(val4
);
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= SWIG_Py_Void();
15133 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
= 0;
15135 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15136 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15137 bool arg3
= (bool) false ;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15147 PyObject
* obj2
= 0 ;
15148 char * kwnames
[] = {
15149 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15154 if (!SWIG_IsOK(res1
)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15157 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15160 if (!SWIG_IsOK(ecode2
)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15163 arg2
= static_cast< wxFontEncoding
>(val2
);
15166 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15167 if (!SWIG_IsOK(ecode3
)) {
15168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15170 arg3
= static_cast< bool >(val3
);
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15187 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
= 0;
15189 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15190 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15191 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15195 bool temp2
= false ;
15196 PyObject
* obj0
= 0 ;
15197 PyObject
* obj1
= 0 ;
15198 char * kwnames
[] = {
15199 (char *) "self",(char *) "facename", NULL
15202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15204 if (!SWIG_IsOK(res1
)) {
15205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15207 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15210 arg2
= wxString_in_helper(obj1
);
15211 if (arg2
== NULL
) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15238 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15239 PyObject
*resultobj
= 0;
15240 PyObject
*result
= 0 ;
15242 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= result
;
15256 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15257 PyObject
*resultobj
= 0;
15258 PyObject
*result
= 0 ;
15260 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= result
;
15274 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
= 0;
15276 wxString
*arg1
= 0 ;
15278 bool temp1
= false ;
15279 PyObject
* obj0
= 0 ;
15280 char * kwnames
[] = {
15281 (char *) "str", NULL
15284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15286 arg1
= wxString_in_helper(obj0
);
15287 if (arg1
== NULL
) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15313 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15316 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15317 return SWIG_Py_Void();
15320 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15321 return SWIG_Python_InitShadowInstance(args
);
15324 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15325 PyObject
*resultobj
= 0;
15326 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15332 PyObject
*swig_obj
[2] ;
15334 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15336 if (!SWIG_IsOK(res1
)) {
15337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15339 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15340 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15341 if (!SWIG_IsOK(ecode2
)) {
15342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15344 arg2
= static_cast< int >(val2
);
15345 if (arg1
) (arg1
)->Language
= arg2
;
15347 resultobj
= SWIG_Py_Void();
15354 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15355 PyObject
*resultobj
= 0;
15356 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15360 PyObject
*swig_obj
[1] ;
15362 if (!args
) SWIG_fail
;
15363 swig_obj
[0] = args
;
15364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15365 if (!SWIG_IsOK(res1
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15368 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15369 result
= (int) ((arg1
)->Language
);
15370 resultobj
= SWIG_From_int(static_cast< int >(result
));
15377 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15378 PyObject
*resultobj
= 0;
15379 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15380 wxString
*arg2
= (wxString
*) 0 ;
15383 bool temp2
= false ;
15384 PyObject
*swig_obj
[2] ;
15386 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15388 if (!SWIG_IsOK(res1
)) {
15389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15391 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15393 arg2
= wxString_in_helper(swig_obj
[1]);
15394 if (arg2
== NULL
) SWIG_fail
;
15397 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15399 resultobj
= SWIG_Py_Void();
15414 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15415 PyObject
*resultobj
= 0;
15416 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15417 wxString
*result
= 0 ;
15420 PyObject
*swig_obj
[1] ;
15422 if (!args
) SWIG_fail
;
15423 swig_obj
[0] = args
;
15424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15425 if (!SWIG_IsOK(res1
)) {
15426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15428 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15429 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15432 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15434 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15443 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15444 PyObject
*resultobj
= 0;
15445 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15446 wxString
*arg2
= (wxString
*) 0 ;
15449 bool temp2
= false ;
15450 PyObject
*swig_obj
[2] ;
15452 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15454 if (!SWIG_IsOK(res1
)) {
15455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15457 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15459 arg2
= wxString_in_helper(swig_obj
[1]);
15460 if (arg2
== NULL
) SWIG_fail
;
15463 if (arg1
) (arg1
)->Description
= *arg2
;
15465 resultobj
= SWIG_Py_Void();
15480 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15481 PyObject
*resultobj
= 0;
15482 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15483 wxString
*result
= 0 ;
15486 PyObject
*swig_obj
[1] ;
15488 if (!args
) SWIG_fail
;
15489 swig_obj
[0] = args
;
15490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15491 if (!SWIG_IsOK(res1
)) {
15492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15494 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15495 result
= (wxString
*)& ((arg1
)->Description
);
15498 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15500 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15509 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15512 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15513 return SWIG_Py_Void();
15516 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
= 0;
15518 int arg1
= (int) -1 ;
15519 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15520 wxLocale
*result
= 0 ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 char * kwnames
[] = {
15528 (char *) "language",(char *) "flags", NULL
15531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15533 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15534 if (!SWIG_IsOK(ecode1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15537 arg1
= static_cast< int >(val1
);
15540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15541 if (!SWIG_IsOK(ecode2
)) {
15542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15544 arg2
= static_cast< int >(val2
);
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15559 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15560 PyObject
*resultobj
= 0;
15561 wxLocale
*arg1
= (wxLocale
*) 0 ;
15564 PyObject
*swig_obj
[1] ;
15566 if (!args
) SWIG_fail
;
15567 swig_obj
[0] = args
;
15568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15569 if (!SWIG_IsOK(res1
)) {
15570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15572 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= SWIG_Py_Void();
15587 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
= 0;
15589 wxLocale
*arg1
= (wxLocale
*) 0 ;
15590 wxString
*arg2
= 0 ;
15591 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15593 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15594 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15595 bool arg5
= (bool) true ;
15596 bool arg6
= (bool) false ;
15600 bool temp2
= false ;
15601 bool temp3
= false ;
15602 bool temp4
= false ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 PyObject
* obj2
= 0 ;
15610 PyObject
* obj3
= 0 ;
15611 PyObject
* obj4
= 0 ;
15612 PyObject
* obj5
= 0 ;
15613 char * kwnames
[] = {
15614 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15619 if (!SWIG_IsOK(res1
)) {
15620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15622 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15624 arg2
= wxString_in_helper(obj1
);
15625 if (arg2
== NULL
) SWIG_fail
;
15630 arg3
= wxString_in_helper(obj2
);
15631 if (arg3
== NULL
) SWIG_fail
;
15637 arg4
= wxString_in_helper(obj3
);
15638 if (arg4
== NULL
) SWIG_fail
;
15643 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15644 if (!SWIG_IsOK(ecode5
)) {
15645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15647 arg5
= static_cast< bool >(val5
);
15650 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15651 if (!SWIG_IsOK(ecode6
)) {
15652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15654 arg6
= static_cast< bool >(val6
);
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15695 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
= 0;
15697 wxLocale
*arg1
= (wxLocale
*) 0 ;
15698 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15699 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15707 PyObject
* obj0
= 0 ;
15708 PyObject
* obj1
= 0 ;
15709 PyObject
* obj2
= 0 ;
15710 char * kwnames
[] = {
15711 (char *) "self",(char *) "language",(char *) "flags", NULL
15714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15716 if (!SWIG_IsOK(res1
)) {
15717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15719 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15722 if (!SWIG_IsOK(ecode2
)) {
15723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15725 arg2
= static_cast< int >(val2
);
15728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15729 if (!SWIG_IsOK(ecode3
)) {
15730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15732 arg3
= static_cast< int >(val3
);
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15749 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15750 PyObject
*resultobj
= 0;
15753 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (int)wxLocale::GetSystemLanguage();
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= SWIG_From_int(static_cast< int >(result
));
15767 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15768 PyObject
*resultobj
= 0;
15769 wxFontEncoding result
;
15771 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= SWIG_From_int(static_cast< int >(result
));
15785 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15786 PyObject
*resultobj
= 0;
15789 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 result
= wxLocale::GetSystemEncodingName();
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15809 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15810 PyObject
*resultobj
= 0;
15811 wxLocale
*arg1
= (wxLocale
*) 0 ;
15815 PyObject
*swig_obj
[1] ;
15817 if (!args
) SWIG_fail
;
15818 swig_obj
[0] = args
;
15819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15820 if (!SWIG_IsOK(res1
)) {
15821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15823 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15839 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxLocale
*arg1
= (wxLocale
*) 0 ;
15845 PyObject
*swig_obj
[1] ;
15847 if (!args
) SWIG_fail
;
15848 swig_obj
[0] = args
;
15849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15853 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= ((wxLocale
const *)arg1
)->GetLocale();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15873 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15874 PyObject
*resultobj
= 0;
15875 wxLocale
*arg1
= (wxLocale
*) 0 ;
15879 PyObject
*swig_obj
[1] ;
15881 if (!args
) SWIG_fail
;
15882 swig_obj
[0] = args
;
15883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15884 if (!SWIG_IsOK(res1
)) {
15885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15887 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= SWIG_From_int(static_cast< int >(result
));
15901 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15902 PyObject
*resultobj
= 0;
15903 wxLocale
*arg1
= (wxLocale
*) 0 ;
15907 PyObject
*swig_obj
[1] ;
15909 if (!args
) SWIG_fail
;
15910 swig_obj
[0] = args
;
15911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15912 if (!SWIG_IsOK(res1
)) {
15913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15915 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= ((wxLocale
const *)arg1
)->GetSysName();
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15935 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15936 PyObject
*resultobj
= 0;
15937 wxLocale
*arg1
= (wxLocale
*) 0 ;
15941 PyObject
*swig_obj
[1] ;
15943 if (!args
) SWIG_fail
;
15944 swig_obj
[0] = args
;
15945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15946 if (!SWIG_IsOK(res1
)) {
15947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15949 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15969 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
= 0;
15971 wxString
*arg1
= 0 ;
15972 bool temp1
= false ;
15973 PyObject
* obj0
= 0 ;
15974 char * kwnames
[] = {
15975 (char *) "prefix", NULL
15978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15980 arg1
= wxString_in_helper(obj0
);
15981 if (arg1
== NULL
) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_Py_Void();
16005 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
= 0;
16007 wxLocale
*arg1
= (wxLocale
*) 0 ;
16008 wxString
*arg2
= 0 ;
16012 bool temp2
= false ;
16013 PyObject
* obj0
= 0 ;
16014 PyObject
* obj1
= 0 ;
16015 char * kwnames
[] = {
16016 (char *) "self",(char *) "szDomain", NULL
16019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16021 if (!SWIG_IsOK(res1
)) {
16022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16024 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16026 arg2
= wxString_in_helper(obj1
);
16027 if (arg2
== NULL
) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16053 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
= 0;
16059 PyObject
* obj0
= 0 ;
16060 char * kwnames
[] = {
16061 (char *) "lang", NULL
16064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16065 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16066 if (!SWIG_IsOK(ecode1
)) {
16067 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16069 arg1
= static_cast< int >(val1
);
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (bool)wxLocale::IsAvailable(arg1
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16085 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
= 0;
16087 wxLocale
*arg1
= (wxLocale
*) 0 ;
16088 wxString
*arg2
= 0 ;
16092 bool temp2
= false ;
16093 PyObject
* obj0
= 0 ;
16094 PyObject
* obj1
= 0 ;
16095 char * kwnames
[] = {
16096 (char *) "self",(char *) "szDomain", NULL
16099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16101 if (!SWIG_IsOK(res1
)) {
16102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16104 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16106 arg2
= wxString_in_helper(obj1
);
16107 if (arg2
== NULL
) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16133 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
= 0;
16136 wxLanguageInfo
*result
= 0 ;
16139 PyObject
* obj0
= 0 ;
16140 char * kwnames
[] = {
16141 (char *) "lang", NULL
16144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16146 if (!SWIG_IsOK(ecode1
)) {
16147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16149 arg1
= static_cast< int >(val1
);
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16163 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16164 PyObject
*resultobj
= 0;
16169 PyObject
* obj0
= 0 ;
16170 char * kwnames
[] = {
16171 (char *) "lang", NULL
16174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16175 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16176 if (!SWIG_IsOK(ecode1
)) {
16177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16179 arg1
= static_cast< int >(val1
);
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= wxLocale::GetLanguageName(arg1
);
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16199 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
= 0;
16201 wxString
*arg1
= 0 ;
16202 wxLanguageInfo
*result
= 0 ;
16203 bool temp1
= false ;
16204 PyObject
* obj0
= 0 ;
16205 char * kwnames
[] = {
16206 (char *) "locale", NULL
16209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16211 arg1
= wxString_in_helper(obj0
);
16212 if (arg1
== NULL
) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16236 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
= 0;
16238 wxLanguageInfo
*arg1
= 0 ;
16241 PyObject
* obj0
= 0 ;
16242 char * kwnames
[] = {
16243 (char *) "info", NULL
16246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16247 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16248 if (!SWIG_IsOK(res1
)) {
16249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16254 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= SWIG_Py_Void();
16268 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
= 0;
16270 wxLocale
*arg1
= (wxLocale
*) 0 ;
16271 wxString
*arg2
= 0 ;
16272 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16273 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16277 bool temp2
= false ;
16278 bool temp3
= false ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 PyObject
* obj2
= 0 ;
16282 char * kwnames
[] = {
16283 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16288 if (!SWIG_IsOK(res1
)) {
16289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16291 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16293 arg2
= wxString_in_helper(obj1
);
16294 if (arg2
== NULL
) SWIG_fail
;
16299 arg3
= wxString_in_helper(obj2
);
16300 if (arg3
== NULL
) SWIG_fail
;
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16306 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16339 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16340 PyObject
*resultobj
= 0;
16341 wxLocale
*arg1
= (wxLocale
*) 0 ;
16342 wxString
*result
= 0 ;
16345 PyObject
*swig_obj
[1] ;
16347 if (!args
) SWIG_fail
;
16348 swig_obj
[0] = args
;
16349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16350 if (!SWIG_IsOK(res1
)) {
16351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16353 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16358 result
= (wxString
*) &_result_ref
;
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16365 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16367 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16376 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16379 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16380 return SWIG_Py_Void();
16383 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16384 return SWIG_Python_InitShadowInstance(args
);
16387 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
= 0;
16389 int arg1
= (int) -1 ;
16390 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16391 wxPyLocale
*result
= 0 ;
16396 PyObject
* obj0
= 0 ;
16397 PyObject
* obj1
= 0 ;
16398 char * kwnames
[] = {
16399 (char *) "language",(char *) "flags", NULL
16402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16405 if (!SWIG_IsOK(ecode1
)) {
16406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16408 arg1
= static_cast< int >(val1
);
16411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16412 if (!SWIG_IsOK(ecode2
)) {
16413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16415 arg2
= static_cast< int >(val2
);
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16430 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16431 PyObject
*resultobj
= 0;
16432 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16435 PyObject
*swig_obj
[1] ;
16437 if (!args
) SWIG_fail
;
16438 swig_obj
[0] = args
;
16439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16440 if (!SWIG_IsOK(res1
)) {
16441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16443 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16451 resultobj
= SWIG_Py_Void();
16458 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
= 0;
16460 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16461 PyObject
*arg2
= (PyObject
*) 0 ;
16462 PyObject
*arg3
= (PyObject
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 PyObject
* obj2
= 0 ;
16468 char * kwnames
[] = {
16469 (char *) "self",(char *) "self",(char *) "_class", NULL
16472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16474 if (!SWIG_IsOK(res1
)) {
16475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16477 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= SWIG_Py_Void();
16493 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
= 0;
16495 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16496 wxChar
*arg2
= (wxChar
*) 0 ;
16497 wxChar
*arg3
= (wxChar
*) NULL
;
16498 wxChar
*result
= 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 PyObject
* obj2
= 0 ;
16508 char * kwnames
[] = {
16509 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16514 if (!SWIG_IsOK(res1
)) {
16515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16517 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16519 if (!SWIG_IsOK(res2
)) {
16520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16522 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16524 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16525 if (!SWIG_IsOK(res3
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16528 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16543 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
= 0;
16545 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16546 wxChar
*arg2
= (wxChar
*) 0 ;
16547 wxChar
*arg3
= (wxChar
*) 0 ;
16549 wxChar
*arg5
= (wxChar
*) NULL
;
16550 wxChar
*result
= 0 ;
16561 PyObject
* obj0
= 0 ;
16562 PyObject
* obj1
= 0 ;
16563 PyObject
* obj2
= 0 ;
16564 PyObject
* obj3
= 0 ;
16565 PyObject
* obj4
= 0 ;
16566 char * kwnames
[] = {
16567 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16572 if (!SWIG_IsOK(res1
)) {
16573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16575 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16577 if (!SWIG_IsOK(res2
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16580 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16581 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16582 if (!SWIG_IsOK(res3
)) {
16583 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16585 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16586 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16587 if (!SWIG_IsOK(ecode4
)) {
16588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16590 arg4
= static_cast< size_t >(val4
);
16592 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16593 if (!SWIG_IsOK(res5
)) {
16594 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16596 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16611 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16614 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16615 return SWIG_Py_Void();
16618 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16619 return SWIG_Python_InitShadowInstance(args
);
16622 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16623 PyObject
*resultobj
= 0;
16624 wxLocale
*result
= 0 ;
16626 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= (wxLocale
*)wxGetLocale();
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16640 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16641 PyObject
*resultobj
= 0;
16642 wxString
*arg1
= 0 ;
16644 bool temp1
= false ;
16646 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16648 arg1
= wxString_in_helper(swig_obj
[0]);
16649 if (arg1
== NULL
) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= wxGetTranslation((wxString
const &)*arg1
);
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16679 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16680 PyObject
*resultobj
= 0;
16681 wxString
*arg1
= 0 ;
16682 wxString
*arg2
= 0 ;
16684 bool temp1
= false ;
16685 bool temp2
= false ;
16687 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16689 arg1
= wxString_in_helper(swig_obj
[0]);
16690 if (arg1
== NULL
) SWIG_fail
;
16694 arg2
= wxString_in_helper(swig_obj
[1]);
16695 if (arg2
== NULL
) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16733 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16734 PyObject
*resultobj
= 0;
16735 wxString
*arg1
= 0 ;
16736 wxString
*arg2
= 0 ;
16739 bool temp1
= false ;
16740 bool temp2
= false ;
16744 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16746 arg1
= wxString_in_helper(swig_obj
[0]);
16747 if (arg1
== NULL
) SWIG_fail
;
16751 arg2
= wxString_in_helper(swig_obj
[1]);
16752 if (arg2
== NULL
) SWIG_fail
;
16755 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16756 if (!SWIG_IsOK(ecode3
)) {
16757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16759 arg3
= static_cast< size_t >(val3
);
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16795 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16796 PyObject
*resultobj
= 0;
16797 wxString
*arg1
= 0 ;
16798 wxString
*arg2
= 0 ;
16800 wxString
*arg4
= 0 ;
16802 bool temp1
= false ;
16803 bool temp2
= false ;
16806 bool temp4
= false ;
16808 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16810 arg1
= wxString_in_helper(swig_obj
[0]);
16811 if (arg1
== NULL
) SWIG_fail
;
16815 arg2
= wxString_in_helper(swig_obj
[1]);
16816 if (arg2
== NULL
) SWIG_fail
;
16819 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16820 if (!SWIG_IsOK(ecode3
)) {
16821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16823 arg3
= static_cast< size_t >(val3
);
16825 arg4
= wxString_in_helper(swig_obj
[3]);
16826 if (arg4
== NULL
) SWIG_fail
;
16830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16831 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16832 wxPyEndAllowThreads(__tstate
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16872 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16876 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16879 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16882 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16885 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16888 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16892 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16897 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16898 PyObject
*resultobj
= 0;
16899 wxEncodingConverter
*result
= 0 ;
16901 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16915 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16916 PyObject
*resultobj
= 0;
16917 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16920 PyObject
*swig_obj
[1] ;
16922 if (!args
) SWIG_fail
;
16923 swig_obj
[0] = args
;
16924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16925 if (!SWIG_IsOK(res1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16928 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= SWIG_Py_Void();
16943 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
= 0;
16945 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16946 wxFontEncoding arg2
;
16947 wxFontEncoding arg3
;
16948 int arg4
= (int) wxCONVERT_STRICT
;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 PyObject
* obj2
= 0 ;
16961 PyObject
* obj3
= 0 ;
16962 char * kwnames
[] = {
16963 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16968 if (!SWIG_IsOK(res1
)) {
16969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16971 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16973 if (!SWIG_IsOK(ecode2
)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16976 arg2
= static_cast< wxFontEncoding
>(val2
);
16977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16978 if (!SWIG_IsOK(ecode3
)) {
16979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16981 arg3
= static_cast< wxFontEncoding
>(val3
);
16983 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16984 if (!SWIG_IsOK(ecode4
)) {
16985 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16987 arg4
= static_cast< int >(val4
);
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17004 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
= 0;
17006 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17007 wxString
*arg2
= 0 ;
17011 bool temp2
= false ;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 char * kwnames
[] = {
17015 (char *) "self",(char *) "input", NULL
17018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17020 if (!SWIG_IsOK(res1
)) {
17021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17023 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17025 arg2
= wxString_in_helper(obj1
);
17026 if (arg2
== NULL
) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17056 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
= 0;
17058 wxFontEncoding arg1
;
17059 int arg2
= (int) wxPLATFORM_CURRENT
;
17060 wxFontEncodingArray result
;
17065 PyObject
* obj0
= 0 ;
17066 PyObject
* obj1
= 0 ;
17067 char * kwnames
[] = {
17068 (char *) "enc",(char *) "platform", NULL
17071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17072 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17073 if (!SWIG_IsOK(ecode1
)) {
17074 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17076 arg1
= static_cast< wxFontEncoding
>(val1
);
17078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17079 if (!SWIG_IsOK(ecode2
)) {
17080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17082 arg2
= static_cast< int >(val2
);
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= PyList_New(0);
17092 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17093 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17094 PyList_Append(resultobj
, number
);
17104 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
= 0;
17106 wxFontEncoding arg1
;
17107 wxFontEncodingArray result
;
17110 PyObject
* obj0
= 0 ;
17111 char * kwnames
[] = {
17112 (char *) "enc", NULL
17115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17116 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17117 if (!SWIG_IsOK(ecode1
)) {
17118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17120 arg1
= static_cast< wxFontEncoding
>(val1
);
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= PyList_New(0);
17129 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17130 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17131 PyList_Append(resultobj
, number
);
17141 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
= 0;
17143 wxFontEncoding arg1
;
17144 wxFontEncoding arg2
;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 char * kwnames
[] = {
17153 (char *) "encIn",(char *) "encOut", NULL
17156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17157 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17158 if (!SWIG_IsOK(ecode1
)) {
17159 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17161 arg1
= static_cast< wxFontEncoding
>(val1
);
17162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17163 if (!SWIG_IsOK(ecode2
)) {
17164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17166 arg2
= static_cast< wxFontEncoding
>(val2
);
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17182 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17185 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17186 return SWIG_Py_Void();
17189 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17190 return SWIG_Python_InitShadowInstance(args
);
17193 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17194 PyObject
*resultobj
= 0;
17195 wxDC
*arg1
= (wxDC
*) 0 ;
17198 PyObject
*swig_obj
[1] ;
17200 if (!args
) SWIG_fail
;
17201 swig_obj
[0] = args
;
17202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17203 if (!SWIG_IsOK(res1
)) {
17204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 wxPyEndAllowThreads(__tstate
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= SWIG_Py_Void();
17221 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
= 0;
17223 wxDC
*arg1
= (wxDC
*) 0 ;
17226 wxColour
*arg4
= 0 ;
17227 int arg5
= (int) wxFLOOD_SURFACE
;
17238 PyObject
* obj0
= 0 ;
17239 PyObject
* obj1
= 0 ;
17240 PyObject
* obj2
= 0 ;
17241 PyObject
* obj3
= 0 ;
17242 PyObject
* obj4
= 0 ;
17243 char * kwnames
[] = {
17244 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17249 if (!SWIG_IsOK(res1
)) {
17250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17254 if (!SWIG_IsOK(ecode2
)) {
17255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17257 arg2
= static_cast< int >(val2
);
17258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17259 if (!SWIG_IsOK(ecode3
)) {
17260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17262 arg3
= static_cast< int >(val3
);
17265 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17268 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17269 if (!SWIG_IsOK(ecode5
)) {
17270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17272 arg5
= static_cast< int >(val5
);
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17289 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
= 0;
17291 wxDC
*arg1
= (wxDC
*) 0 ;
17292 wxPoint
*arg2
= 0 ;
17293 wxColour
*arg3
= 0 ;
17294 int arg4
= (int) wxFLOOD_SURFACE
;
17302 PyObject
* obj0
= 0 ;
17303 PyObject
* obj1
= 0 ;
17304 PyObject
* obj2
= 0 ;
17305 PyObject
* obj3
= 0 ;
17306 char * kwnames
[] = {
17307 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17312 if (!SWIG_IsOK(res1
)) {
17313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17322 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17325 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17326 if (!SWIG_IsOK(ecode4
)) {
17327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17329 arg4
= static_cast< int >(val4
);
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17346 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
= 0;
17348 wxDC
*arg1
= (wxDC
*) 0 ;
17350 wxColour
*arg3
= 0 ;
17351 wxColour
*arg4
= 0 ;
17352 wxPoint
*arg5
= 0 ;
17359 PyObject
* obj0
= 0 ;
17360 PyObject
* obj1
= 0 ;
17361 PyObject
* obj2
= 0 ;
17362 PyObject
* obj3
= 0 ;
17363 PyObject
* obj4
= 0 ;
17364 char * kwnames
[] = {
17365 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17370 if (!SWIG_IsOK(res1
)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17376 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17380 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17384 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17388 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= SWIG_Py_Void();
17403 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
= 0;
17405 wxDC
*arg1
= (wxDC
*) 0 ;
17407 wxColour
*arg3
= 0 ;
17408 wxColour
*arg4
= 0 ;
17409 wxDirection arg5
= (wxDirection
) wxEAST
;
17417 PyObject
* obj0
= 0 ;
17418 PyObject
* obj1
= 0 ;
17419 PyObject
* obj2
= 0 ;
17420 PyObject
* obj3
= 0 ;
17421 PyObject
* obj4
= 0 ;
17422 char * kwnames
[] = {
17423 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17428 if (!SWIG_IsOK(res1
)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17434 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17438 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17442 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17445 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17446 if (!SWIG_IsOK(ecode5
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17449 arg5
= static_cast< wxDirection
>(val5
);
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= SWIG_Py_Void();
17464 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
= 0;
17466 wxDC
*arg1
= (wxDC
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 PyObject
* obj1
= 0 ;
17478 PyObject
* obj2
= 0 ;
17479 char * kwnames
[] = {
17480 (char *) "self",(char *) "x",(char *) "y", NULL
17483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17485 if (!SWIG_IsOK(res1
)) {
17486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17490 if (!SWIG_IsOK(ecode2
)) {
17491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17493 arg2
= static_cast< int >(val2
);
17494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17495 if (!SWIG_IsOK(ecode3
)) {
17496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17498 arg3
= static_cast< int >(val3
);
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17512 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
= 0;
17514 wxDC
*arg1
= (wxDC
*) 0 ;
17515 wxPoint
*arg2
= 0 ;
17520 PyObject
* obj0
= 0 ;
17521 PyObject
* obj1
= 0 ;
17522 char * kwnames
[] = {
17523 (char *) "self",(char *) "pt", NULL
17526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17528 if (!SWIG_IsOK(res1
)) {
17529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17549 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
= 0;
17551 wxDC
*arg1
= (wxDC
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 PyObject
* obj1
= 0 ;
17568 PyObject
* obj2
= 0 ;
17569 PyObject
* obj3
= 0 ;
17570 PyObject
* obj4
= 0 ;
17571 char * kwnames
[] = {
17572 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17577 if (!SWIG_IsOK(res1
)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17582 if (!SWIG_IsOK(ecode2
)) {
17583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17585 arg2
= static_cast< int >(val2
);
17586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17587 if (!SWIG_IsOK(ecode3
)) {
17588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17590 arg3
= static_cast< int >(val3
);
17591 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17592 if (!SWIG_IsOK(ecode4
)) {
17593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17595 arg4
= static_cast< int >(val4
);
17596 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17597 if (!SWIG_IsOK(ecode5
)) {
17598 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17600 arg5
= static_cast< int >(val5
);
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= SWIG_Py_Void();
17614 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
= 0;
17616 wxDC
*arg1
= (wxDC
*) 0 ;
17617 wxPoint
*arg2
= 0 ;
17618 wxPoint
*arg3
= 0 ;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 PyObject
* obj2
= 0 ;
17626 char * kwnames
[] = {
17627 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17632 if (!SWIG_IsOK(res1
)) {
17633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17638 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17642 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= SWIG_Py_Void();
17657 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
= 0;
17659 wxDC
*arg1
= (wxDC
*) 0 ;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 PyObject
* obj2
= 0 ;
17671 char * kwnames
[] = {
17672 (char *) "self",(char *) "x",(char *) "y", NULL
17675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17677 if (!SWIG_IsOK(res1
)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17682 if (!SWIG_IsOK(ecode2
)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17685 arg2
= static_cast< int >(val2
);
17686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17687 if (!SWIG_IsOK(ecode3
)) {
17688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17690 arg3
= static_cast< int >(val3
);
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 (arg1
)->CrossHair(arg2
,arg3
);
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= SWIG_Py_Void();
17704 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
= 0;
17706 wxDC
*arg1
= (wxDC
*) 0 ;
17707 wxPoint
*arg2
= 0 ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 char * kwnames
[] = {
17714 (char *) "self",(char *) "pt", NULL
17717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17719 if (!SWIG_IsOK(res1
)) {
17720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17725 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 resultobj
= SWIG_Py_Void();
17740 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
= 0;
17742 wxDC
*arg1
= (wxDC
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 PyObject
* obj1
= 0 ;
17765 PyObject
* obj2
= 0 ;
17766 PyObject
* obj3
= 0 ;
17767 PyObject
* obj4
= 0 ;
17768 PyObject
* obj5
= 0 ;
17769 PyObject
* obj6
= 0 ;
17770 char * kwnames
[] = {
17771 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17776 if (!SWIG_IsOK(res1
)) {
17777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17781 if (!SWIG_IsOK(ecode2
)) {
17782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17784 arg2
= static_cast< int >(val2
);
17785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17786 if (!SWIG_IsOK(ecode3
)) {
17787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17789 arg3
= static_cast< int >(val3
);
17790 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17791 if (!SWIG_IsOK(ecode4
)) {
17792 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17794 arg4
= static_cast< int >(val4
);
17795 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17796 if (!SWIG_IsOK(ecode5
)) {
17797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17799 arg5
= static_cast< int >(val5
);
17800 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17801 if (!SWIG_IsOK(ecode6
)) {
17802 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17804 arg6
= static_cast< int >(val6
);
17805 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17806 if (!SWIG_IsOK(ecode7
)) {
17807 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17809 arg7
= static_cast< int >(val7
);
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_Py_Void();
17823 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
= 0;
17825 wxDC
*arg1
= (wxDC
*) 0 ;
17826 wxPoint
*arg2
= 0 ;
17827 wxPoint
*arg3
= 0 ;
17828 wxPoint
*arg4
= 0 ;
17834 PyObject
* obj0
= 0 ;
17835 PyObject
* obj1
= 0 ;
17836 PyObject
* obj2
= 0 ;
17837 PyObject
* obj3
= 0 ;
17838 char * kwnames
[] = {
17839 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17844 if (!SWIG_IsOK(res1
)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17850 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= SWIG_Py_Void();
17873 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
= 0;
17875 wxDC
*arg1
= (wxDC
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 PyObject
* obj1
= 0 ;
17892 PyObject
* obj2
= 0 ;
17893 PyObject
* obj3
= 0 ;
17894 PyObject
* obj4
= 0 ;
17895 char * kwnames
[] = {
17896 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17901 if (!SWIG_IsOK(res1
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17906 if (!SWIG_IsOK(ecode2
)) {
17907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17909 arg2
= static_cast< int >(val2
);
17910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17911 if (!SWIG_IsOK(ecode3
)) {
17912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17914 arg3
= static_cast< int >(val3
);
17915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17916 if (!SWIG_IsOK(ecode4
)) {
17917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17919 arg4
= static_cast< int >(val4
);
17920 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17921 if (!SWIG_IsOK(ecode5
)) {
17922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17924 arg5
= static_cast< int >(val5
);
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_Py_Void();
17938 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
= 0;
17940 wxDC
*arg1
= (wxDC
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char * kwnames
[] = {
17948 (char *) "self",(char *) "rect", NULL
17951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17953 if (!SWIG_IsOK(res1
)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17959 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_Py_Void();
17974 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
= 0;
17976 wxDC
*arg1
= (wxDC
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 PyObject
* obj2
= 0 ;
18000 PyObject
* obj3
= 0 ;
18001 PyObject
* obj4
= 0 ;
18002 PyObject
* obj5
= 0 ;
18003 PyObject
* obj6
= 0 ;
18004 char * kwnames
[] = {
18005 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18010 if (!SWIG_IsOK(res1
)) {
18011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18015 if (!SWIG_IsOK(ecode2
)) {
18016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18018 arg2
= static_cast< int >(val2
);
18019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18020 if (!SWIG_IsOK(ecode3
)) {
18021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18023 arg3
= static_cast< int >(val3
);
18024 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18025 if (!SWIG_IsOK(ecode4
)) {
18026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18028 arg4
= static_cast< int >(val4
);
18029 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18030 if (!SWIG_IsOK(ecode5
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18033 arg5
= static_cast< int >(val5
);
18034 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18035 if (!SWIG_IsOK(ecode6
)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18038 arg6
= static_cast< double >(val6
);
18039 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18040 if (!SWIG_IsOK(ecode7
)) {
18041 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18043 arg7
= static_cast< double >(val7
);
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_Py_Void();
18057 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
= 0;
18059 wxDC
*arg1
= (wxDC
*) 0 ;
18060 wxPoint
*arg2
= 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 PyObject
* obj2
= 0 ;
18075 PyObject
* obj3
= 0 ;
18076 PyObject
* obj4
= 0 ;
18077 char * kwnames
[] = {
18078 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18083 if (!SWIG_IsOK(res1
)) {
18084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18093 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18095 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18096 if (!SWIG_IsOK(ecode4
)) {
18097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18099 arg4
= static_cast< double >(val4
);
18100 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18101 if (!SWIG_IsOK(ecode5
)) {
18102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18104 arg5
= static_cast< double >(val5
);
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_Py_Void();
18118 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
= 0;
18120 wxDC
*arg1
= (wxDC
*) 0 ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 PyObject
* obj2
= 0 ;
18132 char * kwnames
[] = {
18133 (char *) "self",(char *) "x",(char *) "y", NULL
18136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18138 if (!SWIG_IsOK(res1
)) {
18139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18143 if (!SWIG_IsOK(ecode2
)) {
18144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18146 arg2
= static_cast< int >(val2
);
18147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18148 if (!SWIG_IsOK(ecode3
)) {
18149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18151 arg3
= static_cast< int >(val3
);
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 (arg1
)->DrawPoint(arg2
,arg3
);
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= SWIG_Py_Void();
18165 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
= 0;
18167 wxDC
*arg1
= (wxDC
*) 0 ;
18168 wxPoint
*arg2
= 0 ;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18174 char * kwnames
[] = {
18175 (char *) "self",(char *) "pt", NULL
18178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18180 if (!SWIG_IsOK(res1
)) {
18181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18183 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18186 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= SWIG_Py_Void();
18201 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
= 0;
18203 wxDC
*arg1
= (wxDC
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 PyObject
* obj2
= 0 ;
18221 PyObject
* obj3
= 0 ;
18222 PyObject
* obj4
= 0 ;
18223 char * kwnames
[] = {
18224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18229 if (!SWIG_IsOK(res1
)) {
18230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18232 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18234 if (!SWIG_IsOK(ecode2
)) {
18235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18237 arg2
= static_cast< int >(val2
);
18238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18239 if (!SWIG_IsOK(ecode3
)) {
18240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18242 arg3
= static_cast< int >(val3
);
18243 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18244 if (!SWIG_IsOK(ecode4
)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18247 arg4
= static_cast< int >(val4
);
18248 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18249 if (!SWIG_IsOK(ecode5
)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18252 arg5
= static_cast< int >(val5
);
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_Py_Void();
18266 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
= 0;
18268 wxDC
*arg1
= (wxDC
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 char * kwnames
[] = {
18276 (char *) "self",(char *) "rect", NULL
18279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18281 if (!SWIG_IsOK(res1
)) {
18282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18287 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18292 wxPyEndAllowThreads(__tstate
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= SWIG_Py_Void();
18302 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
= 0;
18304 wxDC
*arg1
= (wxDC
*) 0 ;
18305 wxPoint
*arg2
= 0 ;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 PyObject
* obj2
= 0 ;
18314 char * kwnames
[] = {
18315 (char *) "self",(char *) "pt",(char *) "sz", NULL
18318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18320 if (!SWIG_IsOK(res1
)) {
18321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18330 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_Py_Void();
18345 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
= 0;
18347 wxDC
*arg1
= (wxDC
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 PyObject
* obj2
= 0 ;
18368 PyObject
* obj3
= 0 ;
18369 PyObject
* obj4
= 0 ;
18370 PyObject
* obj5
= 0 ;
18371 char * kwnames
[] = {
18372 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18377 if (!SWIG_IsOK(res1
)) {
18378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18382 if (!SWIG_IsOK(ecode2
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18385 arg2
= static_cast< int >(val2
);
18386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18387 if (!SWIG_IsOK(ecode3
)) {
18388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18390 arg3
= static_cast< int >(val3
);
18391 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18392 if (!SWIG_IsOK(ecode4
)) {
18393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18395 arg4
= static_cast< int >(val4
);
18396 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18397 if (!SWIG_IsOK(ecode5
)) {
18398 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18400 arg5
= static_cast< int >(val5
);
18401 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18402 if (!SWIG_IsOK(ecode6
)) {
18403 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18405 arg6
= static_cast< double >(val6
);
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= SWIG_Py_Void();
18419 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
= 0;
18421 wxDC
*arg1
= (wxDC
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 PyObject
* obj2
= 0 ;
18432 char * kwnames
[] = {
18433 (char *) "self",(char *) "r",(char *) "radius", NULL
18436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18438 if (!SWIG_IsOK(res1
)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18444 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18446 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18447 if (!SWIG_IsOK(ecode3
)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18450 arg3
= static_cast< double >(val3
);
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 resultobj
= SWIG_Py_Void();
18464 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
= 0;
18466 wxDC
*arg1
= (wxDC
*) 0 ;
18467 wxPoint
*arg2
= 0 ;
18476 PyObject
* obj0
= 0 ;
18477 PyObject
* obj1
= 0 ;
18478 PyObject
* obj2
= 0 ;
18479 PyObject
* obj3
= 0 ;
18480 char * kwnames
[] = {
18481 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18486 if (!SWIG_IsOK(res1
)) {
18487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18496 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18498 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18499 if (!SWIG_IsOK(ecode4
)) {
18500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18502 arg4
= static_cast< double >(val4
);
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_Py_Void();
18516 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
= 0;
18518 wxDC
*arg1
= (wxDC
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 PyObject
* obj2
= 0 ;
18533 PyObject
* obj3
= 0 ;
18534 char * kwnames
[] = {
18535 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18540 if (!SWIG_IsOK(res1
)) {
18541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18545 if (!SWIG_IsOK(ecode2
)) {
18546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18548 arg2
= static_cast< int >(val2
);
18549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18550 if (!SWIG_IsOK(ecode3
)) {
18551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18553 arg3
= static_cast< int >(val3
);
18554 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18555 if (!SWIG_IsOK(ecode4
)) {
18556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18558 arg4
= static_cast< int >(val4
);
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_Py_Void();
18572 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
= 0;
18574 wxDC
*arg1
= (wxDC
*) 0 ;
18575 wxPoint
*arg2
= 0 ;
18582 PyObject
* obj0
= 0 ;
18583 PyObject
* obj1
= 0 ;
18584 PyObject
* obj2
= 0 ;
18585 char * kwnames
[] = {
18586 (char *) "self",(char *) "pt",(char *) "radius", NULL
18589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18591 if (!SWIG_IsOK(res1
)) {
18592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18600 if (!SWIG_IsOK(ecode3
)) {
18601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18603 arg3
= static_cast< int >(val3
);
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= SWIG_Py_Void();
18617 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
= 0;
18619 wxDC
*arg1
= (wxDC
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 PyObject
* obj1
= 0 ;
18636 PyObject
* obj2
= 0 ;
18637 PyObject
* obj3
= 0 ;
18638 PyObject
* obj4
= 0 ;
18639 char * kwnames
[] = {
18640 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18645 if (!SWIG_IsOK(res1
)) {
18646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18650 if (!SWIG_IsOK(ecode2
)) {
18651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18653 arg2
= static_cast< int >(val2
);
18654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18655 if (!SWIG_IsOK(ecode3
)) {
18656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18658 arg3
= static_cast< int >(val3
);
18659 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18660 if (!SWIG_IsOK(ecode4
)) {
18661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18663 arg4
= static_cast< int >(val4
);
18664 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18665 if (!SWIG_IsOK(ecode5
)) {
18666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18668 arg5
= static_cast< int >(val5
);
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 resultobj
= SWIG_Py_Void();
18682 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18683 PyObject
*resultobj
= 0;
18684 wxDC
*arg1
= (wxDC
*) 0 ;
18689 PyObject
* obj0
= 0 ;
18690 PyObject
* obj1
= 0 ;
18691 char * kwnames
[] = {
18692 (char *) "self",(char *) "rect", NULL
18695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18697 if (!SWIG_IsOK(res1
)) {
18698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18703 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_Py_Void();
18718 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
= 0;
18720 wxDC
*arg1
= (wxDC
*) 0 ;
18721 wxPoint
*arg2
= 0 ;
18727 PyObject
* obj0
= 0 ;
18728 PyObject
* obj1
= 0 ;
18729 PyObject
* obj2
= 0 ;
18730 char * kwnames
[] = {
18731 (char *) "self",(char *) "pt",(char *) "sz", NULL
18734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18736 if (!SWIG_IsOK(res1
)) {
18737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18746 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= SWIG_Py_Void();
18761 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
= 0;
18763 wxDC
*arg1
= (wxDC
*) 0 ;
18775 PyObject
* obj0
= 0 ;
18776 PyObject
* obj1
= 0 ;
18777 PyObject
* obj2
= 0 ;
18778 PyObject
* obj3
= 0 ;
18779 char * kwnames
[] = {
18780 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18785 if (!SWIG_IsOK(res1
)) {
18786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18789 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18790 if (!SWIG_IsOK(res2
)) {
18791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18796 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18798 if (!SWIG_IsOK(ecode3
)) {
18799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18801 arg3
= static_cast< int >(val3
);
18802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18803 if (!SWIG_IsOK(ecode4
)) {
18804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18806 arg4
= static_cast< int >(val4
);
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18813 resultobj
= SWIG_Py_Void();
18820 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
= 0;
18822 wxDC
*arg1
= (wxDC
*) 0 ;
18824 wxPoint
*arg3
= 0 ;
18830 PyObject
* obj0
= 0 ;
18831 PyObject
* obj1
= 0 ;
18832 PyObject
* obj2
= 0 ;
18833 char * kwnames
[] = {
18834 (char *) "self",(char *) "icon",(char *) "pt", NULL
18837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18839 if (!SWIG_IsOK(res1
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18844 if (!SWIG_IsOK(res2
)) {
18845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18850 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18853 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_Py_Void();
18868 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
= 0;
18870 wxDC
*arg1
= (wxDC
*) 0 ;
18871 wxBitmap
*arg2
= 0 ;
18874 bool arg5
= (bool) false ;
18885 PyObject
* obj0
= 0 ;
18886 PyObject
* obj1
= 0 ;
18887 PyObject
* obj2
= 0 ;
18888 PyObject
* obj3
= 0 ;
18889 PyObject
* obj4
= 0 ;
18890 char * kwnames
[] = {
18891 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18896 if (!SWIG_IsOK(res1
)) {
18897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18901 if (!SWIG_IsOK(res2
)) {
18902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18907 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18909 if (!SWIG_IsOK(ecode3
)) {
18910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18912 arg3
= static_cast< int >(val3
);
18913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18914 if (!SWIG_IsOK(ecode4
)) {
18915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18917 arg4
= static_cast< int >(val4
);
18919 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18920 if (!SWIG_IsOK(ecode5
)) {
18921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18923 arg5
= static_cast< bool >(val5
);
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18927 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_Py_Void();
18938 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
= 0;
18940 wxDC
*arg1
= (wxDC
*) 0 ;
18941 wxBitmap
*arg2
= 0 ;
18942 wxPoint
*arg3
= 0 ;
18943 bool arg4
= (bool) false ;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 PyObject
* obj2
= 0 ;
18954 PyObject
* obj3
= 0 ;
18955 char * kwnames
[] = {
18956 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18961 if (!SWIG_IsOK(res1
)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18966 if (!SWIG_IsOK(res2
)) {
18967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18972 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18975 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18978 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18979 if (!SWIG_IsOK(ecode4
)) {
18980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18982 arg4
= static_cast< bool >(val4
);
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= SWIG_Py_Void();
18997 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
= 0;
18999 wxDC
*arg1
= (wxDC
*) 0 ;
19000 wxString
*arg2
= 0 ;
19005 bool temp2
= false ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 PyObject
* obj2
= 0 ;
19013 PyObject
* obj3
= 0 ;
19014 char * kwnames
[] = {
19015 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19020 if (!SWIG_IsOK(res1
)) {
19021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19025 arg2
= wxString_in_helper(obj1
);
19026 if (arg2
== NULL
) SWIG_fail
;
19029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19030 if (!SWIG_IsOK(ecode3
)) {
19031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19033 arg3
= static_cast< int >(val3
);
19034 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19035 if (!SWIG_IsOK(ecode4
)) {
19036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19038 arg4
= static_cast< int >(val4
);
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_Py_Void();
19060 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
= 0;
19062 wxDC
*arg1
= (wxDC
*) 0 ;
19063 wxString
*arg2
= 0 ;
19064 wxPoint
*arg3
= 0 ;
19067 bool temp2
= false ;
19069 PyObject
* obj0
= 0 ;
19070 PyObject
* obj1
= 0 ;
19071 PyObject
* obj2
= 0 ;
19072 char * kwnames
[] = {
19073 (char *) "self",(char *) "text",(char *) "pt", NULL
19076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19078 if (!SWIG_IsOK(res1
)) {
19079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19083 arg2
= wxString_in_helper(obj1
);
19084 if (arg2
== NULL
) SWIG_fail
;
19089 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= SWIG_Py_Void();
19112 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
= 0;
19114 wxDC
*arg1
= (wxDC
*) 0 ;
19115 wxString
*arg2
= 0 ;
19121 bool temp2
= false ;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 PyObject
* obj2
= 0 ;
19131 PyObject
* obj3
= 0 ;
19132 PyObject
* obj4
= 0 ;
19133 char * kwnames
[] = {
19134 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19139 if (!SWIG_IsOK(res1
)) {
19140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19144 arg2
= wxString_in_helper(obj1
);
19145 if (arg2
== NULL
) SWIG_fail
;
19148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19149 if (!SWIG_IsOK(ecode3
)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19152 arg3
= static_cast< int >(val3
);
19153 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19154 if (!SWIG_IsOK(ecode4
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19157 arg4
= static_cast< int >(val4
);
19158 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19159 if (!SWIG_IsOK(ecode5
)) {
19160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19162 arg5
= static_cast< double >(val5
);
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_Py_Void();
19184 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
= 0;
19186 wxDC
*arg1
= (wxDC
*) 0 ;
19187 wxString
*arg2
= 0 ;
19188 wxPoint
*arg3
= 0 ;
19192 bool temp2
= false ;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 PyObject
* obj2
= 0 ;
19199 PyObject
* obj3
= 0 ;
19200 char * kwnames
[] = {
19201 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19206 if (!SWIG_IsOK(res1
)) {
19207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19211 arg2
= wxString_in_helper(obj1
);
19212 if (arg2
== NULL
) SWIG_fail
;
19217 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19219 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19220 if (!SWIG_IsOK(ecode4
)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19223 arg4
= static_cast< double >(val4
);
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= SWIG_Py_Void();
19245 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
= 0;
19247 wxDC
*arg1
= (wxDC
*) 0 ;
19252 wxDC
*arg6
= (wxDC
*) 0 ;
19255 int arg9
= (int) wxCOPY
;
19256 bool arg10
= (bool) false ;
19257 int arg11
= (int) -1 ;
19258 int arg12
= (int) -1 ;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 PyObject
* obj2
= 0 ;
19287 PyObject
* obj3
= 0 ;
19288 PyObject
* obj4
= 0 ;
19289 PyObject
* obj5
= 0 ;
19290 PyObject
* obj6
= 0 ;
19291 PyObject
* obj7
= 0 ;
19292 PyObject
* obj8
= 0 ;
19293 PyObject
* obj9
= 0 ;
19294 PyObject
* obj10
= 0 ;
19295 PyObject
* obj11
= 0 ;
19296 char * kwnames
[] = {
19297 (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
19300 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
;
19301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19305 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19307 if (!SWIG_IsOK(ecode2
)) {
19308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19310 arg2
= static_cast< int >(val2
);
19311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19312 if (!SWIG_IsOK(ecode3
)) {
19313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19315 arg3
= static_cast< int >(val3
);
19316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19317 if (!SWIG_IsOK(ecode4
)) {
19318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19320 arg4
= static_cast< int >(val4
);
19321 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19322 if (!SWIG_IsOK(ecode5
)) {
19323 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19325 arg5
= static_cast< int >(val5
);
19326 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19327 if (!SWIG_IsOK(res6
)) {
19328 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19330 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19331 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19332 if (!SWIG_IsOK(ecode7
)) {
19333 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19335 arg7
= static_cast< int >(val7
);
19336 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19337 if (!SWIG_IsOK(ecode8
)) {
19338 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19340 arg8
= static_cast< int >(val8
);
19342 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19343 if (!SWIG_IsOK(ecode9
)) {
19344 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19346 arg9
= static_cast< int >(val9
);
19349 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19350 if (!SWIG_IsOK(ecode10
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19353 arg10
= static_cast< bool >(val10
);
19356 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19357 if (!SWIG_IsOK(ecode11
)) {
19358 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19360 arg11
= static_cast< int >(val11
);
19363 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19364 if (!SWIG_IsOK(ecode12
)) {
19365 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19367 arg12
= static_cast< int >(val12
);
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19384 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
= 0;
19386 wxDC
*arg1
= (wxDC
*) 0 ;
19387 wxPoint
*arg2
= 0 ;
19389 wxDC
*arg4
= (wxDC
*) 0 ;
19390 wxPoint
*arg5
= 0 ;
19391 int arg6
= (int) wxCOPY
;
19392 bool arg7
= (bool) false ;
19393 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19394 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 PyObject
* obj2
= 0 ;
19411 PyObject
* obj3
= 0 ;
19412 PyObject
* obj4
= 0 ;
19413 PyObject
* obj5
= 0 ;
19414 PyObject
* obj6
= 0 ;
19415 PyObject
* obj7
= 0 ;
19416 char * kwnames
[] = {
19417 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19422 if (!SWIG_IsOK(res1
)) {
19423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19432 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19434 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19435 if (!SWIG_IsOK(res4
)) {
19436 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19438 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19441 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19444 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19445 if (!SWIG_IsOK(ecode6
)) {
19446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19448 arg6
= static_cast< int >(val6
);
19451 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19452 if (!SWIG_IsOK(ecode7
)) {
19453 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19455 arg7
= static_cast< bool >(val7
);
19460 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19478 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
= 0;
19480 wxDC
*arg1
= (wxDC
*) 0 ;
19495 PyObject
* obj0
= 0 ;
19496 PyObject
* obj1
= 0 ;
19497 PyObject
* obj2
= 0 ;
19498 PyObject
* obj3
= 0 ;
19499 PyObject
* obj4
= 0 ;
19500 char * kwnames
[] = {
19501 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19506 if (!SWIG_IsOK(res1
)) {
19507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19511 if (!SWIG_IsOK(ecode2
)) {
19512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19514 arg2
= static_cast< int >(val2
);
19515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19516 if (!SWIG_IsOK(ecode3
)) {
19517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19519 arg3
= static_cast< int >(val3
);
19520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19521 if (!SWIG_IsOK(ecode4
)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19524 arg4
= static_cast< int >(val4
);
19525 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19526 if (!SWIG_IsOK(ecode5
)) {
19527 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19529 arg5
= static_cast< int >(val5
);
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_Py_Void();
19543 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
= 0;
19545 wxDC
*arg1
= (wxDC
*) 0 ;
19546 wxPoint
*arg2
= 0 ;
19552 PyObject
* obj0
= 0 ;
19553 PyObject
* obj1
= 0 ;
19554 PyObject
* obj2
= 0 ;
19555 char * kwnames
[] = {
19556 (char *) "self",(char *) "pt",(char *) "sz", NULL
19559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19561 if (!SWIG_IsOK(res1
)) {
19562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19567 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19571 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= SWIG_Py_Void();
19586 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
= 0;
19588 wxDC
*arg1
= (wxDC
*) 0 ;
19589 wxRegion
*arg2
= 0 ;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 char * kwnames
[] = {
19597 (char *) "self",(char *) "region", NULL
19600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19602 if (!SWIG_IsOK(res1
)) {
19603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19607 if (!SWIG_IsOK(res2
)) {
19608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19613 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= SWIG_Py_Void();
19627 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
= 0;
19629 wxDC
*arg1
= (wxDC
*) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 PyObject
* obj1
= 0 ;
19636 char * kwnames
[] = {
19637 (char *) "self",(char *) "rect", NULL
19640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19642 if (!SWIG_IsOK(res1
)) {
19643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19645 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19648 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_Py_Void();
19663 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
= 0;
19665 wxDC
*arg1
= (wxDC
*) 0 ;
19667 wxPoint
*arg3
= (wxPoint
*) 0 ;
19668 int arg4
= (int) 0 ;
19669 int arg5
= (int) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 PyObject
* obj2
= 0 ;
19679 PyObject
* obj3
= 0 ;
19680 char * kwnames
[] = {
19681 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19686 if (!SWIG_IsOK(res1
)) {
19687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19691 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19692 if (arg3
== NULL
) SWIG_fail
;
19695 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19696 if (!SWIG_IsOK(ecode4
)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19699 arg4
= static_cast< int >(val4
);
19702 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19703 if (!SWIG_IsOK(ecode5
)) {
19704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19706 arg5
= static_cast< int >(val5
);
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_Py_Void();
19716 if (arg3
) delete [] arg3
;
19721 if (arg3
) delete [] arg3
;
19727 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
= 0;
19729 wxDC
*arg1
= (wxDC
*) 0 ;
19731 wxPoint
*arg3
= (wxPoint
*) 0 ;
19732 int arg4
= (int) 0 ;
19733 int arg5
= (int) 0 ;
19734 int arg6
= (int) wxODDEVEN_RULE
;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 PyObject
* obj2
= 0 ;
19746 PyObject
* obj3
= 0 ;
19747 PyObject
* obj4
= 0 ;
19748 char * kwnames
[] = {
19749 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19754 if (!SWIG_IsOK(res1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19759 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19760 if (arg3
== NULL
) SWIG_fail
;
19763 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19764 if (!SWIG_IsOK(ecode4
)) {
19765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19767 arg4
= static_cast< int >(val4
);
19770 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19771 if (!SWIG_IsOK(ecode5
)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19774 arg5
= static_cast< int >(val5
);
19777 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19778 if (!SWIG_IsOK(ecode6
)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19781 arg6
= static_cast< int >(val6
);
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_Py_Void();
19791 if (arg3
) delete [] arg3
;
19796 if (arg3
) delete [] arg3
;
19802 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
= 0;
19804 wxDC
*arg1
= (wxDC
*) 0 ;
19805 wxString
*arg2
= 0 ;
19807 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19808 int arg5
= (int) -1 ;
19811 bool temp2
= false ;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 PyObject
* obj2
= 0 ;
19820 PyObject
* obj3
= 0 ;
19821 PyObject
* obj4
= 0 ;
19822 char * kwnames
[] = {
19823 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19828 if (!SWIG_IsOK(res1
)) {
19829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19831 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19833 arg2
= wxString_in_helper(obj1
);
19834 if (arg2
== NULL
) SWIG_fail
;
19839 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19842 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19843 if (!SWIG_IsOK(ecode4
)) {
19844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19846 arg4
= static_cast< int >(val4
);
19849 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19850 if (!SWIG_IsOK(ecode5
)) {
19851 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19853 arg5
= static_cast< int >(val5
);
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= SWIG_Py_Void();
19876 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
= 0;
19878 wxDC
*arg1
= (wxDC
*) 0 ;
19879 wxString
*arg2
= 0 ;
19880 wxBitmap
*arg3
= 0 ;
19882 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19883 int arg6
= (int) -1 ;
19887 bool temp2
= false ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 PyObject
* obj2
= 0 ;
19898 PyObject
* obj3
= 0 ;
19899 PyObject
* obj4
= 0 ;
19900 PyObject
* obj5
= 0 ;
19901 char * kwnames
[] = {
19902 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19907 if (!SWIG_IsOK(res1
)) {
19908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19912 arg2
= wxString_in_helper(obj1
);
19913 if (arg2
== NULL
) SWIG_fail
;
19916 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19917 if (!SWIG_IsOK(res3
)) {
19918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19923 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19926 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19929 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19930 if (!SWIG_IsOK(ecode5
)) {
19931 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19933 arg5
= static_cast< int >(val5
);
19936 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19937 if (!SWIG_IsOK(ecode6
)) {
19938 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19940 arg6
= static_cast< int >(val6
);
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19963 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
= 0;
19965 wxDC
*arg1
= (wxDC
*) 0 ;
19967 wxPoint
*arg3
= (wxPoint
*) 0 ;
19970 PyObject
* obj0
= 0 ;
19971 PyObject
* obj1
= 0 ;
19972 char * kwnames
[] = {
19973 (char *) "self",(char *) "points", NULL
19976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19978 if (!SWIG_IsOK(res1
)) {
19979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19983 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19984 if (arg3
== NULL
) SWIG_fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 (arg1
)->DrawSpline(arg2
,arg3
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_Py_Void();
19994 if (arg3
) delete [] arg3
;
19999 if (arg3
) delete [] arg3
;
20005 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20006 PyObject
*resultobj
= 0;
20007 wxDC
*arg1
= (wxDC
*) 0 ;
20010 PyObject
*swig_obj
[1] ;
20012 if (!args
) SWIG_fail
;
20013 swig_obj
[0] = args
;
20014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20015 if (!SWIG_IsOK(res1
)) {
20016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= SWIG_Py_Void();
20032 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
= 0;
20034 wxDC
*arg1
= (wxDC
*) 0 ;
20035 wxString
*arg2
= 0 ;
20039 bool temp2
= false ;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20042 char * kwnames
[] = {
20043 (char *) "self",(char *) "message", NULL
20046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20048 if (!SWIG_IsOK(res1
)) {
20049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20053 arg2
= wxString_in_helper(obj1
);
20054 if (arg2
== NULL
) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20080 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20081 PyObject
*resultobj
= 0;
20082 wxDC
*arg1
= (wxDC
*) 0 ;
20085 PyObject
*swig_obj
[1] ;
20087 if (!args
) SWIG_fail
;
20088 swig_obj
[0] = args
;
20089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20090 if (!SWIG_IsOK(res1
)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= SWIG_Py_Void();
20107 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20108 PyObject
*resultobj
= 0;
20109 wxDC
*arg1
= (wxDC
*) 0 ;
20112 PyObject
*swig_obj
[1] ;
20114 if (!args
) SWIG_fail
;
20115 swig_obj
[0] = args
;
20116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20117 if (!SWIG_IsOK(res1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 (arg1
)->StartPage();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_Py_Void();
20134 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20135 PyObject
*resultobj
= 0;
20136 wxDC
*arg1
= (wxDC
*) 0 ;
20139 PyObject
*swig_obj
[1] ;
20141 if (!args
) SWIG_fail
;
20142 swig_obj
[0] = args
;
20143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20144 if (!SWIG_IsOK(res1
)) {
20145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_Py_Void();
20161 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
= 0;
20163 wxDC
*arg1
= (wxDC
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 char * kwnames
[] = {
20172 (char *) "self",(char *) "font", NULL
20175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20177 if (!SWIG_IsOK(res1
)) {
20178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20182 if (!SWIG_IsOK(res2
)) {
20183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20188 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 (arg1
)->SetFont((wxFont
const &)*arg2
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= SWIG_Py_Void();
20202 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
= 0;
20204 wxDC
*arg1
= (wxDC
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char * kwnames
[] = {
20213 (char *) "self",(char *) "pen", NULL
20216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20218 if (!SWIG_IsOK(res1
)) {
20219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20223 if (!SWIG_IsOK(res2
)) {
20224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20229 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 (arg1
)->SetPen((wxPen
const &)*arg2
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 resultobj
= SWIG_Py_Void();
20243 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
= 0;
20245 wxDC
*arg1
= (wxDC
*) 0 ;
20246 wxBrush
*arg2
= 0 ;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char * kwnames
[] = {
20254 (char *) "self",(char *) "brush", NULL
20257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20259 if (!SWIG_IsOK(res1
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20264 if (!SWIG_IsOK(res2
)) {
20265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20270 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_Py_Void();
20284 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
= 0;
20286 wxDC
*arg1
= (wxDC
*) 0 ;
20287 wxBrush
*arg2
= 0 ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char * kwnames
[] = {
20295 (char *) "self",(char *) "brush", NULL
20298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20300 if (!SWIG_IsOK(res1
)) {
20301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20303 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20305 if (!SWIG_IsOK(res2
)) {
20306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20311 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_Py_Void();
20325 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
= 0;
20327 wxDC
*arg1
= (wxDC
*) 0 ;
20333 PyObject
* obj0
= 0 ;
20334 PyObject
* obj1
= 0 ;
20335 char * kwnames
[] = {
20336 (char *) "self",(char *) "mode", NULL
20339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20341 if (!SWIG_IsOK(res1
)) {
20342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20346 if (!SWIG_IsOK(ecode2
)) {
20347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20349 arg2
= static_cast< int >(val2
);
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->SetBackgroundMode(arg2
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= SWIG_Py_Void();
20363 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
= 0;
20365 wxDC
*arg1
= (wxDC
*) 0 ;
20366 wxPalette
*arg2
= 0 ;
20371 PyObject
* obj0
= 0 ;
20372 PyObject
* obj1
= 0 ;
20373 char * kwnames
[] = {
20374 (char *) "self",(char *) "palette", NULL
20377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20379 if (!SWIG_IsOK(res1
)) {
20380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20384 if (!SWIG_IsOK(res2
)) {
20385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20390 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_Py_Void();
20404 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20405 PyObject
*resultobj
= 0;
20406 wxDC
*arg1
= (wxDC
*) 0 ;
20409 PyObject
*swig_obj
[1] ;
20411 if (!args
) SWIG_fail
;
20412 swig_obj
[0] = args
;
20413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20414 if (!SWIG_IsOK(res1
)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 (arg1
)->DestroyClippingRegion();
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_Py_Void();
20431 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20432 PyObject
*resultobj
= 0;
20433 wxDC
*arg1
= (wxDC
*) 0 ;
20434 int *arg2
= (int *) 0 ;
20435 int *arg3
= (int *) 0 ;
20436 int *arg4
= (int *) 0 ;
20437 int *arg5
= (int *) 0 ;
20441 int res2
= SWIG_TMPOBJ
;
20443 int res3
= SWIG_TMPOBJ
;
20445 int res4
= SWIG_TMPOBJ
;
20447 int res5
= SWIG_TMPOBJ
;
20448 PyObject
*swig_obj
[1] ;
20454 if (!args
) SWIG_fail
;
20455 swig_obj
[0] = args
;
20456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20457 if (!SWIG_IsOK(res1
)) {
20458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= SWIG_Py_Void();
20468 if (SWIG_IsTmpObj(res2
)) {
20469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20471 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20474 if (SWIG_IsTmpObj(res3
)) {
20475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20477 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20480 if (SWIG_IsTmpObj(res4
)) {
20481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20483 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20486 if (SWIG_IsTmpObj(res5
)) {
20487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20489 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20498 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20499 PyObject
*resultobj
= 0;
20500 wxDC
*arg1
= (wxDC
*) 0 ;
20504 PyObject
*swig_obj
[1] ;
20506 if (!args
) SWIG_fail
;
20507 swig_obj
[0] = args
;
20508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20509 if (!SWIG_IsOK(res1
)) {
20510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 result
= wxDC_GetClippingRect(arg1
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20526 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20527 PyObject
*resultobj
= 0;
20528 wxDC
*arg1
= (wxDC
*) 0 ;
20532 PyObject
*swig_obj
[1] ;
20534 if (!args
) SWIG_fail
;
20535 swig_obj
[0] = args
;
20536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20537 if (!SWIG_IsOK(res1
)) {
20538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= SWIG_From_int(static_cast< int >(result
));
20554 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20555 PyObject
*resultobj
= 0;
20556 wxDC
*arg1
= (wxDC
*) 0 ;
20560 PyObject
*swig_obj
[1] ;
20562 if (!args
) SWIG_fail
;
20563 swig_obj
[0] = args
;
20564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20565 if (!SWIG_IsOK(res1
)) {
20566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20568 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_From_int(static_cast< int >(result
));
20582 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
= 0;
20584 wxDC
*arg1
= (wxDC
*) 0 ;
20585 wxString
*arg2
= 0 ;
20586 int *arg3
= (int *) 0 ;
20587 int *arg4
= (int *) 0 ;
20590 bool temp2
= false ;
20592 int res3
= SWIG_TMPOBJ
;
20594 int res4
= SWIG_TMPOBJ
;
20595 PyObject
* obj0
= 0 ;
20596 PyObject
* obj1
= 0 ;
20597 char * kwnames
[] = {
20598 (char *) "self",(char *) "string", NULL
20603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20605 if (!SWIG_IsOK(res1
)) {
20606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20608 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20610 arg2
= wxString_in_helper(obj1
);
20611 if (arg2
== NULL
) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= SWIG_Py_Void();
20621 if (SWIG_IsTmpObj(res3
)) {
20622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20624 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20627 if (SWIG_IsTmpObj(res4
)) {
20628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20630 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20647 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
= 0;
20649 wxDC
*arg1
= (wxDC
*) 0 ;
20650 wxString
*arg2
= 0 ;
20651 int *arg3
= (int *) 0 ;
20652 int *arg4
= (int *) 0 ;
20653 int *arg5
= (int *) 0 ;
20654 int *arg6
= (int *) 0 ;
20655 wxFont
*arg7
= (wxFont
*) NULL
;
20658 bool temp2
= false ;
20660 int res3
= SWIG_TMPOBJ
;
20662 int res4
= SWIG_TMPOBJ
;
20664 int res5
= SWIG_TMPOBJ
;
20666 int res6
= SWIG_TMPOBJ
;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 PyObject
* obj2
= 0 ;
20672 char * kwnames
[] = {
20673 (char *) "self",(char *) "string",(char *) "font", NULL
20680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20682 if (!SWIG_IsOK(res1
)) {
20683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20685 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20687 arg2
= wxString_in_helper(obj1
);
20688 if (arg2
== NULL
) SWIG_fail
;
20692 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20693 if (!SWIG_IsOK(res7
)) {
20694 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20696 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20704 resultobj
= SWIG_Py_Void();
20705 if (SWIG_IsTmpObj(res3
)) {
20706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20708 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20711 if (SWIG_IsTmpObj(res4
)) {
20712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20714 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20717 if (SWIG_IsTmpObj(res5
)) {
20718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20720 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20723 if (SWIG_IsTmpObj(res6
)) {
20724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20726 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20743 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
= 0;
20745 wxDC
*arg1
= (wxDC
*) 0 ;
20746 wxString
*arg2
= 0 ;
20747 int *arg3
= (int *) 0 ;
20748 int *arg4
= (int *) 0 ;
20749 int *arg5
= (int *) 0 ;
20750 wxFont
*arg6
= (wxFont
*) NULL
;
20753 bool temp2
= false ;
20755 int res3
= SWIG_TMPOBJ
;
20757 int res4
= SWIG_TMPOBJ
;
20759 int res5
= SWIG_TMPOBJ
;
20762 PyObject
* obj0
= 0 ;
20763 PyObject
* obj1
= 0 ;
20764 PyObject
* obj2
= 0 ;
20765 char * kwnames
[] = {
20766 (char *) "self",(char *) "text",(char *) "font", NULL
20772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20774 if (!SWIG_IsOK(res1
)) {
20775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20779 arg2
= wxString_in_helper(obj1
);
20780 if (arg2
== NULL
) SWIG_fail
;
20784 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20785 if (!SWIG_IsOK(res6
)) {
20786 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20788 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20792 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_Py_Void();
20797 if (SWIG_IsTmpObj(res3
)) {
20798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20800 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20803 if (SWIG_IsTmpObj(res4
)) {
20804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20806 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20809 if (SWIG_IsTmpObj(res5
)) {
20810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20812 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20829 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
= 0;
20831 wxDC
*arg1
= (wxDC
*) 0 ;
20832 wxString
*arg2
= 0 ;
20836 bool temp2
= false ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char * kwnames
[] = {
20840 (char *) "self",(char *) "text", NULL
20843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20845 if (!SWIG_IsOK(res1
)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20850 arg2
= wxString_in_helper(obj1
);
20851 if (arg2
== NULL
) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= wxArrayInt2PyList_helper(result
);
20877 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20878 PyObject
*resultobj
= 0;
20879 wxDC
*arg1
= (wxDC
*) 0 ;
20883 PyObject
*swig_obj
[1] ;
20885 if (!args
) SWIG_fail
;
20886 swig_obj
[0] = args
;
20887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20888 if (!SWIG_IsOK(res1
)) {
20889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= (arg1
)->GetSize();
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20905 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20906 PyObject
*resultobj
= 0;
20907 wxDC
*arg1
= (wxDC
*) 0 ;
20908 int *arg2
= (int *) 0 ;
20909 int *arg3
= (int *) 0 ;
20913 int res2
= SWIG_TMPOBJ
;
20915 int res3
= SWIG_TMPOBJ
;
20916 PyObject
*swig_obj
[1] ;
20920 if (!args
) SWIG_fail
;
20921 swig_obj
[0] = args
;
20922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20923 if (!SWIG_IsOK(res1
)) {
20924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 (arg1
)->GetSize(arg2
,arg3
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= SWIG_Py_Void();
20934 if (SWIG_IsTmpObj(res2
)) {
20935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20937 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20940 if (SWIG_IsTmpObj(res3
)) {
20941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20943 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20952 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20953 PyObject
*resultobj
= 0;
20954 wxDC
*arg1
= (wxDC
*) 0 ;
20958 PyObject
*swig_obj
[1] ;
20960 if (!args
) SWIG_fail
;
20961 swig_obj
[0] = args
;
20962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20963 if (!SWIG_IsOK(res1
)) {
20964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20980 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20981 PyObject
*resultobj
= 0;
20982 wxDC
*arg1
= (wxDC
*) 0 ;
20983 int *arg2
= (int *) 0 ;
20984 int *arg3
= (int *) 0 ;
20988 int res2
= SWIG_TMPOBJ
;
20990 int res3
= SWIG_TMPOBJ
;
20991 PyObject
*swig_obj
[1] ;
20995 if (!args
) SWIG_fail
;
20996 swig_obj
[0] = args
;
20997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20998 if (!SWIG_IsOK(res1
)) {
20999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21001 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= SWIG_Py_Void();
21009 if (SWIG_IsTmpObj(res2
)) {
21010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21012 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21015 if (SWIG_IsTmpObj(res3
)) {
21016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21018 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21027 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
= 0;
21029 wxDC
*arg1
= (wxDC
*) 0 ;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 char * kwnames
[] = {
21039 (char *) "self",(char *) "x", NULL
21042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21049 if (!SWIG_IsOK(ecode2
)) {
21050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21052 arg2
= static_cast< int >(val2
);
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= SWIG_From_int(static_cast< int >(result
));
21066 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
= 0;
21068 wxDC
*arg1
= (wxDC
*) 0 ;
21075 PyObject
* obj0
= 0 ;
21076 PyObject
* obj1
= 0 ;
21077 char * kwnames
[] = {
21078 (char *) "self",(char *) "y", NULL
21081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21083 if (!SWIG_IsOK(res1
)) {
21084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21088 if (!SWIG_IsOK(ecode2
)) {
21089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21091 arg2
= static_cast< int >(val2
);
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= SWIG_From_int(static_cast< int >(result
));
21105 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
= 0;
21107 wxDC
*arg1
= (wxDC
*) 0 ;
21114 PyObject
* obj0
= 0 ;
21115 PyObject
* obj1
= 0 ;
21116 char * kwnames
[] = {
21117 (char *) "self",(char *) "x", NULL
21120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21122 if (!SWIG_IsOK(res1
)) {
21123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21127 if (!SWIG_IsOK(ecode2
)) {
21128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21130 arg2
= static_cast< int >(val2
);
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 resultobj
= SWIG_From_int(static_cast< int >(result
));
21144 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
= 0;
21146 wxDC
*arg1
= (wxDC
*) 0 ;
21153 PyObject
* obj0
= 0 ;
21154 PyObject
* obj1
= 0 ;
21155 char * kwnames
[] = {
21156 (char *) "self",(char *) "y", NULL
21159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21161 if (!SWIG_IsOK(res1
)) {
21162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21166 if (!SWIG_IsOK(ecode2
)) {
21167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21169 arg2
= static_cast< int >(val2
);
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 resultobj
= SWIG_From_int(static_cast< int >(result
));
21183 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
= 0;
21185 wxDC
*arg1
= (wxDC
*) 0 ;
21192 PyObject
* obj0
= 0 ;
21193 PyObject
* obj1
= 0 ;
21194 char * kwnames
[] = {
21195 (char *) "self",(char *) "x", NULL
21198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21200 if (!SWIG_IsOK(res1
)) {
21201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21205 if (!SWIG_IsOK(ecode2
)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21208 arg2
= static_cast< int >(val2
);
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= SWIG_From_int(static_cast< int >(result
));
21222 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
= 0;
21224 wxDC
*arg1
= (wxDC
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 PyObject
* obj1
= 0 ;
21233 char * kwnames
[] = {
21234 (char *) "self",(char *) "y", NULL
21237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21239 if (!SWIG_IsOK(res1
)) {
21240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21244 if (!SWIG_IsOK(ecode2
)) {
21245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21247 arg2
= static_cast< int >(val2
);
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= SWIG_From_int(static_cast< int >(result
));
21261 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
= 0;
21263 wxDC
*arg1
= (wxDC
*) 0 ;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 char * kwnames
[] = {
21273 (char *) "self",(char *) "x", NULL
21276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21278 if (!SWIG_IsOK(res1
)) {
21279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21283 if (!SWIG_IsOK(ecode2
)) {
21284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21286 arg2
= static_cast< int >(val2
);
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= SWIG_From_int(static_cast< int >(result
));
21300 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
= 0;
21302 wxDC
*arg1
= (wxDC
*) 0 ;
21309 PyObject
* obj0
= 0 ;
21310 PyObject
* obj1
= 0 ;
21311 char * kwnames
[] = {
21312 (char *) "self",(char *) "y", NULL
21315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21317 if (!SWIG_IsOK(res1
)) {
21318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21322 if (!SWIG_IsOK(ecode2
)) {
21323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21325 arg2
= static_cast< int >(val2
);
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_From_int(static_cast< int >(result
));
21339 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21340 PyObject
*resultobj
= 0;
21341 wxDC
*arg1
= (wxDC
*) 0 ;
21345 PyObject
*swig_obj
[1] ;
21347 if (!args
) SWIG_fail
;
21348 swig_obj
[0] = args
;
21349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21350 if (!SWIG_IsOK(res1
)) {
21351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21369 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21370 PyObject
*resultobj
= 0;
21371 wxDC
*arg1
= (wxDC
*) 0 ;
21375 PyObject
*swig_obj
[1] ;
21377 if (!args
) SWIG_fail
;
21378 swig_obj
[0] = args
;
21379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21380 if (!SWIG_IsOK(res1
)) {
21381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21399 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21400 PyObject
*resultobj
= 0;
21401 wxDC
*arg1
= (wxDC
*) 0 ;
21405 PyObject
*swig_obj
[1] ;
21407 if (!args
) SWIG_fail
;
21408 swig_obj
[0] = args
;
21409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21410 if (!SWIG_IsOK(res1
)) {
21411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= SWIG_From_int(static_cast< int >(result
));
21427 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21428 PyObject
*resultobj
= 0;
21429 wxDC
*arg1
= (wxDC
*) 0 ;
21433 PyObject
*swig_obj
[1] ;
21435 if (!args
) SWIG_fail
;
21436 swig_obj
[0] = args
;
21437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21438 if (!SWIG_IsOK(res1
)) {
21439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= ((wxDC
const *)arg1
)->GetPPI();
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21455 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21456 PyObject
*resultobj
= 0;
21457 wxDC
*arg1
= (wxDC
*) 0 ;
21461 PyObject
*swig_obj
[1] ;
21463 if (!args
) SWIG_fail
;
21464 swig_obj
[0] = args
;
21465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21466 if (!SWIG_IsOK(res1
)) {
21467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21485 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21486 PyObject
*resultobj
= 0;
21487 wxDC
*arg1
= (wxDC
*) 0 ;
21491 PyObject
*swig_obj
[1] ;
21493 if (!args
) SWIG_fail
;
21494 swig_obj
[0] = args
;
21495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21496 if (!SWIG_IsOK(res1
)) {
21497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21506 resultobj
= SWIG_From_int(static_cast< int >(result
));
21513 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21514 PyObject
*resultobj
= 0;
21515 wxDC
*arg1
= (wxDC
*) 0 ;
21516 wxBrush
*result
= 0 ;
21519 PyObject
*swig_obj
[1] ;
21521 if (!args
) SWIG_fail
;
21522 swig_obj
[0] = args
;
21523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21524 if (!SWIG_IsOK(res1
)) {
21525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21532 result
= (wxBrush
*) &_result_ref
;
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21538 wxBrush
* resultptr
= new wxBrush(*result
);
21539 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21547 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21548 PyObject
*resultobj
= 0;
21549 wxDC
*arg1
= (wxDC
*) 0 ;
21550 wxBrush
*result
= 0 ;
21553 PyObject
*swig_obj
[1] ;
21555 if (!args
) SWIG_fail
;
21556 swig_obj
[0] = args
;
21557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21558 if (!SWIG_IsOK(res1
)) {
21559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21566 result
= (wxBrush
*) &_result_ref
;
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21572 wxBrush
* resultptr
= new wxBrush(*result
);
21573 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21581 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21582 PyObject
*resultobj
= 0;
21583 wxDC
*arg1
= (wxDC
*) 0 ;
21584 wxFont
*result
= 0 ;
21587 PyObject
*swig_obj
[1] ;
21589 if (!args
) SWIG_fail
;
21590 swig_obj
[0] = args
;
21591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21592 if (!SWIG_IsOK(res1
)) {
21593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21600 result
= (wxFont
*) &_result_ref
;
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21606 wxFont
* resultptr
= new wxFont(*result
);
21607 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21615 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21616 PyObject
*resultobj
= 0;
21617 wxDC
*arg1
= (wxDC
*) 0 ;
21618 wxPen
*result
= 0 ;
21621 PyObject
*swig_obj
[1] ;
21623 if (!args
) SWIG_fail
;
21624 swig_obj
[0] = args
;
21625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21626 if (!SWIG_IsOK(res1
)) {
21627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21629 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21634 result
= (wxPen
*) &_result_ref
;
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 wxPen
* resultptr
= new wxPen(*result
);
21641 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21649 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21650 PyObject
*resultobj
= 0;
21651 wxDC
*arg1
= (wxDC
*) 0 ;
21652 wxColour
*result
= 0 ;
21655 PyObject
*swig_obj
[1] ;
21657 if (!args
) SWIG_fail
;
21658 swig_obj
[0] = args
;
21659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21660 if (!SWIG_IsOK(res1
)) {
21661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21668 result
= (wxColour
*) &_result_ref
;
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21680 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21681 PyObject
*resultobj
= 0;
21682 wxDC
*arg1
= (wxDC
*) 0 ;
21683 wxColour
*result
= 0 ;
21686 PyObject
*swig_obj
[1] ;
21688 if (!args
) SWIG_fail
;
21689 swig_obj
[0] = args
;
21690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21691 if (!SWIG_IsOK(res1
)) {
21692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21699 result
= (wxColour
*) &_result_ref
;
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21711 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
= 0;
21713 wxDC
*arg1
= (wxDC
*) 0 ;
21714 wxColour
*arg2
= 0 ;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 char * kwnames
[] = {
21721 (char *) "self",(char *) "colour", NULL
21724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21726 if (!SWIG_IsOK(res1
)) {
21727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21729 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21732 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= SWIG_Py_Void();
21747 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
= 0;
21749 wxDC
*arg1
= (wxDC
*) 0 ;
21750 wxColour
*arg2
= 0 ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 char * kwnames
[] = {
21757 (char *) "self",(char *) "colour", NULL
21760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21762 if (!SWIG_IsOK(res1
)) {
21763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= SWIG_Py_Void();
21783 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21784 PyObject
*resultobj
= 0;
21785 wxDC
*arg1
= (wxDC
*) 0 ;
21789 PyObject
*swig_obj
[1] ;
21791 if (!args
) SWIG_fail
;
21792 swig_obj
[0] = args
;
21793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= SWIG_From_int(static_cast< int >(result
));
21811 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
= 0;
21813 wxDC
*arg1
= (wxDC
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 char * kwnames
[] = {
21822 (char *) "self",(char *) "mode", NULL
21825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21827 if (!SWIG_IsOK(res1
)) {
21828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21832 if (!SWIG_IsOK(ecode2
)) {
21833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21835 arg2
= static_cast< int >(val2
);
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 (arg1
)->SetMapMode(arg2
);
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 resultobj
= SWIG_Py_Void();
21849 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21850 PyObject
*resultobj
= 0;
21851 wxDC
*arg1
= (wxDC
*) 0 ;
21852 double *arg2
= (double *) 0 ;
21853 double *arg3
= (double *) 0 ;
21857 int res2
= SWIG_TMPOBJ
;
21859 int res3
= SWIG_TMPOBJ
;
21860 PyObject
*swig_obj
[1] ;
21864 if (!args
) SWIG_fail
;
21865 swig_obj
[0] = args
;
21866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21867 if (!SWIG_IsOK(res1
)) {
21868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= SWIG_Py_Void();
21878 if (SWIG_IsTmpObj(res2
)) {
21879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21881 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21884 if (SWIG_IsTmpObj(res3
)) {
21885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21887 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21896 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
= 0;
21898 wxDC
*arg1
= (wxDC
*) 0 ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 PyObject
* obj2
= 0 ;
21910 char * kwnames
[] = {
21911 (char *) "self",(char *) "x",(char *) "y", NULL
21914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21920 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21921 if (!SWIG_IsOK(ecode2
)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21924 arg2
= static_cast< double >(val2
);
21925 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21926 if (!SWIG_IsOK(ecode3
)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21929 arg3
= static_cast< double >(val3
);
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 (arg1
)->SetUserScale(arg2
,arg3
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= SWIG_Py_Void();
21943 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21944 PyObject
*resultobj
= 0;
21945 wxDC
*arg1
= (wxDC
*) 0 ;
21946 double *arg2
= (double *) 0 ;
21947 double *arg3
= (double *) 0 ;
21951 int res2
= SWIG_TMPOBJ
;
21953 int res3
= SWIG_TMPOBJ
;
21954 PyObject
*swig_obj
[1] ;
21958 if (!args
) SWIG_fail
;
21959 swig_obj
[0] = args
;
21960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21961 if (!SWIG_IsOK(res1
)) {
21962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 (arg1
)->GetLogicalScale(arg2
,arg3
);
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= SWIG_Py_Void();
21972 if (SWIG_IsTmpObj(res2
)) {
21973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21975 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21978 if (SWIG_IsTmpObj(res3
)) {
21979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21981 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21990 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
= 0;
21992 wxDC
*arg1
= (wxDC
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 PyObject
* obj2
= 0 ;
22004 char * kwnames
[] = {
22005 (char *) "self",(char *) "x",(char *) "y", NULL
22008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22010 if (!SWIG_IsOK(res1
)) {
22011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22014 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22015 if (!SWIG_IsOK(ecode2
)) {
22016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22018 arg2
= static_cast< double >(val2
);
22019 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22020 if (!SWIG_IsOK(ecode3
)) {
22021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22023 arg3
= static_cast< double >(val3
);
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 (arg1
)->SetLogicalScale(arg2
,arg3
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= SWIG_Py_Void();
22037 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22038 PyObject
*resultobj
= 0;
22039 wxDC
*arg1
= (wxDC
*) 0 ;
22043 PyObject
*swig_obj
[1] ;
22045 if (!args
) SWIG_fail
;
22046 swig_obj
[0] = args
;
22047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22048 if (!SWIG_IsOK(res1
)) {
22049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22065 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22066 PyObject
*resultobj
= 0;
22067 wxDC
*arg1
= (wxDC
*) 0 ;
22068 int *arg2
= (int *) 0 ;
22069 int *arg3
= (int *) 0 ;
22073 int res2
= SWIG_TMPOBJ
;
22075 int res3
= SWIG_TMPOBJ
;
22076 PyObject
*swig_obj
[1] ;
22080 if (!args
) SWIG_fail
;
22081 swig_obj
[0] = args
;
22082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22083 if (!SWIG_IsOK(res1
)) {
22084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_Py_Void();
22094 if (SWIG_IsTmpObj(res2
)) {
22095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22097 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22100 if (SWIG_IsTmpObj(res3
)) {
22101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22103 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22112 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
= 0;
22114 wxDC
*arg1
= (wxDC
*) 0 ;
22123 PyObject
* obj0
= 0 ;
22124 PyObject
* obj1
= 0 ;
22125 PyObject
* obj2
= 0 ;
22126 char * kwnames
[] = {
22127 (char *) "self",(char *) "x",(char *) "y", NULL
22130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22132 if (!SWIG_IsOK(res1
)) {
22133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22137 if (!SWIG_IsOK(ecode2
)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22140 arg2
= static_cast< int >(val2
);
22141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22142 if (!SWIG_IsOK(ecode3
)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22145 arg3
= static_cast< int >(val3
);
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= SWIG_Py_Void();
22159 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
= 0;
22161 wxDC
*arg1
= (wxDC
*) 0 ;
22162 wxPoint
*arg2
= 0 ;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 char * kwnames
[] = {
22169 (char *) "self",(char *) "point", NULL
22172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22174 if (!SWIG_IsOK(res1
)) {
22175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_Py_Void();
22195 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22196 PyObject
*resultobj
= 0;
22197 wxDC
*arg1
= (wxDC
*) 0 ;
22201 PyObject
*swig_obj
[1] ;
22203 if (!args
) SWIG_fail
;
22204 swig_obj
[0] = args
;
22205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22206 if (!SWIG_IsOK(res1
)) {
22207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22223 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22224 PyObject
*resultobj
= 0;
22225 wxDC
*arg1
= (wxDC
*) 0 ;
22226 int *arg2
= (int *) 0 ;
22227 int *arg3
= (int *) 0 ;
22231 int res2
= SWIG_TMPOBJ
;
22233 int res3
= SWIG_TMPOBJ
;
22234 PyObject
*swig_obj
[1] ;
22238 if (!args
) SWIG_fail
;
22239 swig_obj
[0] = args
;
22240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22241 if (!SWIG_IsOK(res1
)) {
22242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= SWIG_Py_Void();
22252 if (SWIG_IsTmpObj(res2
)) {
22253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22255 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22258 if (SWIG_IsTmpObj(res3
)) {
22259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22261 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22270 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
= 0;
22272 wxDC
*arg1
= (wxDC
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 PyObject
* obj2
= 0 ;
22284 char * kwnames
[] = {
22285 (char *) "self",(char *) "x",(char *) "y", NULL
22288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22290 if (!SWIG_IsOK(res1
)) {
22291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22295 if (!SWIG_IsOK(ecode2
)) {
22296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22298 arg2
= static_cast< int >(val2
);
22299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22300 if (!SWIG_IsOK(ecode3
)) {
22301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22303 arg3
= static_cast< int >(val3
);
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= SWIG_Py_Void();
22317 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
= 0;
22319 wxDC
*arg1
= (wxDC
*) 0 ;
22320 wxPoint
*arg2
= 0 ;
22324 PyObject
* obj0
= 0 ;
22325 PyObject
* obj1
= 0 ;
22326 char * kwnames
[] = {
22327 (char *) "self",(char *) "point", NULL
22330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22332 if (!SWIG_IsOK(res1
)) {
22333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 resultobj
= SWIG_Py_Void();
22353 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
= 0;
22355 wxDC
*arg1
= (wxDC
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 PyObject
* obj2
= 0 ;
22367 char * kwnames
[] = {
22368 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22373 if (!SWIG_IsOK(res1
)) {
22374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22377 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22378 if (!SWIG_IsOK(ecode2
)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22381 arg2
= static_cast< bool >(val2
);
22382 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22383 if (!SWIG_IsOK(ecode3
)) {
22384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22386 arg3
= static_cast< bool >(val3
);
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_Py_Void();
22400 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22401 PyObject
*resultobj
= 0;
22402 wxDC
*arg1
= (wxDC
*) 0 ;
22406 PyObject
*swig_obj
[1] ;
22408 if (!args
) SWIG_fail
;
22409 swig_obj
[0] = args
;
22410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22411 if (!SWIG_IsOK(res1
)) {
22412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= SWIG_From_int(static_cast< int >(result
));
22428 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
= 0;
22430 wxDC
*arg1
= (wxDC
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 PyObject
* obj1
= 0 ;
22438 char * kwnames
[] = {
22439 (char *) "self",(char *) "function", NULL
22442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22444 if (!SWIG_IsOK(res1
)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22447 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22449 if (!SWIG_IsOK(ecode2
)) {
22450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22452 arg2
= static_cast< int >(val2
);
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 (arg1
)->SetLogicalFunction(arg2
);
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= SWIG_Py_Void();
22466 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22467 PyObject
*resultobj
= 0;
22468 wxDC
*arg1
= (wxDC
*) 0 ;
22471 PyObject
*swig_obj
[1] ;
22473 if (!args
) SWIG_fail
;
22474 swig_obj
[0] = args
;
22475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22476 if (!SWIG_IsOK(res1
)) {
22477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 (arg1
)->ComputeScaleAndOrigin();
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22486 resultobj
= SWIG_Py_Void();
22493 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
= 0;
22495 wxDC
*arg1
= (wxDC
*) 0 ;
22504 PyObject
* obj0
= 0 ;
22505 PyObject
* obj1
= 0 ;
22506 PyObject
* obj2
= 0 ;
22507 char * kwnames
[] = {
22508 (char *) "self",(char *) "x",(char *) "y", NULL
22511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22513 if (!SWIG_IsOK(res1
)) {
22514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22518 if (!SWIG_IsOK(ecode2
)) {
22519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22521 arg2
= static_cast< int >(val2
);
22522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22523 if (!SWIG_IsOK(ecode3
)) {
22524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22526 arg3
= static_cast< int >(val3
);
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= SWIG_Py_Void();
22540 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
= 0;
22542 wxDC
*arg1
= (wxDC
*) 0 ;
22543 wxPoint
*arg2
= 0 ;
22547 PyObject
* obj0
= 0 ;
22548 PyObject
* obj1
= 0 ;
22549 char * kwnames
[] = {
22550 (char *) "self",(char *) "point", NULL
22553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22555 if (!SWIG_IsOK(res1
)) {
22556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 resultobj
= SWIG_Py_Void();
22576 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22577 PyObject
*resultobj
= 0;
22578 wxDC
*arg1
= (wxDC
*) 0 ;
22581 PyObject
*swig_obj
[1] ;
22583 if (!args
) SWIG_fail
;
22584 swig_obj
[0] = args
;
22585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22586 if (!SWIG_IsOK(res1
)) {
22587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 (arg1
)->ResetBoundingBox();
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= SWIG_Py_Void();
22603 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22604 PyObject
*resultobj
= 0;
22605 wxDC
*arg1
= (wxDC
*) 0 ;
22609 PyObject
*swig_obj
[1] ;
22611 if (!args
) SWIG_fail
;
22612 swig_obj
[0] = args
;
22613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22614 if (!SWIG_IsOK(res1
)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 result
= (int)((wxDC
const *)arg1
)->MinX();
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= SWIG_From_int(static_cast< int >(result
));
22631 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22632 PyObject
*resultobj
= 0;
22633 wxDC
*arg1
= (wxDC
*) 0 ;
22637 PyObject
*swig_obj
[1] ;
22639 if (!args
) SWIG_fail
;
22640 swig_obj
[0] = args
;
22641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22642 if (!SWIG_IsOK(res1
)) {
22643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22645 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= (int)((wxDC
const *)arg1
)->MaxX();
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= SWIG_From_int(static_cast< int >(result
));
22659 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22660 PyObject
*resultobj
= 0;
22661 wxDC
*arg1
= (wxDC
*) 0 ;
22665 PyObject
*swig_obj
[1] ;
22667 if (!args
) SWIG_fail
;
22668 swig_obj
[0] = args
;
22669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22670 if (!SWIG_IsOK(res1
)) {
22671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= (int)((wxDC
const *)arg1
)->MinY();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 resultobj
= SWIG_From_int(static_cast< int >(result
));
22687 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22688 PyObject
*resultobj
= 0;
22689 wxDC
*arg1
= (wxDC
*) 0 ;
22693 PyObject
*swig_obj
[1] ;
22695 if (!args
) SWIG_fail
;
22696 swig_obj
[0] = args
;
22697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22698 if (!SWIG_IsOK(res1
)) {
22699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= (int)((wxDC
const *)arg1
)->MaxY();
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 resultobj
= SWIG_From_int(static_cast< int >(result
));
22715 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22716 PyObject
*resultobj
= 0;
22717 wxDC
*arg1
= (wxDC
*) 0 ;
22718 int *arg2
= (int *) 0 ;
22719 int *arg3
= (int *) 0 ;
22720 int *arg4
= (int *) 0 ;
22721 int *arg5
= (int *) 0 ;
22725 int res2
= SWIG_TMPOBJ
;
22727 int res3
= SWIG_TMPOBJ
;
22729 int res4
= SWIG_TMPOBJ
;
22731 int res5
= SWIG_TMPOBJ
;
22732 PyObject
*swig_obj
[1] ;
22738 if (!args
) SWIG_fail
;
22739 swig_obj
[0] = args
;
22740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22741 if (!SWIG_IsOK(res1
)) {
22742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= SWIG_Py_Void();
22752 if (SWIG_IsTmpObj(res2
)) {
22753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22755 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22758 if (SWIG_IsTmpObj(res3
)) {
22759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22761 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22764 if (SWIG_IsTmpObj(res4
)) {
22765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22767 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22770 if (SWIG_IsTmpObj(res5
)) {
22771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22773 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22774 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22782 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22783 PyObject
*resultobj
= 0;
22784 wxDC
*arg1
= (wxDC
*) 0 ;
22785 wxLayoutDirection result
;
22788 PyObject
*swig_obj
[1] ;
22790 if (!args
) SWIG_fail
;
22791 swig_obj
[0] = args
;
22792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22793 if (!SWIG_IsOK(res1
)) {
22794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 resultobj
= SWIG_From_int(static_cast< int >(result
));
22810 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22811 PyObject
*resultobj
= 0;
22812 wxDC
*arg1
= (wxDC
*) 0 ;
22813 wxLayoutDirection arg2
;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22820 char * kwnames
[] = {
22821 (char *) "self",(char *) "dir", NULL
22824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22826 if (!SWIG_IsOK(res1
)) {
22827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
22829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22831 if (!SWIG_IsOK(ecode2
)) {
22832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
22834 arg2
= static_cast< wxLayoutDirection
>(val2
);
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 (arg1
)->SetLayoutDirection(arg2
);
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_Py_Void();
22848 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
= 0;
22850 wxDC
*arg1
= (wxDC
*) 0 ;
22851 PyObject
*arg2
= (PyObject
*) 0 ;
22852 PyObject
*arg3
= (PyObject
*) 0 ;
22853 PyObject
*arg4
= (PyObject
*) 0 ;
22854 PyObject
*result
= 0 ;
22857 PyObject
* obj0
= 0 ;
22858 PyObject
* obj1
= 0 ;
22859 PyObject
* obj2
= 0 ;
22860 PyObject
* obj3
= 0 ;
22861 char * kwnames
[] = {
22862 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22867 if (!SWIG_IsOK(res1
)) {
22868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= result
;
22887 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
= 0;
22889 wxDC
*arg1
= (wxDC
*) 0 ;
22890 PyObject
*arg2
= (PyObject
*) 0 ;
22891 PyObject
*arg3
= (PyObject
*) 0 ;
22892 PyObject
*arg4
= (PyObject
*) 0 ;
22893 PyObject
*result
= 0 ;
22896 PyObject
* obj0
= 0 ;
22897 PyObject
* obj1
= 0 ;
22898 PyObject
* obj2
= 0 ;
22899 PyObject
* obj3
= 0 ;
22900 char * kwnames
[] = {
22901 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22906 if (!SWIG_IsOK(res1
)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 resultobj
= result
;
22926 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
= 0;
22928 wxDC
*arg1
= (wxDC
*) 0 ;
22929 PyObject
*arg2
= (PyObject
*) 0 ;
22930 PyObject
*arg3
= (PyObject
*) 0 ;
22931 PyObject
*arg4
= (PyObject
*) 0 ;
22932 PyObject
*result
= 0 ;
22935 PyObject
* obj0
= 0 ;
22936 PyObject
* obj1
= 0 ;
22937 PyObject
* obj2
= 0 ;
22938 PyObject
* obj3
= 0 ;
22939 char * kwnames
[] = {
22940 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22945 if (!SWIG_IsOK(res1
)) {
22946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 resultobj
= result
;
22965 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
= 0;
22967 wxDC
*arg1
= (wxDC
*) 0 ;
22968 PyObject
*arg2
= (PyObject
*) 0 ;
22969 PyObject
*arg3
= (PyObject
*) 0 ;
22970 PyObject
*arg4
= (PyObject
*) 0 ;
22971 PyObject
*result
= 0 ;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 PyObject
* obj2
= 0 ;
22977 PyObject
* obj3
= 0 ;
22978 char * kwnames
[] = {
22979 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22984 if (!SWIG_IsOK(res1
)) {
22985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= result
;
23004 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
= 0;
23006 wxDC
*arg1
= (wxDC
*) 0 ;
23007 PyObject
*arg2
= (PyObject
*) 0 ;
23008 PyObject
*arg3
= (PyObject
*) 0 ;
23009 PyObject
*arg4
= (PyObject
*) 0 ;
23010 PyObject
*result
= 0 ;
23013 PyObject
* obj0
= 0 ;
23014 PyObject
* obj1
= 0 ;
23015 PyObject
* obj2
= 0 ;
23016 PyObject
* obj3
= 0 ;
23017 char * kwnames
[] = {
23018 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23023 if (!SWIG_IsOK(res1
)) {
23024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23026 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= result
;
23043 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
= 0;
23045 wxDC
*arg1
= (wxDC
*) 0 ;
23046 PyObject
*arg2
= (PyObject
*) 0 ;
23047 PyObject
*arg3
= (PyObject
*) 0 ;
23048 PyObject
*arg4
= (PyObject
*) 0 ;
23049 PyObject
*arg5
= (PyObject
*) 0 ;
23050 PyObject
*result
= 0 ;
23053 PyObject
* obj0
= 0 ;
23054 PyObject
* obj1
= 0 ;
23055 PyObject
* obj2
= 0 ;
23056 PyObject
* obj3
= 0 ;
23057 PyObject
* obj4
= 0 ;
23058 char * kwnames
[] = {
23059 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23064 if (!SWIG_IsOK(res1
)) {
23065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= result
;
23085 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23088 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23089 return SWIG_Py_Void();
23092 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
= 0;
23094 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23095 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23096 wxMemoryDC
*result
= 0 ;
23099 PyObject
* obj0
= 0 ;
23100 char * kwnames
[] = {
23101 (char *) "bitmap", NULL
23104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23106 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23107 if (!SWIG_IsOK(res1
)) {
23108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23113 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23116 if (!wxPyCheckForApp()) SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23129 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
= 0;
23131 wxDC
*arg1
= (wxDC
*) 0 ;
23132 wxMemoryDC
*result
= 0 ;
23135 PyObject
* obj0
= 0 ;
23136 char * kwnames
[] = {
23137 (char *) "oldDC", NULL
23140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23142 if (!SWIG_IsOK(res1
)) {
23143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23145 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23147 if (!wxPyCheckForApp()) SWIG_fail
;
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23160 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
= 0;
23162 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23163 wxBitmap
*arg2
= 0 ;
23168 PyObject
* obj0
= 0 ;
23169 PyObject
* obj1
= 0 ;
23170 char * kwnames
[] = {
23171 (char *) "self",(char *) "bitmap", NULL
23174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23176 if (!SWIG_IsOK(res1
)) {
23177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23179 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23181 if (!SWIG_IsOK(res2
)) {
23182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23187 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= SWIG_Py_Void();
23201 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23204 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23205 return SWIG_Py_Void();
23208 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23209 return SWIG_Python_InitShadowInstance(args
);
23212 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23213 PyObject
*resultobj
= 0;
23214 wxScreenDC
*result
= 0 ;
23216 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23218 if (!wxPyCheckForApp()) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (wxScreenDC
*)new wxScreenDC();
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23231 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
= 0;
23233 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23234 wxWindow
*arg2
= (wxWindow
*) 0 ;
23240 PyObject
* obj0
= 0 ;
23241 PyObject
* obj1
= 0 ;
23242 char * kwnames
[] = {
23243 (char *) "self",(char *) "window", NULL
23246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23248 if (!SWIG_IsOK(res1
)) {
23249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23251 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23253 if (!SWIG_IsOK(res2
)) {
23254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23272 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
= 0;
23274 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23275 wxRect
*arg2
= (wxRect
*) NULL
;
23281 PyObject
* obj0
= 0 ;
23282 PyObject
* obj1
= 0 ;
23283 char * kwnames
[] = {
23284 (char *) "self",(char *) "rect", NULL
23287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23289 if (!SWIG_IsOK(res1
)) {
23290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23292 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23295 if (!SWIG_IsOK(res2
)) {
23296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23298 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23315 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23316 PyObject
*resultobj
= 0;
23317 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23321 PyObject
*swig_obj
[1] ;
23323 if (!args
) SWIG_fail
;
23324 swig_obj
[0] = args
;
23325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23326 if (!SWIG_IsOK(res1
)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23329 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= (bool)(arg1
)->EndDrawingOnTop();
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23345 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23348 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23349 return SWIG_Py_Void();
23352 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23353 return SWIG_Python_InitShadowInstance(args
);
23356 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
= 0;
23358 wxWindow
*arg1
= (wxWindow
*) 0 ;
23359 wxWindowDC
*result
= 0 ;
23362 PyObject
* obj0
= 0 ;
23363 char * kwnames
[] = {
23364 (char *) "win", NULL
23367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23369 if (!SWIG_IsOK(res1
)) {
23370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23372 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23374 if (!wxPyCheckForApp()) SWIG_fail
;
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23387 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23390 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23391 return SWIG_Py_Void();
23394 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23395 return SWIG_Python_InitShadowInstance(args
);
23398 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23399 PyObject
*resultobj
= 0;
23400 wxWindow
*arg1
= (wxWindow
*) 0 ;
23401 wxClientDC
*result
= 0 ;
23404 PyObject
* obj0
= 0 ;
23405 char * kwnames
[] = {
23406 (char *) "win", NULL
23409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23411 if (!SWIG_IsOK(res1
)) {
23412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23414 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23416 if (!wxPyCheckForApp()) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= (wxClientDC
*)new wxClientDC(arg1
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23429 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23432 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23433 return SWIG_Py_Void();
23436 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23437 return SWIG_Python_InitShadowInstance(args
);
23440 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
= 0;
23442 wxWindow
*arg1
= (wxWindow
*) 0 ;
23443 wxPaintDC
*result
= 0 ;
23446 PyObject
* obj0
= 0 ;
23447 char * kwnames
[] = {
23448 (char *) "win", NULL
23451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23453 if (!SWIG_IsOK(res1
)) {
23454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23456 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23458 if (!wxPyCheckForApp()) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23471 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23474 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23475 return SWIG_Py_Void();
23478 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23479 return SWIG_Python_InitShadowInstance(args
);
23482 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23483 PyObject
*resultobj
= 0;
23484 wxDC
*arg1
= (wxDC
*) 0 ;
23485 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23486 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23487 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23488 wxBufferedDC
*result
= 0 ;
23496 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23498 if (!SWIG_IsOK(res1
)) {
23499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23503 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23504 if (!SWIG_IsOK(res2
)) {
23505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23510 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23513 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23514 if (!SWIG_IsOK(ecode3
)) {
23515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23517 arg3
= static_cast< int >(val3
);
23520 if (!wxPyCheckForApp()) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23533 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23534 PyObject
*resultobj
= 0;
23535 wxDC
*arg1
= (wxDC
*) 0 ;
23537 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23538 wxBufferedDC
*result
= 0 ;
23545 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23547 if (!SWIG_IsOK(res1
)) {
23548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23553 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23556 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23557 if (!SWIG_IsOK(ecode3
)) {
23558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23560 arg3
= static_cast< int >(val3
);
23563 if (!wxPyCheckForApp()) SWIG_fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23576 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23580 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23582 if ((argc
>= 1) && (argc
<= 3)) {
23586 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23587 _v
= SWIG_CheckState(res
);
23589 if (!_v
) goto check_1
;
23591 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23595 if ((argc
>= 2) && (argc
<= 3)) {
23596 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23600 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23605 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23606 PyObject
*resultobj
= 0;
23607 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23610 PyObject
*swig_obj
[1] ;
23612 if (!args
) SWIG_fail
;
23613 swig_obj
[0] = args
;
23614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23615 if (!SWIG_IsOK(res1
)) {
23616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23618 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= SWIG_Py_Void();
23633 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23634 PyObject
*resultobj
= 0;
23635 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23638 PyObject
*swig_obj
[1] ;
23640 if (!args
) SWIG_fail
;
23641 swig_obj
[0] = args
;
23642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23643 if (!SWIG_IsOK(res1
)) {
23644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23646 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= SWIG_Py_Void();
23660 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23663 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23664 return SWIG_Py_Void();
23667 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23668 return SWIG_Python_InitShadowInstance(args
);
23671 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
= 0;
23673 wxWindow
*arg1
= (wxWindow
*) 0 ;
23674 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23675 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23676 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23677 wxBufferedPaintDC
*result
= 0 ;
23684 PyObject
* obj0
= 0 ;
23685 PyObject
* obj1
= 0 ;
23686 PyObject
* obj2
= 0 ;
23687 char * kwnames
[] = {
23688 (char *) "window",(char *) "buffer",(char *) "style", NULL
23691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23693 if (!SWIG_IsOK(res1
)) {
23694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23696 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23699 if (!SWIG_IsOK(res2
)) {
23700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23705 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23709 if (!SWIG_IsOK(ecode3
)) {
23710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23712 arg3
= static_cast< int >(val3
);
23715 if (!wxPyCheckForApp()) SWIG_fail
;
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23728 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23731 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23732 return SWIG_Py_Void();
23735 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23736 return SWIG_Python_InitShadowInstance(args
);
23739 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
= 0;
23741 wxWindow
*arg1
= (wxWindow
*) 0 ;
23742 wxAutoBufferedPaintDC
*result
= 0 ;
23745 PyObject
* obj0
= 0 ;
23746 char * kwnames
[] = {
23747 (char *) "win", NULL
23750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
23751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23752 if (!SWIG_IsOK(res1
)) {
23753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23755 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23769 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23772 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
23773 return SWIG_Py_Void();
23776 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23777 return SWIG_Python_InitShadowInstance(args
);
23780 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
= 0;
23782 wxWindow
*arg1
= (wxWindow
*) 0 ;
23786 PyObject
* obj0
= 0 ;
23787 char * kwnames
[] = {
23788 (char *) "window", NULL
23791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
23792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23793 if (!SWIG_IsOK(res1
)) {
23794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
23796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
23812 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
= 0;
23816 wxMirrorDC
*result
= 0 ;
23821 PyObject
* obj0
= 0 ;
23822 PyObject
* obj1
= 0 ;
23823 char * kwnames
[] = {
23824 (char *) "dc",(char *) "mirror", NULL
23827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23828 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23829 if (!SWIG_IsOK(res1
)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23835 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23836 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23837 if (!SWIG_IsOK(ecode2
)) {
23838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23840 arg2
= static_cast< bool >(val2
);
23842 if (!wxPyCheckForApp()) SWIG_fail
;
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23855 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23858 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23859 return SWIG_Py_Void();
23862 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23863 return SWIG_Python_InitShadowInstance(args
);
23866 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23867 PyObject
*resultobj
= 0;
23868 wxPrintData
*arg1
= 0 ;
23869 wxPostScriptDC
*result
= 0 ;
23872 PyObject
* obj0
= 0 ;
23873 char * kwnames
[] = {
23874 (char *) "printData", NULL
23877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23878 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23879 if (!SWIG_IsOK(res1
)) {
23880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23885 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23887 if (!wxPyCheckForApp()) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23900 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23901 PyObject
*resultobj
= 0;
23902 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23903 wxPrintData
*result
= 0 ;
23906 PyObject
*swig_obj
[1] ;
23908 if (!args
) SWIG_fail
;
23909 swig_obj
[0] = args
;
23910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23911 if (!SWIG_IsOK(res1
)) {
23912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23914 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23919 result
= (wxPrintData
*) &_result_ref
;
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23931 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
= 0;
23933 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23934 wxPrintData
*arg2
= 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 char * kwnames
[] = {
23942 (char *) "self",(char *) "data", NULL
23945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23950 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23952 if (!SWIG_IsOK(res2
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23958 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= SWIG_Py_Void();
23972 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
= 0;
23977 PyObject
* obj0
= 0 ;
23978 char * kwnames
[] = {
23979 (char *) "ppi", NULL
23982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23983 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23984 if (!SWIG_IsOK(ecode1
)) {
23985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23987 arg1
= static_cast< int >(val1
);
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 wxPostScriptDC::SetResolution(arg1
);
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= SWIG_Py_Void();
24001 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24002 PyObject
*resultobj
= 0;
24005 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 result
= (int)wxPostScriptDC::GetResolution();
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 resultobj
= SWIG_From_int(static_cast< int >(result
));
24019 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24022 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24023 return SWIG_Py_Void();
24026 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24027 return SWIG_Python_InitShadowInstance(args
);
24030 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
= 0;
24032 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24033 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24034 wxMetaFile
*result
= 0 ;
24035 bool temp1
= false ;
24036 PyObject
* obj0
= 0 ;
24037 char * kwnames
[] = {
24038 (char *) "filename", NULL
24041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24044 arg1
= wxString_in_helper(obj0
);
24045 if (arg1
== NULL
) SWIG_fail
;
24050 if (!wxPyCheckForApp()) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24071 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24072 PyObject
*resultobj
= 0;
24073 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24076 PyObject
*swig_obj
[1] ;
24078 if (!args
) SWIG_fail
;
24079 swig_obj
[0] = args
;
24080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24081 if (!SWIG_IsOK(res1
)) {
24082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24084 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24092 resultobj
= SWIG_Py_Void();
24099 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24100 PyObject
*resultobj
= 0;
24101 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24105 PyObject
*swig_obj
[1] ;
24107 if (!args
) SWIG_fail
;
24108 swig_obj
[0] = args
;
24109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24110 if (!SWIG_IsOK(res1
)) {
24111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24113 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (bool)(arg1
)->IsOk();
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24129 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
= 0;
24131 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24132 int arg2
= (int) 0 ;
24133 int arg3
= (int) 0 ;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 PyObject
* obj2
= 0 ;
24144 char * kwnames
[] = {
24145 (char *) "self",(char *) "width",(char *) "height", NULL
24148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24150 if (!SWIG_IsOK(res1
)) {
24151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24153 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24156 if (!SWIG_IsOK(ecode2
)) {
24157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24159 arg2
= static_cast< int >(val2
);
24162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24163 if (!SWIG_IsOK(ecode3
)) {
24164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24166 arg3
= static_cast< int >(val3
);
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24183 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24184 PyObject
*resultobj
= 0;
24185 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24189 PyObject
*swig_obj
[1] ;
24191 if (!args
) SWIG_fail
;
24192 swig_obj
[0] = args
;
24193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24194 if (!SWIG_IsOK(res1
)) {
24195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24197 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (arg1
)->GetSize();
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24211 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24212 PyObject
*resultobj
= 0;
24213 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24217 PyObject
*swig_obj
[1] ;
24219 if (!args
) SWIG_fail
;
24220 swig_obj
[0] = args
;
24221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24222 if (!SWIG_IsOK(res1
)) {
24223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24225 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= (int)(arg1
)->GetWidth();
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= SWIG_From_int(static_cast< int >(result
));
24239 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24240 PyObject
*resultobj
= 0;
24241 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24245 PyObject
*swig_obj
[1] ;
24247 if (!args
) SWIG_fail
;
24248 swig_obj
[0] = args
;
24249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24250 if (!SWIG_IsOK(res1
)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24253 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 result
= (int)(arg1
)->GetHeight();
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 resultobj
= SWIG_From_int(static_cast< int >(result
));
24267 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24270 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24271 return SWIG_Py_Void();
24274 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24275 return SWIG_Python_InitShadowInstance(args
);
24278 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
= 0;
24280 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24281 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24282 int arg2
= (int) 0 ;
24283 int arg3
= (int) 0 ;
24284 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24286 wxMetaFileDC
*result
= 0 ;
24287 bool temp1
= false ;
24292 bool temp4
= false ;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 PyObject
* obj2
= 0 ;
24296 PyObject
* obj3
= 0 ;
24297 char * kwnames
[] = {
24298 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24304 arg1
= wxString_in_helper(obj0
);
24305 if (arg1
== NULL
) SWIG_fail
;
24310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24311 if (!SWIG_IsOK(ecode2
)) {
24312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24314 arg2
= static_cast< int >(val2
);
24317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24318 if (!SWIG_IsOK(ecode3
)) {
24319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24321 arg3
= static_cast< int >(val3
);
24325 arg4
= wxString_in_helper(obj3
);
24326 if (arg4
== NULL
) SWIG_fail
;
24331 if (!wxPyCheckForApp()) SWIG_fail
;
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24360 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24361 PyObject
*resultobj
= 0;
24362 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24363 wxMetaFile
*result
= 0 ;
24366 PyObject
*swig_obj
[1] ;
24368 if (!args
) SWIG_fail
;
24369 swig_obj
[0] = args
;
24370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24371 if (!SWIG_IsOK(res1
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24374 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= (wxMetaFile
*)(arg1
)->Close();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24388 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24391 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24392 return SWIG_Py_Void();
24395 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24396 return SWIG_Python_InitShadowInstance(args
);
24399 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
= 0;
24401 wxPrintData
*arg1
= 0 ;
24402 wxPrinterDC
*result
= 0 ;
24405 PyObject
* obj0
= 0 ;
24406 char * kwnames
[] = {
24407 (char *) "printData", NULL
24410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24411 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24418 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24420 if (!wxPyCheckForApp()) SWIG_fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24433 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24436 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24437 return SWIG_Py_Void();
24440 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24441 return SWIG_Python_InitShadowInstance(args
);
24444 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24445 PyObject
*resultobj
= 0;
24446 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24449 PyObject
*swig_obj
[1] ;
24451 if (!args
) SWIG_fail
;
24452 swig_obj
[0] = args
;
24453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24454 if (!SWIG_IsOK(res1
)) {
24455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24457 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= SWIG_Py_Void();
24470 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
= 0;
24472 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 PyObject
* obj2
= 0 ;
24484 char * kwnames
[] = {
24485 (char *) "self",(char *) "x",(char *) "y", NULL
24488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24490 if (!SWIG_IsOK(res1
)) {
24491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24493 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24494 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24495 if (!SWIG_IsOK(ecode2
)) {
24496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24498 arg2
= static_cast< wxDouble
>(val2
);
24499 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24500 if (!SWIG_IsOK(ecode3
)) {
24501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24503 arg3
= static_cast< wxDouble
>(val3
);
24505 (arg1
)->MoveToPoint(arg2
,arg3
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= SWIG_Py_Void();
24515 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
= 0;
24517 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 PyObject
* obj2
= 0 ;
24529 char * kwnames
[] = {
24530 (char *) "self",(char *) "x",(char *) "y", NULL
24533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24535 if (!SWIG_IsOK(res1
)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24538 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24539 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24540 if (!SWIG_IsOK(ecode2
)) {
24541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24543 arg2
= static_cast< wxDouble
>(val2
);
24544 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24545 if (!SWIG_IsOK(ecode3
)) {
24546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24548 arg3
= static_cast< wxDouble
>(val3
);
24550 (arg1
)->AddLineToPoint(arg2
,arg3
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= SWIG_Py_Void();
24560 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
= 0;
24562 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24583 PyObject
* obj0
= 0 ;
24584 PyObject
* obj1
= 0 ;
24585 PyObject
* obj2
= 0 ;
24586 PyObject
* obj3
= 0 ;
24587 PyObject
* obj4
= 0 ;
24588 PyObject
* obj5
= 0 ;
24589 PyObject
* obj6
= 0 ;
24590 char * kwnames
[] = {
24591 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24596 if (!SWIG_IsOK(res1
)) {
24597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24599 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24600 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24601 if (!SWIG_IsOK(ecode2
)) {
24602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24604 arg2
= static_cast< wxDouble
>(val2
);
24605 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24606 if (!SWIG_IsOK(ecode3
)) {
24607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24609 arg3
= static_cast< wxDouble
>(val3
);
24610 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24611 if (!SWIG_IsOK(ecode4
)) {
24612 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24614 arg4
= static_cast< wxDouble
>(val4
);
24615 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24616 if (!SWIG_IsOK(ecode5
)) {
24617 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24619 arg5
= static_cast< wxDouble
>(val5
);
24620 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24621 if (!SWIG_IsOK(ecode6
)) {
24622 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24624 arg6
= static_cast< wxDouble
>(val6
);
24625 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24626 if (!SWIG_IsOK(ecode7
)) {
24627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24629 arg7
= static_cast< wxDouble
>(val7
);
24631 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_Py_Void();
24641 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24642 PyObject
*resultobj
= 0;
24643 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24646 PyObject
*swig_obj
[1] ;
24648 if (!args
) SWIG_fail
;
24649 swig_obj
[0] = args
;
24650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24651 if (!SWIG_IsOK(res1
)) {
24652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24654 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24656 (arg1
)->CloseSubpath();
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_Py_Void();
24666 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24667 PyObject
*resultobj
= 0;
24668 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24672 PyObject
*swig_obj
[1] ;
24674 if (!args
) SWIG_fail
;
24675 swig_obj
[0] = args
;
24676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24680 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24682 result
= (arg1
)->GetCurrentPoint();
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24692 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
= 0;
24694 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 PyObject
* obj2
= 0 ;
24718 PyObject
* obj3
= 0 ;
24719 PyObject
* obj4
= 0 ;
24720 PyObject
* obj5
= 0 ;
24721 PyObject
* obj6
= 0 ;
24722 char * kwnames
[] = {
24723 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24728 if (!SWIG_IsOK(res1
)) {
24729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24731 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24732 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24733 if (!SWIG_IsOK(ecode2
)) {
24734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24736 arg2
= static_cast< wxDouble
>(val2
);
24737 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24738 if (!SWIG_IsOK(ecode3
)) {
24739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24741 arg3
= static_cast< wxDouble
>(val3
);
24742 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24743 if (!SWIG_IsOK(ecode4
)) {
24744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24746 arg4
= static_cast< wxDouble
>(val4
);
24747 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24748 if (!SWIG_IsOK(ecode5
)) {
24749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24751 arg5
= static_cast< wxDouble
>(val5
);
24752 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24753 if (!SWIG_IsOK(ecode6
)) {
24754 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24756 arg6
= static_cast< wxDouble
>(val6
);
24757 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24758 if (!SWIG_IsOK(ecode7
)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24761 arg7
= static_cast< bool >(val7
);
24763 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= SWIG_Py_Void();
24773 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= 0;
24775 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 PyObject
* obj1
= 0 ;
24792 PyObject
* obj2
= 0 ;
24793 PyObject
* obj3
= 0 ;
24794 PyObject
* obj4
= 0 ;
24795 char * kwnames
[] = {
24796 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24801 if (!SWIG_IsOK(res1
)) {
24802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24804 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24805 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24806 if (!SWIG_IsOK(ecode2
)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24809 arg2
= static_cast< wxDouble
>(val2
);
24810 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24811 if (!SWIG_IsOK(ecode3
)) {
24812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24814 arg3
= static_cast< wxDouble
>(val3
);
24815 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24816 if (!SWIG_IsOK(ecode4
)) {
24817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24819 arg4
= static_cast< wxDouble
>(val4
);
24820 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24821 if (!SWIG_IsOK(ecode5
)) {
24822 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24824 arg5
= static_cast< wxDouble
>(val5
);
24826 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= SWIG_Py_Void();
24836 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
= 0;
24838 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 PyObject
* obj1
= 0 ;
24855 PyObject
* obj2
= 0 ;
24856 PyObject
* obj3
= 0 ;
24857 PyObject
* obj4
= 0 ;
24858 char * kwnames
[] = {
24859 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24864 if (!SWIG_IsOK(res1
)) {
24865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24867 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24868 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24869 if (!SWIG_IsOK(ecode2
)) {
24870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24872 arg2
= static_cast< wxDouble
>(val2
);
24873 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24874 if (!SWIG_IsOK(ecode3
)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24877 arg3
= static_cast< wxDouble
>(val3
);
24878 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24879 if (!SWIG_IsOK(ecode4
)) {
24880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24882 arg4
= static_cast< wxDouble
>(val4
);
24883 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24884 if (!SWIG_IsOK(ecode5
)) {
24885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24887 arg5
= static_cast< wxDouble
>(val5
);
24889 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= SWIG_Py_Void();
24899 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
= 0;
24901 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 PyObject
* obj2
= 0 ;
24916 PyObject
* obj3
= 0 ;
24917 char * kwnames
[] = {
24918 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24923 if (!SWIG_IsOK(res1
)) {
24924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24926 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24927 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24928 if (!SWIG_IsOK(ecode2
)) {
24929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24931 arg2
= static_cast< wxDouble
>(val2
);
24932 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24933 if (!SWIG_IsOK(ecode3
)) {
24934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24936 arg3
= static_cast< wxDouble
>(val3
);
24937 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24938 if (!SWIG_IsOK(ecode4
)) {
24939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24941 arg4
= static_cast< wxDouble
>(val4
);
24943 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_Py_Void();
24953 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
= 0;
24955 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 PyObject
* obj2
= 0 ;
24976 PyObject
* obj3
= 0 ;
24977 PyObject
* obj4
= 0 ;
24978 PyObject
* obj5
= 0 ;
24979 char * kwnames
[] = {
24980 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24985 if (!SWIG_IsOK(res1
)) {
24986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24988 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24989 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24990 if (!SWIG_IsOK(ecode2
)) {
24991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24993 arg2
= static_cast< wxDouble
>(val2
);
24994 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24995 if (!SWIG_IsOK(ecode3
)) {
24996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24998 arg3
= static_cast< wxDouble
>(val3
);
24999 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25000 if (!SWIG_IsOK(ecode4
)) {
25001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25003 arg4
= static_cast< wxDouble
>(val4
);
25004 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25005 if (!SWIG_IsOK(ecode5
)) {
25006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25008 arg5
= static_cast< wxDouble
>(val5
);
25009 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25010 if (!SWIG_IsOK(ecode6
)) {
25011 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25013 arg6
= static_cast< wxDouble
>(val6
);
25015 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= SWIG_Py_Void();
25025 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25028 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25029 return SWIG_Py_Void();
25032 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25033 PyObject
*resultobj
= 0;
25034 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25037 PyObject
*swig_obj
[1] ;
25039 if (!args
) SWIG_fail
;
25040 swig_obj
[0] = args
;
25041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25042 if (!SWIG_IsOK(res1
)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25045 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_Py_Void();
25058 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25059 PyObject
*resultobj
= 0;
25060 wxWindowDC
*arg1
= 0 ;
25061 wxGraphicsContext
*result
= 0 ;
25065 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25067 if (!SWIG_IsOK(res1
)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25073 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25075 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25085 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25086 PyObject
*resultobj
= 0;
25087 wxWindow
*arg1
= (wxWindow
*) 0 ;
25088 wxGraphicsContext
*result
= 0 ;
25092 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25094 if (!SWIG_IsOK(res1
)) {
25095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
25097 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25099 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25109 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
25113 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
25118 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
25119 _v
= SWIG_CheckState(res
);
25121 if (!_v
) goto check_1
;
25122 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
25127 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
25131 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
25136 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25137 PyObject
*resultobj
= 0;
25138 void *arg1
= (void *) 0 ;
25139 wxGraphicsContext
*result
= 0 ;
25141 PyObject
* obj0
= 0 ;
25142 char * kwnames
[] = {
25143 (char *) "context", NULL
25146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
25147 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
25148 if (!SWIG_IsOK(res1
)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
25152 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25162 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25163 PyObject
*resultobj
= 0;
25164 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25165 wxGraphicsPath
*result
= 0 ;
25168 PyObject
*swig_obj
[1] ;
25170 if (!args
) SWIG_fail
;
25171 swig_obj
[0] = args
;
25172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25173 if (!SWIG_IsOK(res1
)) {
25174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25176 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25178 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25188 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25189 PyObject
*resultobj
= 0;
25190 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25193 PyObject
*swig_obj
[1] ;
25195 if (!args
) SWIG_fail
;
25196 swig_obj
[0] = args
;
25197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25198 if (!SWIG_IsOK(res1
)) {
25199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25201 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25203 (arg1
)->PushState();
25204 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= SWIG_Py_Void();
25213 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25214 PyObject
*resultobj
= 0;
25215 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25218 PyObject
*swig_obj
[1] ;
25220 if (!args
) SWIG_fail
;
25221 swig_obj
[0] = args
;
25222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25223 if (!SWIG_IsOK(res1
)) {
25224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25226 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25228 (arg1
)->PopState();
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 resultobj
= SWIG_Py_Void();
25238 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
= 0;
25240 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25241 wxRegion
*arg2
= 0 ;
25246 PyObject
* obj0
= 0 ;
25247 PyObject
* obj1
= 0 ;
25248 char * kwnames
[] = {
25249 (char *) "self",(char *) "region", NULL
25252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25254 if (!SWIG_IsOK(res1
)) {
25255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25257 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25259 if (!SWIG_IsOK(res2
)) {
25260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
25263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
25265 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25267 (arg1
)->Clip((wxRegion
const &)*arg2
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= SWIG_Py_Void();
25277 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
= 0;
25279 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25294 PyObject
* obj0
= 0 ;
25295 PyObject
* obj1
= 0 ;
25296 PyObject
* obj2
= 0 ;
25297 PyObject
* obj3
= 0 ;
25298 PyObject
* obj4
= 0 ;
25299 char * kwnames
[] = {
25300 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25305 if (!SWIG_IsOK(res1
)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25308 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25309 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25310 if (!SWIG_IsOK(ecode2
)) {
25311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
25313 arg2
= static_cast< wxDouble
>(val2
);
25314 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25315 if (!SWIG_IsOK(ecode3
)) {
25316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
25318 arg3
= static_cast< wxDouble
>(val3
);
25319 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25320 if (!SWIG_IsOK(ecode4
)) {
25321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
25323 arg4
= static_cast< wxDouble
>(val4
);
25324 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25325 if (!SWIG_IsOK(ecode5
)) {
25326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
25328 arg5
= static_cast< wxDouble
>(val5
);
25330 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= SWIG_Py_Void();
25340 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25341 PyObject
*resultobj
= 0;
25342 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25345 PyObject
*swig_obj
[1] ;
25347 if (!args
) SWIG_fail
;
25348 swig_obj
[0] = args
;
25349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25350 if (!SWIG_IsOK(res1
)) {
25351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25353 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25355 (arg1
)->ResetClip();
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_Py_Void();
25365 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25366 PyObject
*resultobj
= 0;
25367 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25371 PyObject
*swig_obj
[1] ;
25373 if (!args
) SWIG_fail
;
25374 swig_obj
[0] = args
;
25375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25376 if (!SWIG_IsOK(res1
)) {
25377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25379 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25381 result
= (void *)(arg1
)->GetNativeContext();
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25391 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
= 0;
25393 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 PyObject
* obj2
= 0 ;
25405 char * kwnames
[] = {
25406 (char *) "self",(char *) "dx",(char *) "dy", NULL
25409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25411 if (!SWIG_IsOK(res1
)) {
25412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25414 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25415 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25416 if (!SWIG_IsOK(ecode2
)) {
25417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25419 arg2
= static_cast< wxDouble
>(val2
);
25420 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25421 if (!SWIG_IsOK(ecode3
)) {
25422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25424 arg3
= static_cast< wxDouble
>(val3
);
25426 (arg1
)->Translate(arg2
,arg3
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= SWIG_Py_Void();
25436 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
= 0;
25438 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25447 PyObject
* obj0
= 0 ;
25448 PyObject
* obj1
= 0 ;
25449 PyObject
* obj2
= 0 ;
25450 char * kwnames
[] = {
25451 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25456 if (!SWIG_IsOK(res1
)) {
25457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25459 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25460 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25461 if (!SWIG_IsOK(ecode2
)) {
25462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25464 arg2
= static_cast< wxDouble
>(val2
);
25465 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25466 if (!SWIG_IsOK(ecode3
)) {
25467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25469 arg3
= static_cast< wxDouble
>(val3
);
25471 (arg1
)->Scale(arg2
,arg3
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_Py_Void();
25481 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
= 0;
25483 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 char * kwnames
[] = {
25492 (char *) "self",(char *) "angle", NULL
25495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25497 if (!SWIG_IsOK(res1
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25500 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25501 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25502 if (!SWIG_IsOK(ecode2
)) {
25503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25505 arg2
= static_cast< wxDouble
>(val2
);
25507 (arg1
)->Rotate(arg2
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_Py_Void();
25517 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
= 0;
25519 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char * kwnames
[] = {
25528 (char *) "self",(char *) "pen", NULL
25531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25533 if (!SWIG_IsOK(res1
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25536 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25538 if (!SWIG_IsOK(res2
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25544 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25546 (arg1
)->SetPen((wxPen
const &)*arg2
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= SWIG_Py_Void();
25556 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
= 0;
25558 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25559 wxBrush
*arg2
= 0 ;
25564 PyObject
* obj0
= 0 ;
25565 PyObject
* obj1
= 0 ;
25566 char * kwnames
[] = {
25567 (char *) "self",(char *) "brush", NULL
25570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25572 if (!SWIG_IsOK(res1
)) {
25573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25575 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25577 if (!SWIG_IsOK(res2
)) {
25578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25583 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25585 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_Py_Void();
25595 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
= 0;
25597 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25602 wxColour
*arg6
= 0 ;
25603 wxColour
*arg7
= 0 ;
25616 PyObject
* obj0
= 0 ;
25617 PyObject
* obj1
= 0 ;
25618 PyObject
* obj2
= 0 ;
25619 PyObject
* obj3
= 0 ;
25620 PyObject
* obj4
= 0 ;
25621 PyObject
* obj5
= 0 ;
25622 PyObject
* obj6
= 0 ;
25623 char * kwnames
[] = {
25624 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25629 if (!SWIG_IsOK(res1
)) {
25630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25632 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25633 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25634 if (!SWIG_IsOK(ecode2
)) {
25635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25637 arg2
= static_cast< wxDouble
>(val2
);
25638 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25639 if (!SWIG_IsOK(ecode3
)) {
25640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25642 arg3
= static_cast< wxDouble
>(val3
);
25643 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25644 if (!SWIG_IsOK(ecode4
)) {
25645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25647 arg4
= static_cast< wxDouble
>(val4
);
25648 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25649 if (!SWIG_IsOK(ecode5
)) {
25650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25652 arg5
= static_cast< wxDouble
>(val5
);
25655 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25659 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25662 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_Py_Void();
25672 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
= 0;
25674 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25680 wxColour
*arg7
= 0 ;
25681 wxColour
*arg8
= 0 ;
25696 PyObject
* obj0
= 0 ;
25697 PyObject
* obj1
= 0 ;
25698 PyObject
* obj2
= 0 ;
25699 PyObject
* obj3
= 0 ;
25700 PyObject
* obj4
= 0 ;
25701 PyObject
* obj5
= 0 ;
25702 PyObject
* obj6
= 0 ;
25703 PyObject
* obj7
= 0 ;
25704 char * kwnames
[] = {
25705 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25710 if (!SWIG_IsOK(res1
)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25713 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25714 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25715 if (!SWIG_IsOK(ecode2
)) {
25716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25718 arg2
= static_cast< wxDouble
>(val2
);
25719 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25720 if (!SWIG_IsOK(ecode3
)) {
25721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25723 arg3
= static_cast< wxDouble
>(val3
);
25724 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25725 if (!SWIG_IsOK(ecode4
)) {
25726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25728 arg4
= static_cast< wxDouble
>(val4
);
25729 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25730 if (!SWIG_IsOK(ecode5
)) {
25731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25733 arg5
= static_cast< wxDouble
>(val5
);
25734 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25735 if (!SWIG_IsOK(ecode6
)) {
25736 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25738 arg6
= static_cast< wxDouble
>(val6
);
25741 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25745 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25748 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_Py_Void();
25758 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
= 0;
25760 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25766 PyObject
* obj0
= 0 ;
25767 PyObject
* obj1
= 0 ;
25768 char * kwnames
[] = {
25769 (char *) "self",(char *) "font", NULL
25772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25774 if (!SWIG_IsOK(res1
)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25777 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25779 if (!SWIG_IsOK(res2
)) {
25780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25785 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25787 (arg1
)->SetFont((wxFont
const &)*arg2
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= SWIG_Py_Void();
25797 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
= 0;
25799 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25800 wxColour
*arg2
= 0 ;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 char * kwnames
[] = {
25807 (char *) "self",(char *) "col", NULL
25810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25812 if (!SWIG_IsOK(res1
)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25815 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25821 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 resultobj
= SWIG_Py_Void();
25831 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
= 0;
25833 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25834 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 char * kwnames
[] = {
25842 (char *) "self",(char *) "path", NULL
25845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25847 if (!SWIG_IsOK(res1
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25850 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25852 if (!SWIG_IsOK(res2
)) {
25853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25855 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25857 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= SWIG_Py_Void();
25867 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
= 0;
25869 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25870 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25871 int arg3
= (int) wxWINDING_RULE
;
25878 PyObject
* obj0
= 0 ;
25879 PyObject
* obj1
= 0 ;
25880 PyObject
* obj2
= 0 ;
25881 char * kwnames
[] = {
25882 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25887 if (!SWIG_IsOK(res1
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25890 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25892 if (!SWIG_IsOK(res2
)) {
25893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25895 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25898 if (!SWIG_IsOK(ecode3
)) {
25899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25901 arg3
= static_cast< int >(val3
);
25904 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_Py_Void();
25914 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
= 0;
25916 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25917 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25918 int arg3
= (int) wxWINDING_RULE
;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 PyObject
* obj2
= 0 ;
25928 char * kwnames
[] = {
25929 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25934 if (!SWIG_IsOK(res1
)) {
25935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25937 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25939 if (!SWIG_IsOK(res2
)) {
25940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25942 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25945 if (!SWIG_IsOK(ecode3
)) {
25946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25948 arg3
= static_cast< int >(val3
);
25951 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_Py_Void();
25961 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
= 0;
25963 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25964 wxString
*arg2
= 0 ;
25969 bool temp2
= false ;
25974 PyObject
* obj0
= 0 ;
25975 PyObject
* obj1
= 0 ;
25976 PyObject
* obj2
= 0 ;
25977 PyObject
* obj3
= 0 ;
25978 char * kwnames
[] = {
25979 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25984 if (!SWIG_IsOK(res1
)) {
25985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25987 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25989 arg2
= wxString_in_helper(obj1
);
25990 if (arg2
== NULL
) SWIG_fail
;
25993 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25994 if (!SWIG_IsOK(ecode3
)) {
25995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25997 arg3
= static_cast< wxDouble
>(val3
);
25998 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25999 if (!SWIG_IsOK(ecode4
)) {
26000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26002 arg4
= static_cast< wxDouble
>(val4
);
26004 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= SWIG_Py_Void();
26022 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
= 0;
26024 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26025 wxString
*arg2
= 0 ;
26031 bool temp2
= false ;
26038 PyObject
* obj0
= 0 ;
26039 PyObject
* obj1
= 0 ;
26040 PyObject
* obj2
= 0 ;
26041 PyObject
* obj3
= 0 ;
26042 PyObject
* obj4
= 0 ;
26043 char * kwnames
[] = {
26044 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
26047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26049 if (!SWIG_IsOK(res1
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26052 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26054 arg2
= wxString_in_helper(obj1
);
26055 if (arg2
== NULL
) SWIG_fail
;
26058 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26059 if (!SWIG_IsOK(ecode3
)) {
26060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
26062 arg3
= static_cast< wxDouble
>(val3
);
26063 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26064 if (!SWIG_IsOK(ecode4
)) {
26065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
26067 arg4
= static_cast< wxDouble
>(val4
);
26068 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26069 if (!SWIG_IsOK(ecode5
)) {
26070 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
26072 arg5
= static_cast< wxDouble
>(val5
);
26074 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= SWIG_Py_Void();
26092 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
= 0;
26094 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26095 wxString
*arg2
= 0 ;
26096 wxDouble
*arg3
= (wxDouble
*) 0 ;
26097 wxDouble
*arg4
= (wxDouble
*) 0 ;
26098 wxDouble
*arg5
= (wxDouble
*) 0 ;
26099 wxDouble
*arg6
= (wxDouble
*) 0 ;
26102 bool temp2
= false ;
26104 int res3
= SWIG_TMPOBJ
;
26106 int res4
= SWIG_TMPOBJ
;
26108 int res5
= SWIG_TMPOBJ
;
26110 int res6
= SWIG_TMPOBJ
;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 char * kwnames
[] = {
26114 (char *) "self",(char *) "text", NULL
26121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26123 if (!SWIG_IsOK(res1
)) {
26124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26126 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26128 arg2
= wxString_in_helper(obj1
);
26129 if (arg2
== NULL
) SWIG_fail
;
26133 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= SWIG_Py_Void();
26137 if (SWIG_IsTmpObj(res3
)) {
26138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26140 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26143 if (SWIG_IsTmpObj(res4
)) {
26144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26146 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26149 if (SWIG_IsTmpObj(res5
)) {
26150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26152 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26155 if (SWIG_IsTmpObj(res6
)) {
26156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26158 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26175 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26176 PyObject
*resultobj
= 0;
26177 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26178 wxString
*arg2
= 0 ;
26179 wxArrayDouble result
;
26182 bool temp2
= false ;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 char * kwnames
[] = {
26186 (char *) "self",(char *) "text", NULL
26189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26191 if (!SWIG_IsOK(res1
)) {
26192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26194 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26196 arg2
= wxString_in_helper(obj1
);
26197 if (arg2
== NULL
) SWIG_fail
;
26201 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= wxArrayDouble2PyList_helper(result
);
26221 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
= 0;
26223 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26224 wxBitmap
*arg2
= 0 ;
26241 PyObject
* obj0
= 0 ;
26242 PyObject
* obj1
= 0 ;
26243 PyObject
* obj2
= 0 ;
26244 PyObject
* obj3
= 0 ;
26245 PyObject
* obj4
= 0 ;
26246 PyObject
* obj5
= 0 ;
26247 char * kwnames
[] = {
26248 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26256 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26258 if (!SWIG_IsOK(res2
)) {
26259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26264 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26265 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26266 if (!SWIG_IsOK(ecode3
)) {
26267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26269 arg3
= static_cast< wxDouble
>(val3
);
26270 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26271 if (!SWIG_IsOK(ecode4
)) {
26272 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26274 arg4
= static_cast< wxDouble
>(val4
);
26275 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26276 if (!SWIG_IsOK(ecode5
)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26279 arg5
= static_cast< wxDouble
>(val5
);
26280 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26281 if (!SWIG_IsOK(ecode6
)) {
26282 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26284 arg6
= static_cast< wxDouble
>(val6
);
26286 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= SWIG_Py_Void();
26296 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
= 0;
26298 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 PyObject
* obj2
= 0 ;
26319 PyObject
* obj3
= 0 ;
26320 PyObject
* obj4
= 0 ;
26321 PyObject
* obj5
= 0 ;
26322 char * kwnames
[] = {
26323 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26328 if (!SWIG_IsOK(res1
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26331 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26333 if (!SWIG_IsOK(res2
)) {
26334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26339 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26340 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26341 if (!SWIG_IsOK(ecode3
)) {
26342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26344 arg3
= static_cast< wxDouble
>(val3
);
26345 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26346 if (!SWIG_IsOK(ecode4
)) {
26347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26349 arg4
= static_cast< wxDouble
>(val4
);
26350 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26351 if (!SWIG_IsOK(ecode5
)) {
26352 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26354 arg5
= static_cast< wxDouble
>(val5
);
26355 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26356 if (!SWIG_IsOK(ecode6
)) {
26357 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26359 arg6
= static_cast< wxDouble
>(val6
);
26361 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_Py_Void();
26371 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
= 0;
26373 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26388 PyObject
* obj0
= 0 ;
26389 PyObject
* obj1
= 0 ;
26390 PyObject
* obj2
= 0 ;
26391 PyObject
* obj3
= 0 ;
26392 PyObject
* obj4
= 0 ;
26393 char * kwnames
[] = {
26394 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26399 if (!SWIG_IsOK(res1
)) {
26400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26402 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26403 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26404 if (!SWIG_IsOK(ecode2
)) {
26405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26407 arg2
= static_cast< wxDouble
>(val2
);
26408 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26409 if (!SWIG_IsOK(ecode3
)) {
26410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26412 arg3
= static_cast< wxDouble
>(val3
);
26413 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26414 if (!SWIG_IsOK(ecode4
)) {
26415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26417 arg4
= static_cast< wxDouble
>(val4
);
26418 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26419 if (!SWIG_IsOK(ecode5
)) {
26420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26422 arg5
= static_cast< wxDouble
>(val5
);
26424 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= SWIG_Py_Void();
26434 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
= 0;
26436 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26438 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 char * kwnames
[] = {
26444 (char *) "self",(char *) "points", NULL
26447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26449 if (!SWIG_IsOK(res1
)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26452 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26454 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26455 if (arg3
== NULL
) SWIG_fail
;
26458 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26461 resultobj
= SWIG_Py_Void();
26463 if (arg3
) delete [] arg3
;
26468 if (arg3
) delete [] arg3
;
26474 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26475 PyObject
*resultobj
= 0;
26476 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26477 PyObject
*arg2
= (PyObject
*) 0 ;
26478 PyObject
*arg3
= (PyObject
*) 0 ;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 PyObject
* obj2
= 0 ;
26484 char * kwnames
[] = {
26485 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26490 if (!SWIG_IsOK(res1
)) {
26491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26493 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26497 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 resultobj
= SWIG_Py_Void();
26507 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26508 PyObject
*resultobj
= 0;
26509 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26511 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26512 int arg4
= (int) wxWINDING_RULE
;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 PyObject
* obj2
= 0 ;
26520 char * kwnames
[] = {
26521 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26529 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26531 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26532 if (arg3
== NULL
) SWIG_fail
;
26535 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26536 if (!SWIG_IsOK(ecode4
)) {
26537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26539 arg4
= static_cast< int >(val4
);
26542 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 resultobj
= SWIG_Py_Void();
26547 if (arg3
) delete [] arg3
;
26552 if (arg3
) delete [] arg3
;
26558 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
= 0;
26560 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 PyObject
* obj2
= 0 ;
26578 PyObject
* obj3
= 0 ;
26579 PyObject
* obj4
= 0 ;
26580 char * kwnames
[] = {
26581 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26586 if (!SWIG_IsOK(res1
)) {
26587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26589 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26590 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26591 if (!SWIG_IsOK(ecode2
)) {
26592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26594 arg2
= static_cast< wxDouble
>(val2
);
26595 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26596 if (!SWIG_IsOK(ecode3
)) {
26597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26599 arg3
= static_cast< wxDouble
>(val3
);
26600 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26601 if (!SWIG_IsOK(ecode4
)) {
26602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26604 arg4
= static_cast< wxDouble
>(val4
);
26605 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26606 if (!SWIG_IsOK(ecode5
)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26609 arg5
= static_cast< wxDouble
>(val5
);
26611 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= SWIG_Py_Void();
26621 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
= 0;
26623 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26638 PyObject
* obj0
= 0 ;
26639 PyObject
* obj1
= 0 ;
26640 PyObject
* obj2
= 0 ;
26641 PyObject
* obj3
= 0 ;
26642 PyObject
* obj4
= 0 ;
26643 char * kwnames
[] = {
26644 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26652 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26653 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26654 if (!SWIG_IsOK(ecode2
)) {
26655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26657 arg2
= static_cast< wxDouble
>(val2
);
26658 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26659 if (!SWIG_IsOK(ecode3
)) {
26660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26662 arg3
= static_cast< wxDouble
>(val3
);
26663 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26664 if (!SWIG_IsOK(ecode4
)) {
26665 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26667 arg4
= static_cast< wxDouble
>(val4
);
26668 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26669 if (!SWIG_IsOK(ecode5
)) {
26670 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26672 arg5
= static_cast< wxDouble
>(val5
);
26674 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= SWIG_Py_Void();
26684 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
= 0;
26686 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26704 PyObject
* obj0
= 0 ;
26705 PyObject
* obj1
= 0 ;
26706 PyObject
* obj2
= 0 ;
26707 PyObject
* obj3
= 0 ;
26708 PyObject
* obj4
= 0 ;
26709 PyObject
* obj5
= 0 ;
26710 char * kwnames
[] = {
26711 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26716 if (!SWIG_IsOK(res1
)) {
26717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26719 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26720 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26721 if (!SWIG_IsOK(ecode2
)) {
26722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26724 arg2
= static_cast< wxDouble
>(val2
);
26725 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26726 if (!SWIG_IsOK(ecode3
)) {
26727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26729 arg3
= static_cast< wxDouble
>(val3
);
26730 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26731 if (!SWIG_IsOK(ecode4
)) {
26732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26734 arg4
= static_cast< wxDouble
>(val4
);
26735 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26736 if (!SWIG_IsOK(ecode5
)) {
26737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26739 arg5
= static_cast< wxDouble
>(val5
);
26740 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26741 if (!SWIG_IsOK(ecode6
)) {
26742 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26744 arg6
= static_cast< wxDouble
>(val6
);
26746 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= SWIG_Py_Void();
26756 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26759 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26760 return SWIG_Py_Void();
26763 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
= 0;
26765 wxWindowDC
*arg1
= 0 ;
26766 wxGCDC
*result
= 0 ;
26769 PyObject
* obj0
= 0 ;
26770 char * kwnames
[] = {
26771 (char *) "dc", NULL
26774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26775 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26776 if (!SWIG_IsOK(res1
)) {
26777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26782 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26784 if (!wxPyCheckForApp()) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26797 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26798 PyObject
*resultobj
= 0;
26799 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26802 PyObject
*swig_obj
[1] ;
26804 if (!args
) SWIG_fail
;
26805 swig_obj
[0] = args
;
26806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26807 if (!SWIG_IsOK(res1
)) {
26808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26810 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_Py_Void();
26823 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26824 PyObject
*resultobj
= 0;
26825 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26826 wxGraphicsContext
*result
= 0 ;
26829 PyObject
*swig_obj
[1] ;
26831 if (!args
) SWIG_fail
;
26832 swig_obj
[0] = args
;
26833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26834 if (!SWIG_IsOK(res1
)) {
26835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26837 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26839 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26849 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26850 PyObject
*resultobj
= 0;
26851 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26852 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
26857 PyObject
* obj0
= 0 ;
26858 PyObject
* obj1
= 0 ;
26859 char * kwnames
[] = {
26860 (char *) "self",(char *) "ctx", NULL
26863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26865 if (!SWIG_IsOK(res1
)) {
26866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26868 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26869 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26870 if (!SWIG_IsOK(res2
)) {
26871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
26873 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
26875 (arg1
)->SetGraphicsContext(arg2
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 resultobj
= SWIG_Py_Void();
26885 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26888 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26889 return SWIG_Py_Void();
26892 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26893 return SWIG_Python_InitShadowInstance(args
);
26896 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26897 PyObject
*resultobj
= 0;
26898 wxOverlay
*result
= 0 ;
26900 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= (wxOverlay
*)new wxOverlay();
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26914 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26915 PyObject
*resultobj
= 0;
26916 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26919 PyObject
*swig_obj
[1] ;
26921 if (!args
) SWIG_fail
;
26922 swig_obj
[0] = args
;
26923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26924 if (!SWIG_IsOK(res1
)) {
26925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26927 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 wxPyEndAllowThreads(__tstate
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26935 resultobj
= SWIG_Py_Void();
26942 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26943 PyObject
*resultobj
= 0;
26944 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26947 PyObject
*swig_obj
[1] ;
26949 if (!args
) SWIG_fail
;
26950 swig_obj
[0] = args
;
26951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26952 if (!SWIG_IsOK(res1
)) {
26953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26955 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= SWIG_Py_Void();
26969 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26972 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26973 return SWIG_Py_Void();
26976 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26977 return SWIG_Python_InitShadowInstance(args
);
26980 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26981 PyObject
*resultobj
= 0;
26982 wxOverlay
*arg1
= 0 ;
26983 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26988 wxDCOverlay
*result
= 0 ;
27002 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27004 if (!SWIG_IsOK(res1
)) {
27005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27010 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27011 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27012 if (!SWIG_IsOK(res2
)) {
27013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27015 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27016 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27017 if (!SWIG_IsOK(ecode3
)) {
27018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
27020 arg3
= static_cast< int >(val3
);
27021 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27022 if (!SWIG_IsOK(ecode4
)) {
27023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
27025 arg4
= static_cast< int >(val4
);
27026 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
27027 if (!SWIG_IsOK(ecode5
)) {
27028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
27030 arg5
= static_cast< int >(val5
);
27031 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
27032 if (!SWIG_IsOK(ecode6
)) {
27033 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
27035 arg6
= static_cast< int >(val6
);
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27049 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27050 PyObject
*resultobj
= 0;
27051 wxOverlay
*arg1
= 0 ;
27052 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27053 wxDCOverlay
*result
= 0 ;
27059 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27061 if (!SWIG_IsOK(res1
)) {
27062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27067 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27068 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27069 if (!SWIG_IsOK(res2
)) {
27070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27072 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27086 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
27090 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
27093 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
27096 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
27100 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
27105 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27106 PyObject
*resultobj
= 0;
27107 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27110 PyObject
*swig_obj
[1] ;
27112 if (!args
) SWIG_fail
;
27113 swig_obj
[0] = args
;
27114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
27115 if (!SWIG_IsOK(res1
)) {
27116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27118 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 resultobj
= SWIG_Py_Void();
27133 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27134 PyObject
*resultobj
= 0;
27135 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27138 PyObject
*swig_obj
[1] ;
27140 if (!args
) SWIG_fail
;
27141 swig_obj
[0] = args
;
27142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
27143 if (!SWIG_IsOK(res1
)) {
27144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27146 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_Py_Void();
27160 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27163 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
27164 return SWIG_Py_Void();
27167 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27168 return SWIG_Python_InitShadowInstance(args
);
27171 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27172 PyObject
*resultobj
= 0;
27175 int arg3
= (int) true ;
27176 int arg4
= (int) 1 ;
27177 wxImageList
*result
= 0 ;
27186 PyObject
* obj0
= 0 ;
27187 PyObject
* obj1
= 0 ;
27188 PyObject
* obj2
= 0 ;
27189 PyObject
* obj3
= 0 ;
27190 char * kwnames
[] = {
27191 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
27194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27195 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27196 if (!SWIG_IsOK(ecode1
)) {
27197 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
27199 arg1
= static_cast< int >(val1
);
27200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27201 if (!SWIG_IsOK(ecode2
)) {
27202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
27204 arg2
= static_cast< int >(val2
);
27206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27207 if (!SWIG_IsOK(ecode3
)) {
27208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27210 arg3
= static_cast< int >(val3
);
27213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27214 if (!SWIG_IsOK(ecode4
)) {
27215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27217 arg4
= static_cast< int >(val4
);
27220 if (!wxPyCheckForApp()) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
27233 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27234 PyObject
*resultobj
= 0;
27235 wxImageList
*arg1
= (wxImageList
*) 0 ;
27238 PyObject
*swig_obj
[1] ;
27240 if (!args
) SWIG_fail
;
27241 swig_obj
[0] = args
;
27242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27243 if (!SWIG_IsOK(res1
)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27246 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= SWIG_Py_Void();
27261 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
= 0;
27263 wxImageList
*arg1
= (wxImageList
*) 0 ;
27264 wxBitmap
*arg2
= 0 ;
27265 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27266 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 PyObject
* obj2
= 0 ;
27277 char * kwnames
[] = {
27278 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27286 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27288 if (!SWIG_IsOK(res2
)) {
27289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27294 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27296 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27297 if (!SWIG_IsOK(res3
)) {
27298 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27303 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= SWIG_From_int(static_cast< int >(result
));
27318 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
= 0;
27320 wxImageList
*arg1
= (wxImageList
*) 0 ;
27321 wxBitmap
*arg2
= 0 ;
27322 wxColour
*arg3
= 0 ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 PyObject
* obj2
= 0 ;
27332 char * kwnames
[] = {
27333 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27338 if (!SWIG_IsOK(res1
)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27341 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27343 if (!SWIG_IsOK(res2
)) {
27344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27349 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27352 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= SWIG_From_int(static_cast< int >(result
));
27367 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
= 0;
27369 wxImageList
*arg1
= (wxImageList
*) 0 ;
27376 PyObject
* obj0
= 0 ;
27377 PyObject
* obj1
= 0 ;
27378 char * kwnames
[] = {
27379 (char *) "self",(char *) "icon", NULL
27382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27384 if (!SWIG_IsOK(res1
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27387 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27388 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27389 if (!SWIG_IsOK(res2
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27395 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= SWIG_From_int(static_cast< int >(result
));
27409 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
= 0;
27411 wxImageList
*arg1
= (wxImageList
*) 0 ;
27413 SwigValueWrapper
<wxBitmap
> result
;
27418 PyObject
* obj0
= 0 ;
27419 PyObject
* obj1
= 0 ;
27420 char * kwnames
[] = {
27421 (char *) "self",(char *) "index", NULL
27424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27426 if (!SWIG_IsOK(res1
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27429 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27431 if (!SWIG_IsOK(ecode2
)) {
27432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27434 arg2
= static_cast< int >(val2
);
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27448 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
= 0;
27450 wxImageList
*arg1
= (wxImageList
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj1
= 0 ;
27459 char * kwnames
[] = {
27460 (char *) "self",(char *) "index", NULL
27463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27465 if (!SWIG_IsOK(res1
)) {
27466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27468 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27470 if (!SWIG_IsOK(ecode2
)) {
27471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27473 arg2
= static_cast< int >(val2
);
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27487 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
= 0;
27489 wxImageList
*arg1
= (wxImageList
*) 0 ;
27491 wxBitmap
*arg3
= 0 ;
27492 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27493 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27503 PyObject
* obj0
= 0 ;
27504 PyObject
* obj1
= 0 ;
27505 PyObject
* obj2
= 0 ;
27506 PyObject
* obj3
= 0 ;
27507 char * kwnames
[] = {
27508 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27516 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27518 if (!SWIG_IsOK(ecode2
)) {
27519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27521 arg2
= static_cast< int >(val2
);
27522 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27523 if (!SWIG_IsOK(res3
)) {
27524 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27529 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27531 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27532 if (!SWIG_IsOK(res4
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27538 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27543 wxPyEndAllowThreads(__tstate
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27555 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27556 PyObject
*resultobj
= 0;
27557 wxImageList
*arg1
= (wxImageList
*) 0 ;
27562 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27563 bool arg7
= (bool) (bool)false ;
27579 PyObject
* obj0
= 0 ;
27580 PyObject
* obj1
= 0 ;
27581 PyObject
* obj2
= 0 ;
27582 PyObject
* obj3
= 0 ;
27583 PyObject
* obj4
= 0 ;
27584 PyObject
* obj5
= 0 ;
27585 PyObject
* obj6
= 0 ;
27586 char * kwnames
[] = {
27587 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27592 if (!SWIG_IsOK(res1
)) {
27593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27595 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27597 if (!SWIG_IsOK(ecode2
)) {
27598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27600 arg2
= static_cast< int >(val2
);
27601 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27602 if (!SWIG_IsOK(res3
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27608 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27609 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27610 if (!SWIG_IsOK(ecode4
)) {
27611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27613 arg4
= static_cast< int >(val4
);
27614 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27615 if (!SWIG_IsOK(ecode5
)) {
27616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27618 arg5
= static_cast< int >(val5
);
27620 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27621 if (!SWIG_IsOK(ecode6
)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27624 arg6
= static_cast< int >(val6
);
27627 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27628 if (!SWIG_IsOK(ecode7
)) {
27629 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27631 arg7
= static_cast< bool >(val7
);
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27648 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27649 PyObject
*resultobj
= 0;
27650 wxImageList
*arg1
= (wxImageList
*) 0 ;
27654 PyObject
*swig_obj
[1] ;
27656 if (!args
) SWIG_fail
;
27657 swig_obj
[0] = args
;
27658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27659 if (!SWIG_IsOK(res1
)) {
27660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27662 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 result
= (int)(arg1
)->GetImageCount();
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 resultobj
= SWIG_From_int(static_cast< int >(result
));
27676 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
= 0;
27678 wxImageList
*arg1
= (wxImageList
*) 0 ;
27685 PyObject
* obj0
= 0 ;
27686 PyObject
* obj1
= 0 ;
27687 char * kwnames
[] = {
27688 (char *) "self",(char *) "index", NULL
27691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27693 if (!SWIG_IsOK(res1
)) {
27694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27696 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27698 if (!SWIG_IsOK(ecode2
)) {
27699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27701 arg2
= static_cast< int >(val2
);
27703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27704 result
= (bool)(arg1
)->Remove(arg2
);
27705 wxPyEndAllowThreads(__tstate
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27717 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27718 PyObject
*resultobj
= 0;
27719 wxImageList
*arg1
= (wxImageList
*) 0 ;
27723 PyObject
*swig_obj
[1] ;
27725 if (!args
) SWIG_fail
;
27726 swig_obj
[0] = args
;
27727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27728 if (!SWIG_IsOK(res1
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27731 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 result
= (bool)(arg1
)->RemoveAll();
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27747 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
= 0;
27749 wxImageList
*arg1
= (wxImageList
*) 0 ;
27758 int res3
= SWIG_TMPOBJ
;
27760 int res4
= SWIG_TMPOBJ
;
27761 PyObject
* obj0
= 0 ;
27762 PyObject
* obj1
= 0 ;
27763 char * kwnames
[] = {
27764 (char *) "self",(char *) "index", NULL
27769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27771 if (!SWIG_IsOK(res1
)) {
27772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27774 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27776 if (!SWIG_IsOK(ecode2
)) {
27777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27779 arg2
= static_cast< int >(val2
);
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= SWIG_Py_Void();
27787 if (SWIG_IsTmpObj(res3
)) {
27788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27790 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27793 if (SWIG_IsTmpObj(res4
)) {
27794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27796 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27805 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27808 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27809 return SWIG_Py_Void();
27812 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27813 return SWIG_Python_InitShadowInstance(args
);
27816 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27817 PyObject
*resultobj
= 0;
27818 wxStockGDI
*result
= 0 ;
27820 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (wxStockGDI
*)new wxStockGDI();
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27834 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27835 PyObject
*resultobj
= 0;
27836 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27839 PyObject
*swig_obj
[1] ;
27841 if (!args
) SWIG_fail
;
27842 swig_obj
[0] = args
;
27843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27847 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 resultobj
= SWIG_Py_Void();
27862 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27863 PyObject
*resultobj
= 0;
27865 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 wxStockGDI::DeleteAll();
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27872 resultobj
= SWIG_Py_Void();
27879 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27880 PyObject
*resultobj
= 0;
27881 wxStockGDI
*result
= 0 ;
27883 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27888 result
= (wxStockGDI
*) &_result_ref
;
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27900 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
= 0;
27902 wxStockGDI::Item arg1
;
27903 wxBrush
*result
= 0 ;
27906 PyObject
* obj0
= 0 ;
27907 char * kwnames
[] = {
27908 (char *) "item", NULL
27911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27912 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27913 if (!SWIG_IsOK(ecode1
)) {
27914 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27916 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27930 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27931 PyObject
*resultobj
= 0;
27932 wxStockGDI::Item arg1
;
27933 wxColour
*result
= 0 ;
27936 PyObject
* obj0
= 0 ;
27937 char * kwnames
[] = {
27938 (char *) "item", NULL
27941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27942 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27943 if (!SWIG_IsOK(ecode1
)) {
27944 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27946 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27950 wxPyEndAllowThreads(__tstate
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27960 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27961 PyObject
*resultobj
= 0;
27962 wxStockGDI::Item arg1
;
27963 wxCursor
*result
= 0 ;
27966 PyObject
* obj0
= 0 ;
27967 char * kwnames
[] = {
27968 (char *) "item", NULL
27971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27972 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27973 if (!SWIG_IsOK(ecode1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27976 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27990 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
= 0;
27992 wxStockGDI::Item arg1
;
27993 wxPen
*result
= 0 ;
27996 PyObject
* obj0
= 0 ;
27997 char * kwnames
[] = {
27998 (char *) "item", NULL
28001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
28002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28003 if (!SWIG_IsOK(ecode1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28006 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28020 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28021 PyObject
*resultobj
= 0;
28022 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28023 wxStockGDI::Item arg2
;
28024 wxFont
*result
= 0 ;
28029 PyObject
* obj0
= 0 ;
28030 PyObject
* obj1
= 0 ;
28031 char * kwnames
[] = {
28032 (char *) "self",(char *) "item", NULL
28035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28037 if (!SWIG_IsOK(res1
)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28040 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28042 if (!SWIG_IsOK(ecode2
)) {
28043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
28045 arg2
= static_cast< wxStockGDI::Item
>(val2
);
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28059 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28062 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
28063 return SWIG_Py_Void();
28066 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28067 return SWIG_Python_InitShadowInstance(args
);
28070 SWIGINTERN
int NullBitmap_set(PyObject
*) {
28071 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
28076 SWIGINTERN PyObject
*NullBitmap_get(void) {
28077 PyObject
*pyobj
= 0;
28079 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
28084 SWIGINTERN
int NullIcon_set(PyObject
*) {
28085 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
28090 SWIGINTERN PyObject
*NullIcon_get(void) {
28091 PyObject
*pyobj
= 0;
28093 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
28098 SWIGINTERN
int NullCursor_set(PyObject
*) {
28099 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
28104 SWIGINTERN PyObject
*NullCursor_get(void) {
28105 PyObject
*pyobj
= 0;
28107 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
28112 SWIGINTERN
int NullPen_set(PyObject
*) {
28113 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
28118 SWIGINTERN PyObject
*NullPen_get(void) {
28119 PyObject
*pyobj
= 0;
28121 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
28126 SWIGINTERN
int NullBrush_set(PyObject
*) {
28127 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
28132 SWIGINTERN PyObject
*NullBrush_get(void) {
28133 PyObject
*pyobj
= 0;
28135 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
28140 SWIGINTERN
int NullPalette_set(PyObject
*) {
28141 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
28146 SWIGINTERN PyObject
*NullPalette_get(void) {
28147 PyObject
*pyobj
= 0;
28149 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
28154 SWIGINTERN
int NullFont_set(PyObject
*) {
28155 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
28160 SWIGINTERN PyObject
*NullFont_get(void) {
28161 PyObject
*pyobj
= 0;
28163 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
28168 SWIGINTERN
int NullColour_set(PyObject
*) {
28169 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
28174 SWIGINTERN PyObject
*NullColour_get(void) {
28175 PyObject
*pyobj
= 0;
28177 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
28182 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28183 PyObject
*resultobj
= 0;
28184 wxGDIObjListBase
*result
= 0 ;
28186 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
28200 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28201 PyObject
*resultobj
= 0;
28202 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
28205 PyObject
*swig_obj
[1] ;
28207 if (!args
) SWIG_fail
;
28208 swig_obj
[0] = args
;
28209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28210 if (!SWIG_IsOK(res1
)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28213 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= SWIG_Py_Void();
28228 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28231 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28232 return SWIG_Py_Void();
28235 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28236 return SWIG_Python_InitShadowInstance(args
);
28239 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
= 0;
28241 wxPenList
*arg1
= (wxPenList
*) 0 ;
28242 wxColour
*arg2
= 0 ;
28245 wxPen
*result
= 0 ;
28253 PyObject
* obj0
= 0 ;
28254 PyObject
* obj1
= 0 ;
28255 PyObject
* obj2
= 0 ;
28256 PyObject
* obj3
= 0 ;
28257 char * kwnames
[] = {
28258 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28263 if (!SWIG_IsOK(res1
)) {
28264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28266 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28272 if (!SWIG_IsOK(ecode3
)) {
28273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28275 arg3
= static_cast< int >(val3
);
28276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28277 if (!SWIG_IsOK(ecode4
)) {
28278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28280 arg4
= static_cast< int >(val4
);
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28294 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
= 0;
28296 wxPenList
*arg1
= (wxPenList
*) 0 ;
28297 wxPen
*arg2
= (wxPen
*) 0 ;
28302 PyObject
* obj0
= 0 ;
28303 PyObject
* obj1
= 0 ;
28304 char * kwnames
[] = {
28305 (char *) "self",(char *) "pen", NULL
28308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28310 if (!SWIG_IsOK(res1
)) {
28311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28313 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28315 if (!SWIG_IsOK(res2
)) {
28316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28318 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28321 (arg1
)->AddPen(arg2
);
28322 wxPyEndAllowThreads(__tstate
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= SWIG_Py_Void();
28332 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
= 0;
28334 wxPenList
*arg1
= (wxPenList
*) 0 ;
28335 wxPen
*arg2
= (wxPen
*) 0 ;
28340 PyObject
* obj0
= 0 ;
28341 PyObject
* obj1
= 0 ;
28342 char * kwnames
[] = {
28343 (char *) "self",(char *) "pen", NULL
28346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28348 if (!SWIG_IsOK(res1
)) {
28349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28351 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28353 if (!SWIG_IsOK(res2
)) {
28354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28356 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28359 (arg1
)->RemovePen(arg2
);
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= SWIG_Py_Void();
28370 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28373 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28374 return SWIG_Py_Void();
28377 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28378 PyObject
*resultobj
= 0;
28379 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28380 wxColour
*arg2
= 0 ;
28381 int arg3
= (int) wxSOLID
;
28382 wxBrush
*result
= 0 ;
28388 PyObject
* obj0
= 0 ;
28389 PyObject
* obj1
= 0 ;
28390 PyObject
* obj2
= 0 ;
28391 char * kwnames
[] = {
28392 (char *) "self",(char *) "colour",(char *) "style", NULL
28395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28397 if (!SWIG_IsOK(res1
)) {
28398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28400 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28407 if (!SWIG_IsOK(ecode3
)) {
28408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28410 arg3
= static_cast< int >(val3
);
28413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28414 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28425 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28426 PyObject
*resultobj
= 0;
28427 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28428 wxBrush
*arg2
= (wxBrush
*) 0 ;
28433 PyObject
* obj0
= 0 ;
28434 PyObject
* obj1
= 0 ;
28435 char * kwnames
[] = {
28436 (char *) "self",(char *) "brush", NULL
28439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28441 if (!SWIG_IsOK(res1
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28444 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28446 if (!SWIG_IsOK(res2
)) {
28447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28449 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 (arg1
)->AddBrush(arg2
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= SWIG_Py_Void();
28463 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
= 0;
28465 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28466 wxBrush
*arg2
= (wxBrush
*) 0 ;
28471 PyObject
* obj0
= 0 ;
28472 PyObject
* obj1
= 0 ;
28473 char * kwnames
[] = {
28474 (char *) "self",(char *) "brush", NULL
28477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28479 if (!SWIG_IsOK(res1
)) {
28480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28482 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28483 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28484 if (!SWIG_IsOK(res2
)) {
28485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28487 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 (arg1
)->RemoveBrush(arg2
);
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= SWIG_Py_Void();
28501 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28504 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28505 return SWIG_Py_Void();
28508 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28509 PyObject
*resultobj
= 0;
28510 wxFontList
*arg1
= (wxFontList
*) 0 ;
28515 bool arg6
= (bool) false ;
28516 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28517 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28518 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28519 wxFont
*result
= 0 ;
28532 bool temp7
= false ;
28535 PyObject
* obj0
= 0 ;
28536 PyObject
* obj1
= 0 ;
28537 PyObject
* obj2
= 0 ;
28538 PyObject
* obj3
= 0 ;
28539 PyObject
* obj4
= 0 ;
28540 PyObject
* obj5
= 0 ;
28541 PyObject
* obj6
= 0 ;
28542 PyObject
* obj7
= 0 ;
28543 char * kwnames
[] = {
28544 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28549 if (!SWIG_IsOK(res1
)) {
28550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28552 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28554 if (!SWIG_IsOK(ecode2
)) {
28555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28557 arg2
= static_cast< int >(val2
);
28558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28559 if (!SWIG_IsOK(ecode3
)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28562 arg3
= static_cast< int >(val3
);
28563 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28564 if (!SWIG_IsOK(ecode4
)) {
28565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28567 arg4
= static_cast< int >(val4
);
28568 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28569 if (!SWIG_IsOK(ecode5
)) {
28570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28572 arg5
= static_cast< int >(val5
);
28574 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28575 if (!SWIG_IsOK(ecode6
)) {
28576 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28578 arg6
= static_cast< bool >(val6
);
28582 arg7
= wxString_in_helper(obj6
);
28583 if (arg7
== NULL
) SWIG_fail
;
28588 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28589 if (!SWIG_IsOK(ecode8
)) {
28590 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28592 arg8
= static_cast< wxFontEncoding
>(val8
);
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28615 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
= 0;
28617 wxFontList
*arg1
= (wxFontList
*) 0 ;
28618 wxFont
*arg2
= (wxFont
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 PyObject
* obj1
= 0 ;
28625 char * kwnames
[] = {
28626 (char *) "self",(char *) "font", NULL
28629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28631 if (!SWIG_IsOK(res1
)) {
28632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28634 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28636 if (!SWIG_IsOK(res2
)) {
28637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28639 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 (arg1
)->AddFont(arg2
);
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= SWIG_Py_Void();
28653 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28654 PyObject
*resultobj
= 0;
28655 wxFontList
*arg1
= (wxFontList
*) 0 ;
28656 wxFont
*arg2
= (wxFont
*) 0 ;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 char * kwnames
[] = {
28664 (char *) "self",(char *) "font", NULL
28667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28669 if (!SWIG_IsOK(res1
)) {
28670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28672 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28674 if (!SWIG_IsOK(res2
)) {
28675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28677 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 (arg1
)->RemoveFont(arg2
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_Py_Void();
28691 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28694 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28695 return SWIG_Py_Void();
28698 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28699 PyObject
*resultobj
= 0;
28700 wxColourDatabase
*result
= 0 ;
28702 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28704 if (!wxPyCheckForApp()) SWIG_fail
;
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 result
= (wxColourDatabase
*)new wxColourDatabase();
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28717 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28718 PyObject
*resultobj
= 0;
28719 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28722 PyObject
*swig_obj
[1] ;
28724 if (!args
) SWIG_fail
;
28725 swig_obj
[0] = args
;
28726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28727 if (!SWIG_IsOK(res1
)) {
28728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28730 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= SWIG_Py_Void();
28745 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28746 PyObject
*resultobj
= 0;
28747 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28748 wxString
*arg2
= 0 ;
28752 bool temp2
= false ;
28753 PyObject
* obj0
= 0 ;
28754 PyObject
* obj1
= 0 ;
28755 char * kwnames
[] = {
28756 (char *) "self",(char *) "name", NULL
28759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28761 if (!SWIG_IsOK(res1
)) {
28762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28764 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28766 arg2
= wxString_in_helper(obj1
);
28767 if (arg2
== NULL
) SWIG_fail
;
28771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28772 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28773 wxPyEndAllowThreads(__tstate
);
28774 if (PyErr_Occurred()) SWIG_fail
;
28776 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28791 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28792 PyObject
*resultobj
= 0;
28793 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28794 wxColour
*arg2
= 0 ;
28799 PyObject
* obj0
= 0 ;
28800 PyObject
* obj1
= 0 ;
28801 char * kwnames
[] = {
28802 (char *) "self",(char *) "colour", NULL
28805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28807 if (!SWIG_IsOK(res1
)) {
28808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28810 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28813 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28834 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
= 0;
28836 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28837 wxString
*arg2
= 0 ;
28838 wxColour
*arg3
= 0 ;
28841 bool temp2
= false ;
28843 PyObject
* obj0
= 0 ;
28844 PyObject
* obj1
= 0 ;
28845 PyObject
* obj2
= 0 ;
28846 char * kwnames
[] = {
28847 (char *) "self",(char *) "name",(char *) "colour", NULL
28850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28852 if (!SWIG_IsOK(res1
)) {
28853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28855 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28857 arg2
= wxString_in_helper(obj1
);
28858 if (arg2
== NULL
) SWIG_fail
;
28863 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 resultobj
= SWIG_Py_Void();
28886 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
= 0;
28888 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28889 wxString
*arg2
= 0 ;
28895 bool temp2
= false ;
28902 PyObject
* obj0
= 0 ;
28903 PyObject
* obj1
= 0 ;
28904 PyObject
* obj2
= 0 ;
28905 PyObject
* obj3
= 0 ;
28906 PyObject
* obj4
= 0 ;
28907 char * kwnames
[] = {
28908 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28913 if (!SWIG_IsOK(res1
)) {
28914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28916 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28918 arg2
= wxString_in_helper(obj1
);
28919 if (arg2
== NULL
) SWIG_fail
;
28922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28923 if (!SWIG_IsOK(ecode3
)) {
28924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28926 arg3
= static_cast< int >(val3
);
28927 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28928 if (!SWIG_IsOK(ecode4
)) {
28929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28931 arg4
= static_cast< int >(val4
);
28932 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28933 if (!SWIG_IsOK(ecode5
)) {
28934 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28936 arg5
= static_cast< int >(val5
);
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 resultobj
= SWIG_Py_Void();
28958 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28961 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28962 return SWIG_Py_Void();
28965 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28966 return SWIG_Python_InitShadowInstance(args
);
28969 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28970 PyObject
*resultobj
= 0;
28971 wxFontList
*result
= 0 ;
28973 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 result
= (wxFontList
*)_wxPyInitTheFontList();
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28987 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28988 PyObject
*resultobj
= 0;
28989 wxPenList
*result
= 0 ;
28991 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= (wxPenList
*)_wxPyInitThePenList();
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
29005 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29006 PyObject
*resultobj
= 0;
29007 wxBrushList
*result
= 0 ;
29009 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 result
= (wxBrushList
*)_wxPyInitTheBrushList();
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
29023 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29024 PyObject
*resultobj
= 0;
29025 wxColourDatabase
*result
= 0 ;
29027 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29041 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29042 PyObject
*resultobj
= 0;
29043 wxEffects
*result
= 0 ;
29045 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 result
= (wxEffects
*)new wxEffects();
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
29059 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29060 PyObject
*resultobj
= 0;
29061 wxEffects
*arg1
= (wxEffects
*) 0 ;
29065 PyObject
*swig_obj
[1] ;
29067 if (!args
) SWIG_fail
;
29068 swig_obj
[0] = args
;
29069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29070 if (!SWIG_IsOK(res1
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29073 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29087 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29088 PyObject
*resultobj
= 0;
29089 wxEffects
*arg1
= (wxEffects
*) 0 ;
29093 PyObject
*swig_obj
[1] ;
29095 if (!args
) SWIG_fail
;
29096 swig_obj
[0] = args
;
29097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29098 if (!SWIG_IsOK(res1
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29101 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29115 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29116 PyObject
*resultobj
= 0;
29117 wxEffects
*arg1
= (wxEffects
*) 0 ;
29121 PyObject
*swig_obj
[1] ;
29123 if (!args
) SWIG_fail
;
29124 swig_obj
[0] = args
;
29125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29126 if (!SWIG_IsOK(res1
)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29129 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29132 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
29133 wxPyEndAllowThreads(__tstate
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29143 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29144 PyObject
*resultobj
= 0;
29145 wxEffects
*arg1
= (wxEffects
*) 0 ;
29149 PyObject
*swig_obj
[1] ;
29151 if (!args
) SWIG_fail
;
29152 swig_obj
[0] = args
;
29153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29154 if (!SWIG_IsOK(res1
)) {
29155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29157 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29171 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29172 PyObject
*resultobj
= 0;
29173 wxEffects
*arg1
= (wxEffects
*) 0 ;
29177 PyObject
*swig_obj
[1] ;
29179 if (!args
) SWIG_fail
;
29180 swig_obj
[0] = args
;
29181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29182 if (!SWIG_IsOK(res1
)) {
29183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29185 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
29189 wxPyEndAllowThreads(__tstate
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29192 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29199 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29200 PyObject
*resultobj
= 0;
29201 wxEffects
*arg1
= (wxEffects
*) 0 ;
29202 wxColour
*arg2
= 0 ;
29206 PyObject
* obj0
= 0 ;
29207 PyObject
* obj1
= 0 ;
29208 char * kwnames
[] = {
29209 (char *) "self",(char *) "c", NULL
29212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29214 if (!SWIG_IsOK(res1
)) {
29215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29217 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29220 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29225 wxPyEndAllowThreads(__tstate
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29228 resultobj
= SWIG_Py_Void();
29235 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
= 0;
29237 wxEffects
*arg1
= (wxEffects
*) 0 ;
29238 wxColour
*arg2
= 0 ;
29242 PyObject
* obj0
= 0 ;
29243 PyObject
* obj1
= 0 ;
29244 char * kwnames
[] = {
29245 (char *) "self",(char *) "c", NULL
29248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29250 if (!SWIG_IsOK(res1
)) {
29251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29253 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29256 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= SWIG_Py_Void();
29271 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
= 0;
29273 wxEffects
*arg1
= (wxEffects
*) 0 ;
29274 wxColour
*arg2
= 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 char * kwnames
[] = {
29281 (char *) "self",(char *) "c", NULL
29284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29286 if (!SWIG_IsOK(res1
)) {
29287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29289 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29292 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= SWIG_Py_Void();
29307 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29309 wxEffects
*arg1
= (wxEffects
*) 0 ;
29310 wxColour
*arg2
= 0 ;
29314 PyObject
* obj0
= 0 ;
29315 PyObject
* obj1
= 0 ;
29316 char * kwnames
[] = {
29317 (char *) "self",(char *) "c", NULL
29320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29322 if (!SWIG_IsOK(res1
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29325 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29333 wxPyEndAllowThreads(__tstate
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29336 resultobj
= SWIG_Py_Void();
29343 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29344 PyObject
*resultobj
= 0;
29345 wxEffects
*arg1
= (wxEffects
*) 0 ;
29346 wxColour
*arg2
= 0 ;
29350 PyObject
* obj0
= 0 ;
29351 PyObject
* obj1
= 0 ;
29352 char * kwnames
[] = {
29353 (char *) "self",(char *) "c", NULL
29356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29358 if (!SWIG_IsOK(res1
)) {
29359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29361 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29368 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 resultobj
= SWIG_Py_Void();
29379 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
= 0;
29381 wxEffects
*arg1
= (wxEffects
*) 0 ;
29382 wxColour
*arg2
= 0 ;
29383 wxColour
*arg3
= 0 ;
29384 wxColour
*arg4
= 0 ;
29385 wxColour
*arg5
= 0 ;
29386 wxColour
*arg6
= 0 ;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 PyObject
* obj2
= 0 ;
29397 PyObject
* obj3
= 0 ;
29398 PyObject
* obj4
= 0 ;
29399 PyObject
* obj5
= 0 ;
29400 char * kwnames
[] = {
29401 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29406 if (!SWIG_IsOK(res1
)) {
29407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29409 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29412 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29416 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29420 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29424 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29428 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= SWIG_Py_Void();
29443 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29444 PyObject
*resultobj
= 0;
29445 wxEffects
*arg1
= (wxEffects
*) 0 ;
29448 int arg4
= (int) 1 ;
29456 PyObject
* obj0
= 0 ;
29457 PyObject
* obj1
= 0 ;
29458 PyObject
* obj2
= 0 ;
29459 PyObject
* obj3
= 0 ;
29460 char * kwnames
[] = {
29461 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29466 if (!SWIG_IsOK(res1
)) {
29467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29469 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29471 if (!SWIG_IsOK(res2
)) {
29472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29477 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29480 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29484 if (!SWIG_IsOK(ecode4
)) {
29485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29487 arg4
= static_cast< int >(val4
);
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= SWIG_Py_Void();
29502 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29503 PyObject
*resultobj
= 0;
29504 wxEffects
*arg1
= (wxEffects
*) 0 ;
29507 wxBitmap
*arg4
= 0 ;
29516 PyObject
* obj0
= 0 ;
29517 PyObject
* obj1
= 0 ;
29518 PyObject
* obj2
= 0 ;
29519 PyObject
* obj3
= 0 ;
29520 char * kwnames
[] = {
29521 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29526 if (!SWIG_IsOK(res1
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29529 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29532 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29534 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29535 if (!SWIG_IsOK(res3
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29541 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29542 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29543 if (!SWIG_IsOK(res4
)) {
29544 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29549 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29552 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29553 wxPyEndAllowThreads(__tstate
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29565 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29568 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29569 return SWIG_Py_Void();
29572 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29573 return SWIG_Python_InitShadowInstance(args
);
29576 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
= 0;
29581 wxSplitterRenderParams
*result
= 0 ;
29588 PyObject
* obj0
= 0 ;
29589 PyObject
* obj1
= 0 ;
29590 PyObject
* obj2
= 0 ;
29591 char * kwnames
[] = {
29592 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29596 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29597 if (!SWIG_IsOK(ecode1
)) {
29598 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29600 arg1
= static_cast< int >(val1
);
29601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29602 if (!SWIG_IsOK(ecode2
)) {
29603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29605 arg2
= static_cast< int >(val2
);
29606 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29607 if (!SWIG_IsOK(ecode3
)) {
29608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29610 arg3
= static_cast< bool >(val3
);
29612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29613 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29614 wxPyEndAllowThreads(__tstate
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29624 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29625 PyObject
*resultobj
= 0;
29626 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29629 PyObject
*swig_obj
[1] ;
29631 if (!args
) SWIG_fail
;
29632 swig_obj
[0] = args
;
29633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29634 if (!SWIG_IsOK(res1
)) {
29635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29637 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29642 wxPyEndAllowThreads(__tstate
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29645 resultobj
= SWIG_Py_Void();
29652 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29653 PyObject
*resultobj
= 0;
29654 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29658 PyObject
*swig_obj
[1] ;
29660 if (!args
) SWIG_fail
;
29661 swig_obj
[0] = args
;
29662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29663 if (!SWIG_IsOK(res1
)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29666 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29667 result
= (int)(int) ((arg1
)->widthSash
);
29668 resultobj
= SWIG_From_int(static_cast< int >(result
));
29675 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29676 PyObject
*resultobj
= 0;
29677 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29681 PyObject
*swig_obj
[1] ;
29683 if (!args
) SWIG_fail
;
29684 swig_obj
[0] = args
;
29685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29686 if (!SWIG_IsOK(res1
)) {
29687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29689 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29690 result
= (int)(int) ((arg1
)->border
);
29691 resultobj
= SWIG_From_int(static_cast< int >(result
));
29698 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29699 PyObject
*resultobj
= 0;
29700 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29704 PyObject
*swig_obj
[1] ;
29706 if (!args
) SWIG_fail
;
29707 swig_obj
[0] = args
;
29708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29709 if (!SWIG_IsOK(res1
)) {
29710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29712 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29713 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29714 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29721 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29724 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29725 return SWIG_Py_Void();
29728 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29729 return SWIG_Python_InitShadowInstance(args
);
29732 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29733 PyObject
*resultobj
= 0;
29734 wxHeaderButtonParams
*result
= 0 ;
29736 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29739 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29750 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29751 PyObject
*resultobj
= 0;
29752 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29755 PyObject
*swig_obj
[1] ;
29757 if (!args
) SWIG_fail
;
29758 swig_obj
[0] = args
;
29759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29760 if (!SWIG_IsOK(res1
)) {
29761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29763 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29771 resultobj
= SWIG_Py_Void();
29778 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29779 PyObject
*resultobj
= 0;
29780 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29781 wxColour
*arg2
= (wxColour
*) 0 ;
29785 PyObject
*swig_obj
[2] ;
29787 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29789 if (!SWIG_IsOK(res1
)) {
29790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29792 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29795 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29797 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29799 resultobj
= SWIG_Py_Void();
29806 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29807 PyObject
*resultobj
= 0;
29808 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29809 wxColour
*result
= 0 ;
29812 PyObject
*swig_obj
[1] ;
29814 if (!args
) SWIG_fail
;
29815 swig_obj
[0] = args
;
29816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29817 if (!SWIG_IsOK(res1
)) {
29818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29820 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29821 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29829 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29830 PyObject
*resultobj
= 0;
29831 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29832 wxColour
*arg2
= (wxColour
*) 0 ;
29836 PyObject
*swig_obj
[2] ;
29838 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29840 if (!SWIG_IsOK(res1
)) {
29841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29843 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29846 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29848 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29850 resultobj
= SWIG_Py_Void();
29857 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29858 PyObject
*resultobj
= 0;
29859 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29860 wxColour
*result
= 0 ;
29863 PyObject
*swig_obj
[1] ;
29865 if (!args
) SWIG_fail
;
29866 swig_obj
[0] = args
;
29867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29868 if (!SWIG_IsOK(res1
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29871 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29872 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29880 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29881 PyObject
*resultobj
= 0;
29882 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29883 wxString
*arg2
= (wxString
*) 0 ;
29886 bool temp2
= false ;
29887 PyObject
*swig_obj
[2] ;
29889 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29891 if (!SWIG_IsOK(res1
)) {
29892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29894 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29896 arg2
= wxString_in_helper(swig_obj
[1]);
29897 if (arg2
== NULL
) SWIG_fail
;
29900 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29902 resultobj
= SWIG_Py_Void();
29917 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29918 PyObject
*resultobj
= 0;
29919 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29920 wxString
*result
= 0 ;
29923 PyObject
*swig_obj
[1] ;
29925 if (!args
) SWIG_fail
;
29926 swig_obj
[0] = args
;
29927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29931 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29932 result
= (wxString
*)& ((arg1
)->m_labelText
);
29935 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29937 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29946 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29947 PyObject
*resultobj
= 0;
29948 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29949 wxFont
*arg2
= (wxFont
*) 0 ;
29954 PyObject
*swig_obj
[2] ;
29956 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29961 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29962 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29963 if (!SWIG_IsOK(res2
)) {
29964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29966 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29967 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29969 resultobj
= SWIG_Py_Void();
29976 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29977 PyObject
*resultobj
= 0;
29978 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29979 wxFont
*result
= 0 ;
29982 PyObject
*swig_obj
[1] ;
29984 if (!args
) SWIG_fail
;
29985 swig_obj
[0] = args
;
29986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29987 if (!SWIG_IsOK(res1
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29990 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29991 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29999 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30000 PyObject
*resultobj
= 0;
30001 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30002 wxColour
*arg2
= (wxColour
*) 0 ;
30006 PyObject
*swig_obj
[2] ;
30008 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
30009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30010 if (!SWIG_IsOK(res1
)) {
30011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30013 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30016 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30018 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
30020 resultobj
= SWIG_Py_Void();
30027 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30028 PyObject
*resultobj
= 0;
30029 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30030 wxColour
*result
= 0 ;
30033 PyObject
*swig_obj
[1] ;
30035 if (!args
) SWIG_fail
;
30036 swig_obj
[0] = args
;
30037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30038 if (!SWIG_IsOK(res1
)) {
30039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30041 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30042 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
30043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30050 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30051 PyObject
*resultobj
= 0;
30052 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30053 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30058 PyObject
*swig_obj
[2] ;
30060 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
30061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30062 if (!SWIG_IsOK(res1
)) {
30063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30065 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30066 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
30067 if (!SWIG_IsOK(res2
)) {
30068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
30070 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30071 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
30073 resultobj
= SWIG_Py_Void();
30080 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30081 PyObject
*resultobj
= 0;
30082 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30083 wxBitmap
*result
= 0 ;
30086 PyObject
*swig_obj
[1] ;
30088 if (!args
) SWIG_fail
;
30089 swig_obj
[0] = args
;
30090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30091 if (!SWIG_IsOK(res1
)) {
30092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30094 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30095 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
30096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
30103 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30104 PyObject
*resultobj
= 0;
30105 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30111 PyObject
*swig_obj
[2] ;
30113 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
30114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30115 if (!SWIG_IsOK(res1
)) {
30116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30118 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30119 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30120 if (!SWIG_IsOK(ecode2
)) {
30121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
30123 arg2
= static_cast< int >(val2
);
30124 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
30126 resultobj
= SWIG_Py_Void();
30133 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30134 PyObject
*resultobj
= 0;
30135 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30139 PyObject
*swig_obj
[1] ;
30141 if (!args
) SWIG_fail
;
30142 swig_obj
[0] = args
;
30143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30144 if (!SWIG_IsOK(res1
)) {
30145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30147 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30148 result
= (int) ((arg1
)->m_labelAlignment
);
30149 resultobj
= SWIG_From_int(static_cast< int >(result
));
30156 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30159 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
30160 return SWIG_Py_Void();
30163 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30164 return SWIG_Python_InitShadowInstance(args
);
30167 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
= 0;
30171 wxRendererVersion
*result
= 0 ;
30176 PyObject
* obj0
= 0 ;
30177 PyObject
* obj1
= 0 ;
30178 char * kwnames
[] = {
30179 (char *) "version_",(char *) "age_", NULL
30182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30183 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30184 if (!SWIG_IsOK(ecode1
)) {
30185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
30187 arg1
= static_cast< int >(val1
);
30188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30189 if (!SWIG_IsOK(ecode2
)) {
30190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
30192 arg2
= static_cast< int >(val2
);
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
30206 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30207 PyObject
*resultobj
= 0;
30208 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30211 PyObject
*swig_obj
[1] ;
30213 if (!args
) SWIG_fail
;
30214 swig_obj
[0] = args
;
30215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30216 if (!SWIG_IsOK(res1
)) {
30217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30219 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30227 resultobj
= SWIG_Py_Void();
30234 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
= 0;
30236 wxRendererVersion
*arg1
= 0 ;
30240 PyObject
* obj0
= 0 ;
30241 char * kwnames
[] = {
30242 (char *) "ver", NULL
30245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30246 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30247 if (!SWIG_IsOK(res1
)) {
30248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30253 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30257 wxPyEndAllowThreads(__tstate
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30269 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30270 PyObject
*resultobj
= 0;
30271 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30275 PyObject
*swig_obj
[1] ;
30277 if (!args
) SWIG_fail
;
30278 swig_obj
[0] = args
;
30279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30280 if (!SWIG_IsOK(res1
)) {
30281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30283 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30284 result
= (int)(int) ((arg1
)->version
);
30285 resultobj
= SWIG_From_int(static_cast< int >(result
));
30292 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30293 PyObject
*resultobj
= 0;
30294 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30298 PyObject
*swig_obj
[1] ;
30300 if (!args
) SWIG_fail
;
30301 swig_obj
[0] = args
;
30302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30303 if (!SWIG_IsOK(res1
)) {
30304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30306 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30307 result
= (int)(int) ((arg1
)->age
);
30308 resultobj
= SWIG_From_int(static_cast< int >(result
));
30315 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30318 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30319 return SWIG_Py_Void();
30322 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30323 return SWIG_Python_InitShadowInstance(args
);
30326 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30327 PyObject
*resultobj
= 0;
30328 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30329 wxWindow
*arg2
= (wxWindow
*) 0 ;
30332 int arg5
= (int) 0 ;
30333 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30334 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30348 PyObject
* obj0
= 0 ;
30349 PyObject
* obj1
= 0 ;
30350 PyObject
* obj2
= 0 ;
30351 PyObject
* obj3
= 0 ;
30352 PyObject
* obj4
= 0 ;
30353 PyObject
* obj5
= 0 ;
30354 PyObject
* obj6
= 0 ;
30355 char * kwnames
[] = {
30356 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30361 if (!SWIG_IsOK(res1
)) {
30362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30364 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30366 if (!SWIG_IsOK(res2
)) {
30367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30369 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30370 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30371 if (!SWIG_IsOK(res3
)) {
30372 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30377 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30380 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30383 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30384 if (!SWIG_IsOK(ecode5
)) {
30385 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30387 arg5
= static_cast< int >(val5
);
30390 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30391 if (!SWIG_IsOK(ecode6
)) {
30392 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30394 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30397 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30398 if (!SWIG_IsOK(res7
)) {
30399 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30401 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30409 resultobj
= SWIG_Py_Void();
30416 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30417 PyObject
*resultobj
= 0;
30418 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30419 wxWindow
*arg2
= (wxWindow
*) 0 ;
30422 int arg5
= (int) 0 ;
30423 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30424 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 PyObject
* obj2
= 0 ;
30441 PyObject
* obj3
= 0 ;
30442 PyObject
* obj4
= 0 ;
30443 PyObject
* obj5
= 0 ;
30444 PyObject
* obj6
= 0 ;
30445 char * kwnames
[] = {
30446 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30451 if (!SWIG_IsOK(res1
)) {
30452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30454 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30456 if (!SWIG_IsOK(res2
)) {
30457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30459 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30460 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30461 if (!SWIG_IsOK(res3
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30467 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30470 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30473 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30474 if (!SWIG_IsOK(ecode5
)) {
30475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30477 arg5
= static_cast< int >(val5
);
30480 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30481 if (!SWIG_IsOK(ecode6
)) {
30482 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30484 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30487 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30488 if (!SWIG_IsOK(res7
)) {
30489 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30491 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30499 resultobj
= SWIG_Py_Void();
30506 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30507 PyObject
*resultobj
= 0;
30508 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30509 wxWindow
*arg2
= (wxWindow
*) 0 ;
30515 PyObject
* obj0
= 0 ;
30516 PyObject
* obj1
= 0 ;
30517 char * kwnames
[] = {
30518 (char *) "self",(char *) "win", NULL
30521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30523 if (!SWIG_IsOK(res1
)) {
30524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30526 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30527 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30528 if (!SWIG_IsOK(res2
)) {
30529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30531 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30535 wxPyEndAllowThreads(__tstate
);
30536 if (PyErr_Occurred()) SWIG_fail
;
30538 resultobj
= SWIG_From_int(static_cast< int >(result
));
30545 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30546 PyObject
*resultobj
= 0;
30547 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30548 wxWindow
*arg2
= (wxWindow
*) 0 ;
30551 int arg5
= (int) 0 ;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 PyObject
* obj2
= 0 ;
30564 PyObject
* obj3
= 0 ;
30565 PyObject
* obj4
= 0 ;
30566 char * kwnames
[] = {
30567 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30572 if (!SWIG_IsOK(res1
)) {
30573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30575 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30577 if (!SWIG_IsOK(res2
)) {
30578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30581 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30582 if (!SWIG_IsOK(res3
)) {
30583 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30588 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30591 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30594 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30595 if (!SWIG_IsOK(ecode5
)) {
30596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30598 arg5
= static_cast< int >(val5
);
30601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30602 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30603 wxPyEndAllowThreads(__tstate
);
30604 if (PyErr_Occurred()) SWIG_fail
;
30606 resultobj
= SWIG_Py_Void();
30613 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30614 PyObject
*resultobj
= 0;
30615 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30616 wxWindow
*arg2
= (wxWindow
*) 0 ;
30619 int arg5
= (int) 0 ;
30629 PyObject
* obj0
= 0 ;
30630 PyObject
* obj1
= 0 ;
30631 PyObject
* obj2
= 0 ;
30632 PyObject
* obj3
= 0 ;
30633 PyObject
* obj4
= 0 ;
30634 char * kwnames
[] = {
30635 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30640 if (!SWIG_IsOK(res1
)) {
30641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30643 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30645 if (!SWIG_IsOK(res2
)) {
30646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30648 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30649 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30650 if (!SWIG_IsOK(res3
)) {
30651 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30656 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30659 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30662 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30663 if (!SWIG_IsOK(ecode5
)) {
30664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30666 arg5
= static_cast< int >(val5
);
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30671 wxPyEndAllowThreads(__tstate
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30674 resultobj
= SWIG_Py_Void();
30681 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30682 PyObject
*resultobj
= 0;
30683 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30684 wxWindow
*arg2
= (wxWindow
*) 0 ;
30688 wxOrientation arg6
;
30689 int arg7
= (int) 0 ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 PyObject
* obj2
= 0 ;
30706 PyObject
* obj3
= 0 ;
30707 PyObject
* obj4
= 0 ;
30708 PyObject
* obj5
= 0 ;
30709 PyObject
* obj6
= 0 ;
30710 char * kwnames
[] = {
30711 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30716 if (!SWIG_IsOK(res1
)) {
30717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30719 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30721 if (!SWIG_IsOK(res2
)) {
30722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30724 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30725 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30726 if (!SWIG_IsOK(res3
)) {
30727 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30732 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30735 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30737 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30738 if (!SWIG_IsOK(ecode5
)) {
30739 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30741 arg5
= static_cast< int >(val5
);
30742 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30743 if (!SWIG_IsOK(ecode6
)) {
30744 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30746 arg6
= static_cast< wxOrientation
>(val6
);
30748 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30749 if (!SWIG_IsOK(ecode7
)) {
30750 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30752 arg7
= static_cast< int >(val7
);
30755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30756 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 resultobj
= SWIG_Py_Void();
30767 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
= 0;
30769 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30770 wxWindow
*arg2
= (wxWindow
*) 0 ;
30773 int arg5
= (int) 0 ;
30783 PyObject
* obj0
= 0 ;
30784 PyObject
* obj1
= 0 ;
30785 PyObject
* obj2
= 0 ;
30786 PyObject
* obj3
= 0 ;
30787 PyObject
* obj4
= 0 ;
30788 char * kwnames
[] = {
30789 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30794 if (!SWIG_IsOK(res1
)) {
30795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30797 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30798 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30799 if (!SWIG_IsOK(res2
)) {
30800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30802 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30803 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30804 if (!SWIG_IsOK(res3
)) {
30805 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30810 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30813 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30816 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30817 if (!SWIG_IsOK(ecode5
)) {
30818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30820 arg5
= static_cast< int >(val5
);
30823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30824 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30825 wxPyEndAllowThreads(__tstate
);
30826 if (PyErr_Occurred()) SWIG_fail
;
30828 resultobj
= SWIG_Py_Void();
30835 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
= 0;
30837 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30838 wxWindow
*arg2
= (wxWindow
*) 0 ;
30841 int arg5
= (int) 0 ;
30851 PyObject
* obj0
= 0 ;
30852 PyObject
* obj1
= 0 ;
30853 PyObject
* obj2
= 0 ;
30854 PyObject
* obj3
= 0 ;
30855 PyObject
* obj4
= 0 ;
30856 char * kwnames
[] = {
30857 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30862 if (!SWIG_IsOK(res1
)) {
30863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30865 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30867 if (!SWIG_IsOK(res2
)) {
30868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30870 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30871 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30872 if (!SWIG_IsOK(res3
)) {
30873 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30878 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30881 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30884 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30885 if (!SWIG_IsOK(ecode5
)) {
30886 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30888 arg5
= static_cast< int >(val5
);
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30896 resultobj
= SWIG_Py_Void();
30903 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
= 0;
30905 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30906 wxWindow
*arg2
= (wxWindow
*) 0 ;
30909 int arg5
= (int) 0 ;
30919 PyObject
* obj0
= 0 ;
30920 PyObject
* obj1
= 0 ;
30921 PyObject
* obj2
= 0 ;
30922 PyObject
* obj3
= 0 ;
30923 PyObject
* obj4
= 0 ;
30924 char * kwnames
[] = {
30925 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30930 if (!SWIG_IsOK(res1
)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30933 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30935 if (!SWIG_IsOK(res2
)) {
30936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30938 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30939 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30940 if (!SWIG_IsOK(res3
)) {
30941 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30946 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30949 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30952 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30953 if (!SWIG_IsOK(ecode5
)) {
30954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30956 arg5
= static_cast< int >(val5
);
30959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30960 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= SWIG_Py_Void();
30971 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30972 PyObject
*resultobj
= 0;
30973 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30974 wxWindow
*arg2
= (wxWindow
*) 0 ;
30977 int arg5
= (int) 0 ;
30987 PyObject
* obj0
= 0 ;
30988 PyObject
* obj1
= 0 ;
30989 PyObject
* obj2
= 0 ;
30990 PyObject
* obj3
= 0 ;
30991 PyObject
* obj4
= 0 ;
30992 char * kwnames
[] = {
30993 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30998 if (!SWIG_IsOK(res1
)) {
30999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31001 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31003 if (!SWIG_IsOK(res2
)) {
31004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31006 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31007 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31008 if (!SWIG_IsOK(res3
)) {
31009 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31014 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31017 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31020 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31021 if (!SWIG_IsOK(ecode5
)) {
31022 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
31024 arg5
= static_cast< int >(val5
);
31027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31028 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31029 wxPyEndAllowThreads(__tstate
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 resultobj
= SWIG_Py_Void();
31039 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
= 0;
31041 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31042 wxWindow
*arg2
= (wxWindow
*) 0 ;
31045 int arg5
= (int) 0 ;
31055 PyObject
* obj0
= 0 ;
31056 PyObject
* obj1
= 0 ;
31057 PyObject
* obj2
= 0 ;
31058 PyObject
* obj3
= 0 ;
31059 PyObject
* obj4
= 0 ;
31060 char * kwnames
[] = {
31061 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31066 if (!SWIG_IsOK(res1
)) {
31067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31069 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31071 if (!SWIG_IsOK(res2
)) {
31072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
31074 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31075 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31076 if (!SWIG_IsOK(res3
)) {
31077 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31082 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31085 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31088 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31089 if (!SWIG_IsOK(ecode5
)) {
31090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
31092 arg5
= static_cast< int >(val5
);
31095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31096 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31097 wxPyEndAllowThreads(__tstate
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31100 resultobj
= SWIG_Py_Void();
31107 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31108 PyObject
*resultobj
= 0;
31109 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31110 wxWindow
*arg2
= (wxWindow
*) 0 ;
31111 SwigValueWrapper
<wxSplitterRenderParams
> result
;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 char * kwnames
[] = {
31119 (char *) "self",(char *) "win", NULL
31122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31124 if (!SWIG_IsOK(res1
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31127 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31129 if (!SWIG_IsOK(res2
)) {
31130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
31132 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
31146 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31147 PyObject
*resultobj
= 0;
31148 wxRendererNative
*result
= 0 ;
31150 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
31152 if (!wxPyCheckForApp()) SWIG_fail
;
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 wxRendererNative
&_result_ref
= wxRendererNative::Get();
31156 result
= (wxRendererNative
*) &_result_ref
;
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31168 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31169 PyObject
*resultobj
= 0;
31170 wxRendererNative
*result
= 0 ;
31172 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
31174 if (!wxPyCheckForApp()) SWIG_fail
;
31175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31177 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
31178 result
= (wxRendererNative
*) &_result_ref
;
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31190 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31191 PyObject
*resultobj
= 0;
31192 wxRendererNative
*result
= 0 ;
31194 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
31196 if (!wxPyCheckForApp()) SWIG_fail
;
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
31200 result
= (wxRendererNative
*) &_result_ref
;
31202 wxPyEndAllowThreads(__tstate
);
31203 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31212 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31213 PyObject
*resultobj
= 0;
31214 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31215 wxRendererNative
*result
= 0 ;
31218 PyObject
* obj0
= 0 ;
31219 char * kwnames
[] = {
31220 (char *) "renderer", NULL
31223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31225 if (!SWIG_IsOK(res1
)) {
31226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31228 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31230 if (!wxPyCheckForApp()) SWIG_fail
;
31231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31232 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31243 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31244 PyObject
*resultobj
= 0;
31245 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31246 SwigValueWrapper
<wxRendererVersion
> result
;
31249 PyObject
*swig_obj
[1] ;
31251 if (!args
) SWIG_fail
;
31252 swig_obj
[0] = args
;
31253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31254 if (!SWIG_IsOK(res1
)) {
31255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31257 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31271 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31274 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31275 return SWIG_Py_Void();
31278 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31279 PyObject
*resultobj
= 0;
31280 wxPseudoDC
*result
= 0 ;
31282 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 result
= (wxPseudoDC
*)new wxPseudoDC();
31286 wxPyEndAllowThreads(__tstate
);
31287 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31296 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31297 PyObject
*resultobj
= 0;
31298 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31301 PyObject
*swig_obj
[1] ;
31303 if (!args
) SWIG_fail
;
31304 swig_obj
[0] = args
;
31305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31306 if (!SWIG_IsOK(res1
)) {
31307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31309 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31312 (arg1
)->BeginDrawing();
31313 wxPyEndAllowThreads(__tstate
);
31314 if (PyErr_Occurred()) SWIG_fail
;
31316 resultobj
= SWIG_Py_Void();
31323 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31324 PyObject
*resultobj
= 0;
31325 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31328 PyObject
*swig_obj
[1] ;
31330 if (!args
) SWIG_fail
;
31331 swig_obj
[0] = args
;
31332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31333 if (!SWIG_IsOK(res1
)) {
31334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31336 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 (arg1
)->EndDrawing();
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 resultobj
= SWIG_Py_Void();
31350 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31351 PyObject
*resultobj
= 0;
31352 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31355 PyObject
*swig_obj
[1] ;
31357 if (!args
) SWIG_fail
;
31358 swig_obj
[0] = args
;
31359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31360 if (!SWIG_IsOK(res1
)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31363 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 wxPyEndAllowThreads(__tstate
);
31369 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= SWIG_Py_Void();
31378 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31379 PyObject
*resultobj
= 0;
31380 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31383 PyObject
*swig_obj
[1] ;
31385 if (!args
) SWIG_fail
;
31386 swig_obj
[0] = args
;
31387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31388 if (!SWIG_IsOK(res1
)) {
31389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31391 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31394 (arg1
)->RemoveAll();
31395 wxPyEndAllowThreads(__tstate
);
31396 if (PyErr_Occurred()) SWIG_fail
;
31398 resultobj
= SWIG_Py_Void();
31405 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31406 PyObject
*resultobj
= 0;
31407 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31411 PyObject
*swig_obj
[1] ;
31413 if (!args
) SWIG_fail
;
31414 swig_obj
[0] = args
;
31415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31416 if (!SWIG_IsOK(res1
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31419 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31422 result
= (int)(arg1
)->GetLen();
31423 wxPyEndAllowThreads(__tstate
);
31424 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= SWIG_From_int(static_cast< int >(result
));
31433 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31434 PyObject
*resultobj
= 0;
31435 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31441 PyObject
* obj0
= 0 ;
31442 PyObject
* obj1
= 0 ;
31443 char * kwnames
[] = {
31444 (char *) "self",(char *) "id", NULL
31447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31449 if (!SWIG_IsOK(res1
)) {
31450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31452 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31454 if (!SWIG_IsOK(ecode2
)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31457 arg2
= static_cast< int >(val2
);
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 (arg1
)->SetId(arg2
);
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= SWIG_Py_Void();
31471 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31472 PyObject
*resultobj
= 0;
31473 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31479 PyObject
* obj0
= 0 ;
31480 PyObject
* obj1
= 0 ;
31481 char * kwnames
[] = {
31482 (char *) "self",(char *) "id", NULL
31485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31487 if (!SWIG_IsOK(res1
)) {
31488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31490 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31492 if (!SWIG_IsOK(ecode2
)) {
31493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31495 arg2
= static_cast< int >(val2
);
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 (arg1
)->ClearId(arg2
);
31499 wxPyEndAllowThreads(__tstate
);
31500 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= SWIG_Py_Void();
31509 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31510 PyObject
*resultobj
= 0;
31511 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31517 PyObject
* obj0
= 0 ;
31518 PyObject
* obj1
= 0 ;
31519 char * kwnames
[] = {
31520 (char *) "self",(char *) "id", NULL
31523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31525 if (!SWIG_IsOK(res1
)) {
31526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31528 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31530 if (!SWIG_IsOK(ecode2
)) {
31531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31533 arg2
= static_cast< int >(val2
);
31535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31536 (arg1
)->RemoveId(arg2
);
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 resultobj
= SWIG_Py_Void();
31547 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31548 PyObject
*resultobj
= 0;
31549 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31561 PyObject
* obj0
= 0 ;
31562 PyObject
* obj1
= 0 ;
31563 PyObject
* obj2
= 0 ;
31564 PyObject
* obj3
= 0 ;
31565 char * kwnames
[] = {
31566 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31571 if (!SWIG_IsOK(res1
)) {
31572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31574 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31576 if (!SWIG_IsOK(ecode2
)) {
31577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31579 arg2
= static_cast< int >(val2
);
31580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31581 if (!SWIG_IsOK(ecode3
)) {
31582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31584 arg3
= static_cast< int >(val3
);
31585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31586 if (!SWIG_IsOK(ecode4
)) {
31587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31589 arg4
= static_cast< int >(val4
);
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31592 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31593 wxPyEndAllowThreads(__tstate
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31596 resultobj
= SWIG_Py_Void();
31603 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31604 PyObject
*resultobj
= 0;
31605 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31607 bool arg3
= (bool) true ;
31614 PyObject
* obj0
= 0 ;
31615 PyObject
* obj1
= 0 ;
31616 PyObject
* obj2
= 0 ;
31617 char * kwnames
[] = {
31618 (char *) "self",(char *) "id",(char *) "greyout", NULL
31621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31623 if (!SWIG_IsOK(res1
)) {
31624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31626 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31628 if (!SWIG_IsOK(ecode2
)) {
31629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31631 arg2
= static_cast< int >(val2
);
31633 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31634 if (!SWIG_IsOK(ecode3
)) {
31635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31637 arg3
= static_cast< bool >(val3
);
31640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31641 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= SWIG_Py_Void();
31652 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
= 0;
31654 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31661 PyObject
* obj0
= 0 ;
31662 PyObject
* obj1
= 0 ;
31663 char * kwnames
[] = {
31664 (char *) "self",(char *) "id", NULL
31667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31669 if (!SWIG_IsOK(res1
)) {
31670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31672 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31674 if (!SWIG_IsOK(ecode2
)) {
31675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31677 arg2
= static_cast< int >(val2
);
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31681 wxPyEndAllowThreads(__tstate
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31693 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31694 PyObject
*resultobj
= 0;
31695 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31698 int arg4
= (int) 1 ;
31699 wxColor
const &arg5_defvalue
= *wxWHITE
;
31700 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31701 PyObject
*result
= 0 ;
31712 PyObject
* obj0
= 0 ;
31713 PyObject
* obj1
= 0 ;
31714 PyObject
* obj2
= 0 ;
31715 PyObject
* obj3
= 0 ;
31716 PyObject
* obj4
= 0 ;
31717 char * kwnames
[] = {
31718 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31723 if (!SWIG_IsOK(res1
)) {
31724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31726 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31728 if (!SWIG_IsOK(ecode2
)) {
31729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31731 arg2
= static_cast< int >(val2
);
31732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31733 if (!SWIG_IsOK(ecode3
)) {
31734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31736 arg3
= static_cast< int >(val3
);
31738 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31739 if (!SWIG_IsOK(ecode4
)) {
31740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31742 arg4
= static_cast< int >(val4
);
31745 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31746 if (!SWIG_IsOK(res5
)) {
31747 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31752 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31755 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= result
;
31765 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
= 0;
31767 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31770 PyObject
*result
= 0 ;
31777 PyObject
* obj0
= 0 ;
31778 PyObject
* obj1
= 0 ;
31779 PyObject
* obj2
= 0 ;
31780 char * kwnames
[] = {
31781 (char *) "self",(char *) "x",(char *) "y", NULL
31784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31786 if (!SWIG_IsOK(res1
)) {
31787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31789 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31791 if (!SWIG_IsOK(ecode2
)) {
31792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31794 arg2
= static_cast< int >(val2
);
31795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31796 if (!SWIG_IsOK(ecode3
)) {
31797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31799 arg3
= static_cast< int >(val3
);
31801 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31804 resultobj
= result
;
31811 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31812 PyObject
*resultobj
= 0;
31813 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31815 wxDC
*arg3
= (wxDC
*) 0 ;
31822 PyObject
* obj0
= 0 ;
31823 PyObject
* obj1
= 0 ;
31824 PyObject
* obj2
= 0 ;
31825 char * kwnames
[] = {
31826 (char *) "self",(char *) "id",(char *) "dc", NULL
31829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31831 if (!SWIG_IsOK(res1
)) {
31832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31834 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31836 if (!SWIG_IsOK(ecode2
)) {
31837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31839 arg2
= static_cast< int >(val2
);
31840 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31841 if (!SWIG_IsOK(res3
)) {
31842 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31844 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31847 (arg1
)->DrawIdToDC(arg2
,arg3
);
31848 wxPyEndAllowThreads(__tstate
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31851 resultobj
= SWIG_Py_Void();
31858 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31859 PyObject
*resultobj
= 0;
31860 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31868 PyObject
* obj0
= 0 ;
31869 PyObject
* obj1
= 0 ;
31870 PyObject
* obj2
= 0 ;
31871 char * kwnames
[] = {
31872 (char *) "self",(char *) "id",(char *) "rect", NULL
31875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31877 if (!SWIG_IsOK(res1
)) {
31878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31880 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31882 if (!SWIG_IsOK(ecode2
)) {
31883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31885 arg2
= static_cast< int >(val2
);
31888 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31892 (arg1
)->SetIdBounds(arg2
,*arg3
);
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31896 resultobj
= SWIG_Py_Void();
31903 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
= 0;
31905 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31912 PyObject
* obj0
= 0 ;
31913 PyObject
* obj1
= 0 ;
31914 char * kwnames
[] = {
31915 (char *) "self",(char *) "id", NULL
31918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31920 if (!SWIG_IsOK(res1
)) {
31921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31923 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31925 if (!SWIG_IsOK(ecode2
)) {
31926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31928 arg2
= static_cast< int >(val2
);
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31935 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31942 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31943 PyObject
*resultobj
= 0;
31944 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31945 wxDC
*arg2
= (wxDC
*) 0 ;
31952 PyObject
* obj0
= 0 ;
31953 PyObject
* obj1
= 0 ;
31954 PyObject
* obj2
= 0 ;
31955 char * kwnames
[] = {
31956 (char *) "self",(char *) "dc",(char *) "rect", NULL
31959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31961 if (!SWIG_IsOK(res1
)) {
31962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31964 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31966 if (!SWIG_IsOK(res2
)) {
31967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31969 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31972 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31976 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31977 wxPyEndAllowThreads(__tstate
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31980 resultobj
= SWIG_Py_Void();
31987 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
= 0;
31989 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31990 wxDC
*arg2
= (wxDC
*) 0 ;
31991 wxRegion
*arg3
= 0 ;
31998 PyObject
* obj0
= 0 ;
31999 PyObject
* obj1
= 0 ;
32000 PyObject
* obj2
= 0 ;
32001 char * kwnames
[] = {
32002 (char *) "self",(char *) "dc",(char *) "region", NULL
32005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32007 if (!SWIG_IsOK(res1
)) {
32008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32011 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32012 if (!SWIG_IsOK(res2
)) {
32013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
32015 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32016 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
32017 if (!SWIG_IsOK(res3
)) {
32018 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32023 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
32025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32026 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
32027 wxPyEndAllowThreads(__tstate
);
32028 if (PyErr_Occurred()) SWIG_fail
;
32030 resultobj
= SWIG_Py_Void();
32037 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32038 PyObject
*resultobj
= 0;
32039 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32040 wxDC
*arg2
= (wxDC
*) 0 ;
32045 PyObject
* obj0
= 0 ;
32046 PyObject
* obj1
= 0 ;
32047 char * kwnames
[] = {
32048 (char *) "self",(char *) "dc", NULL
32051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32053 if (!SWIG_IsOK(res1
)) {
32054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32056 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32058 if (!SWIG_IsOK(res2
)) {
32059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
32061 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32064 (arg1
)->DrawToDC(arg2
);
32065 wxPyEndAllowThreads(__tstate
);
32066 if (PyErr_Occurred()) SWIG_fail
;
32068 resultobj
= SWIG_Py_Void();
32075 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32076 PyObject
*resultobj
= 0;
32077 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32080 wxColour
*arg4
= 0 ;
32081 int arg5
= (int) wxFLOOD_SURFACE
;
32091 PyObject
* obj0
= 0 ;
32092 PyObject
* obj1
= 0 ;
32093 PyObject
* obj2
= 0 ;
32094 PyObject
* obj3
= 0 ;
32095 PyObject
* obj4
= 0 ;
32096 char * kwnames
[] = {
32097 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
32100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32102 if (!SWIG_IsOK(res1
)) {
32103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32105 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32107 if (!SWIG_IsOK(ecode2
)) {
32108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
32110 arg2
= static_cast< int >(val2
);
32111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32112 if (!SWIG_IsOK(ecode3
)) {
32113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
32115 arg3
= static_cast< int >(val3
);
32118 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32121 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32122 if (!SWIG_IsOK(ecode5
)) {
32123 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
32125 arg5
= static_cast< int >(val5
);
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 resultobj
= SWIG_Py_Void();
32140 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
= 0;
32142 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32143 wxPoint
*arg2
= 0 ;
32144 wxColour
*arg3
= 0 ;
32145 int arg4
= (int) wxFLOOD_SURFACE
;
32152 PyObject
* obj0
= 0 ;
32153 PyObject
* obj1
= 0 ;
32154 PyObject
* obj2
= 0 ;
32155 PyObject
* obj3
= 0 ;
32156 char * kwnames
[] = {
32157 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
32160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32162 if (!SWIG_IsOK(res1
)) {
32163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32165 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32168 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32172 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32176 if (!SWIG_IsOK(ecode4
)) {
32177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
32179 arg4
= static_cast< int >(val4
);
32182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32183 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
32184 wxPyEndAllowThreads(__tstate
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32187 resultobj
= SWIG_Py_Void();
32194 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32195 PyObject
*resultobj
= 0;
32196 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32211 PyObject
* obj0
= 0 ;
32212 PyObject
* obj1
= 0 ;
32213 PyObject
* obj2
= 0 ;
32214 PyObject
* obj3
= 0 ;
32215 PyObject
* obj4
= 0 ;
32216 char * kwnames
[] = {
32217 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32222 if (!SWIG_IsOK(res1
)) {
32223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32225 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32227 if (!SWIG_IsOK(ecode2
)) {
32228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32230 arg2
= static_cast< int >(val2
);
32231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32232 if (!SWIG_IsOK(ecode3
)) {
32233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32235 arg3
= static_cast< int >(val3
);
32236 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32237 if (!SWIG_IsOK(ecode4
)) {
32238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32240 arg4
= static_cast< int >(val4
);
32241 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32242 if (!SWIG_IsOK(ecode5
)) {
32243 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32245 arg5
= static_cast< int >(val5
);
32247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32248 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= SWIG_Py_Void();
32259 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
= 0;
32261 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32262 wxPoint
*arg2
= 0 ;
32263 wxPoint
*arg3
= 0 ;
32268 PyObject
* obj0
= 0 ;
32269 PyObject
* obj1
= 0 ;
32270 PyObject
* obj2
= 0 ;
32271 char * kwnames
[] = {
32272 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32277 if (!SWIG_IsOK(res1
)) {
32278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32280 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32283 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32287 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32291 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= SWIG_Py_Void();
32302 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32303 PyObject
*resultobj
= 0;
32304 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32313 PyObject
* obj0
= 0 ;
32314 PyObject
* obj1
= 0 ;
32315 PyObject
* obj2
= 0 ;
32316 char * kwnames
[] = {
32317 (char *) "self",(char *) "x",(char *) "y", NULL
32320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32322 if (!SWIG_IsOK(res1
)) {
32323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32325 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32327 if (!SWIG_IsOK(ecode2
)) {
32328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32330 arg2
= static_cast< int >(val2
);
32331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32332 if (!SWIG_IsOK(ecode3
)) {
32333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32335 arg3
= static_cast< int >(val3
);
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 (arg1
)->CrossHair(arg2
,arg3
);
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= SWIG_Py_Void();
32349 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
= 0;
32351 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32352 wxPoint
*arg2
= 0 ;
32356 PyObject
* obj0
= 0 ;
32357 PyObject
* obj1
= 0 ;
32358 char * kwnames
[] = {
32359 (char *) "self",(char *) "pt", NULL
32362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32364 if (!SWIG_IsOK(res1
)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32367 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32370 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32374 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32375 wxPyEndAllowThreads(__tstate
);
32376 if (PyErr_Occurred()) SWIG_fail
;
32378 resultobj
= SWIG_Py_Void();
32385 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32386 PyObject
*resultobj
= 0;
32387 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32408 PyObject
* obj0
= 0 ;
32409 PyObject
* obj1
= 0 ;
32410 PyObject
* obj2
= 0 ;
32411 PyObject
* obj3
= 0 ;
32412 PyObject
* obj4
= 0 ;
32413 PyObject
* obj5
= 0 ;
32414 PyObject
* obj6
= 0 ;
32415 char * kwnames
[] = {
32416 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32421 if (!SWIG_IsOK(res1
)) {
32422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32424 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32426 if (!SWIG_IsOK(ecode2
)) {
32427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32429 arg2
= static_cast< int >(val2
);
32430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32431 if (!SWIG_IsOK(ecode3
)) {
32432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32434 arg3
= static_cast< int >(val3
);
32435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32436 if (!SWIG_IsOK(ecode4
)) {
32437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32439 arg4
= static_cast< int >(val4
);
32440 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32441 if (!SWIG_IsOK(ecode5
)) {
32442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32444 arg5
= static_cast< int >(val5
);
32445 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32446 if (!SWIG_IsOK(ecode6
)) {
32447 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32449 arg6
= static_cast< int >(val6
);
32450 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32451 if (!SWIG_IsOK(ecode7
)) {
32452 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32454 arg7
= static_cast< int >(val7
);
32456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32457 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32458 wxPyEndAllowThreads(__tstate
);
32459 if (PyErr_Occurred()) SWIG_fail
;
32461 resultobj
= SWIG_Py_Void();
32468 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32469 PyObject
*resultobj
= 0;
32470 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32471 wxPoint
*arg2
= 0 ;
32472 wxPoint
*arg3
= 0 ;
32473 wxPoint
*arg4
= 0 ;
32479 PyObject
* obj0
= 0 ;
32480 PyObject
* obj1
= 0 ;
32481 PyObject
* obj2
= 0 ;
32482 PyObject
* obj3
= 0 ;
32483 char * kwnames
[] = {
32484 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32489 if (!SWIG_IsOK(res1
)) {
32490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32492 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32499 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32503 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32508 wxPyEndAllowThreads(__tstate
);
32509 if (PyErr_Occurred()) SWIG_fail
;
32511 resultobj
= SWIG_Py_Void();
32518 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32519 PyObject
*resultobj
= 0;
32520 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32535 PyObject
* obj0
= 0 ;
32536 PyObject
* obj1
= 0 ;
32537 PyObject
* obj2
= 0 ;
32538 PyObject
* obj3
= 0 ;
32539 PyObject
* obj4
= 0 ;
32540 char * kwnames
[] = {
32541 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32546 if (!SWIG_IsOK(res1
)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32549 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32551 if (!SWIG_IsOK(ecode2
)) {
32552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32554 arg2
= static_cast< int >(val2
);
32555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32556 if (!SWIG_IsOK(ecode3
)) {
32557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32559 arg3
= static_cast< int >(val3
);
32560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32561 if (!SWIG_IsOK(ecode4
)) {
32562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32564 arg4
= static_cast< int >(val4
);
32565 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32566 if (!SWIG_IsOK(ecode5
)) {
32567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32569 arg5
= static_cast< int >(val5
);
32571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32572 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32573 wxPyEndAllowThreads(__tstate
);
32574 if (PyErr_Occurred()) SWIG_fail
;
32576 resultobj
= SWIG_Py_Void();
32583 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32584 PyObject
*resultobj
= 0;
32585 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32590 PyObject
* obj0
= 0 ;
32591 PyObject
* obj1
= 0 ;
32592 char * kwnames
[] = {
32593 (char *) "self",(char *) "rect", NULL
32596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32598 if (!SWIG_IsOK(res1
)) {
32599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32601 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32604 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32608 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32609 wxPyEndAllowThreads(__tstate
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32612 resultobj
= SWIG_Py_Void();
32619 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32620 PyObject
*resultobj
= 0;
32621 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32642 PyObject
* obj0
= 0 ;
32643 PyObject
* obj1
= 0 ;
32644 PyObject
* obj2
= 0 ;
32645 PyObject
* obj3
= 0 ;
32646 PyObject
* obj4
= 0 ;
32647 PyObject
* obj5
= 0 ;
32648 PyObject
* obj6
= 0 ;
32649 char * kwnames
[] = {
32650 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32655 if (!SWIG_IsOK(res1
)) {
32656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32658 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32660 if (!SWIG_IsOK(ecode2
)) {
32661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32663 arg2
= static_cast< int >(val2
);
32664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32665 if (!SWIG_IsOK(ecode3
)) {
32666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32668 arg3
= static_cast< int >(val3
);
32669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32670 if (!SWIG_IsOK(ecode4
)) {
32671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32673 arg4
= static_cast< int >(val4
);
32674 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32675 if (!SWIG_IsOK(ecode5
)) {
32676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32678 arg5
= static_cast< int >(val5
);
32679 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32680 if (!SWIG_IsOK(ecode6
)) {
32681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32683 arg6
= static_cast< double >(val6
);
32684 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32685 if (!SWIG_IsOK(ecode7
)) {
32686 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32688 arg7
= static_cast< double >(val7
);
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32692 wxPyEndAllowThreads(__tstate
);
32693 if (PyErr_Occurred()) SWIG_fail
;
32695 resultobj
= SWIG_Py_Void();
32702 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32703 PyObject
*resultobj
= 0;
32704 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32705 wxPoint
*arg2
= 0 ;
32717 PyObject
* obj0
= 0 ;
32718 PyObject
* obj1
= 0 ;
32719 PyObject
* obj2
= 0 ;
32720 PyObject
* obj3
= 0 ;
32721 PyObject
* obj4
= 0 ;
32722 char * kwnames
[] = {
32723 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32728 if (!SWIG_IsOK(res1
)) {
32729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32731 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32738 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32740 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32741 if (!SWIG_IsOK(ecode4
)) {
32742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32744 arg4
= static_cast< double >(val4
);
32745 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32746 if (!SWIG_IsOK(ecode5
)) {
32747 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32749 arg5
= static_cast< double >(val5
);
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32753 wxPyEndAllowThreads(__tstate
);
32754 if (PyErr_Occurred()) SWIG_fail
;
32756 resultobj
= SWIG_Py_Void();
32763 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
= 0;
32765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32774 PyObject
* obj0
= 0 ;
32775 PyObject
* obj1
= 0 ;
32776 PyObject
* obj2
= 0 ;
32777 char * kwnames
[] = {
32778 (char *) "self",(char *) "x",(char *) "y", NULL
32781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32783 if (!SWIG_IsOK(res1
)) {
32784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32786 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32788 if (!SWIG_IsOK(ecode2
)) {
32789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32791 arg2
= static_cast< int >(val2
);
32792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32793 if (!SWIG_IsOK(ecode3
)) {
32794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32796 arg3
= static_cast< int >(val3
);
32798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32799 (arg1
)->DrawPoint(arg2
,arg3
);
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32803 resultobj
= SWIG_Py_Void();
32810 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32811 PyObject
*resultobj
= 0;
32812 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32813 wxPoint
*arg2
= 0 ;
32817 PyObject
* obj0
= 0 ;
32818 PyObject
* obj1
= 0 ;
32819 char * kwnames
[] = {
32820 (char *) "self",(char *) "pt", NULL
32823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32825 if (!SWIG_IsOK(res1
)) {
32826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32831 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32839 resultobj
= SWIG_Py_Void();
32846 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32847 PyObject
*resultobj
= 0;
32848 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32863 PyObject
* obj0
= 0 ;
32864 PyObject
* obj1
= 0 ;
32865 PyObject
* obj2
= 0 ;
32866 PyObject
* obj3
= 0 ;
32867 PyObject
* obj4
= 0 ;
32868 char * kwnames
[] = {
32869 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32874 if (!SWIG_IsOK(res1
)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32877 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32879 if (!SWIG_IsOK(ecode2
)) {
32880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32882 arg2
= static_cast< int >(val2
);
32883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32884 if (!SWIG_IsOK(ecode3
)) {
32885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32887 arg3
= static_cast< int >(val3
);
32888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32889 if (!SWIG_IsOK(ecode4
)) {
32890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32892 arg4
= static_cast< int >(val4
);
32893 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32894 if (!SWIG_IsOK(ecode5
)) {
32895 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32897 arg5
= static_cast< int >(val5
);
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32904 resultobj
= SWIG_Py_Void();
32911 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32912 PyObject
*resultobj
= 0;
32913 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32918 PyObject
* obj0
= 0 ;
32919 PyObject
* obj1
= 0 ;
32920 char * kwnames
[] = {
32921 (char *) "self",(char *) "rect", NULL
32924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32926 if (!SWIG_IsOK(res1
)) {
32927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32929 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32932 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32936 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32937 wxPyEndAllowThreads(__tstate
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32940 resultobj
= SWIG_Py_Void();
32947 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32948 PyObject
*resultobj
= 0;
32949 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32950 wxPoint
*arg2
= 0 ;
32956 PyObject
* obj0
= 0 ;
32957 PyObject
* obj1
= 0 ;
32958 PyObject
* obj2
= 0 ;
32959 char * kwnames
[] = {
32960 (char *) "self",(char *) "pt",(char *) "sz", NULL
32963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32965 if (!SWIG_IsOK(res1
)) {
32966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32968 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32975 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32979 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32980 wxPyEndAllowThreads(__tstate
);
32981 if (PyErr_Occurred()) SWIG_fail
;
32983 resultobj
= SWIG_Py_Void();
32990 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32991 PyObject
*resultobj
= 0;
32992 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33010 PyObject
* obj0
= 0 ;
33011 PyObject
* obj1
= 0 ;
33012 PyObject
* obj2
= 0 ;
33013 PyObject
* obj3
= 0 ;
33014 PyObject
* obj4
= 0 ;
33015 PyObject
* obj5
= 0 ;
33016 char * kwnames
[] = {
33017 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
33020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33022 if (!SWIG_IsOK(res1
)) {
33023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33025 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33027 if (!SWIG_IsOK(ecode2
)) {
33028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
33030 arg2
= static_cast< int >(val2
);
33031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33032 if (!SWIG_IsOK(ecode3
)) {
33033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
33035 arg3
= static_cast< int >(val3
);
33036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33037 if (!SWIG_IsOK(ecode4
)) {
33038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
33040 arg4
= static_cast< int >(val4
);
33041 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33042 if (!SWIG_IsOK(ecode5
)) {
33043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
33045 arg5
= static_cast< int >(val5
);
33046 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33047 if (!SWIG_IsOK(ecode6
)) {
33048 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
33050 arg6
= static_cast< double >(val6
);
33052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33053 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
33054 wxPyEndAllowThreads(__tstate
);
33055 if (PyErr_Occurred()) SWIG_fail
;
33057 resultobj
= SWIG_Py_Void();
33064 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33065 PyObject
*resultobj
= 0;
33066 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33074 PyObject
* obj0
= 0 ;
33075 PyObject
* obj1
= 0 ;
33076 PyObject
* obj2
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "r",(char *) "radius", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33089 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33091 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
33092 if (!SWIG_IsOK(ecode3
)) {
33093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
33095 arg3
= static_cast< double >(val3
);
33097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33098 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
33099 wxPyEndAllowThreads(__tstate
);
33100 if (PyErr_Occurred()) SWIG_fail
;
33102 resultobj
= SWIG_Py_Void();
33109 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33110 PyObject
*resultobj
= 0;
33111 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33112 wxPoint
*arg2
= 0 ;
33121 PyObject
* obj0
= 0 ;
33122 PyObject
* obj1
= 0 ;
33123 PyObject
* obj2
= 0 ;
33124 PyObject
* obj3
= 0 ;
33125 char * kwnames
[] = {
33126 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
33129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33131 if (!SWIG_IsOK(res1
)) {
33132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33141 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33143 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33144 if (!SWIG_IsOK(ecode4
)) {
33145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
33147 arg4
= static_cast< double >(val4
);
33149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33150 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
33151 wxPyEndAllowThreads(__tstate
);
33152 if (PyErr_Occurred()) SWIG_fail
;
33154 resultobj
= SWIG_Py_Void();
33161 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33162 PyObject
*resultobj
= 0;
33163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33175 PyObject
* obj0
= 0 ;
33176 PyObject
* obj1
= 0 ;
33177 PyObject
* obj2
= 0 ;
33178 PyObject
* obj3
= 0 ;
33179 char * kwnames
[] = {
33180 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
33183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33185 if (!SWIG_IsOK(res1
)) {
33186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33188 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33190 if (!SWIG_IsOK(ecode2
)) {
33191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
33193 arg2
= static_cast< int >(val2
);
33194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33195 if (!SWIG_IsOK(ecode3
)) {
33196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
33198 arg3
= static_cast< int >(val3
);
33199 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33200 if (!SWIG_IsOK(ecode4
)) {
33201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
33203 arg4
= static_cast< int >(val4
);
33205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33206 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33207 wxPyEndAllowThreads(__tstate
);
33208 if (PyErr_Occurred()) SWIG_fail
;
33210 resultobj
= SWIG_Py_Void();
33217 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33218 PyObject
*resultobj
= 0;
33219 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33220 wxPoint
*arg2
= 0 ;
33227 PyObject
* obj0
= 0 ;
33228 PyObject
* obj1
= 0 ;
33229 PyObject
* obj2
= 0 ;
33230 char * kwnames
[] = {
33231 (char *) "self",(char *) "pt",(char *) "radius", NULL
33234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33236 if (!SWIG_IsOK(res1
)) {
33237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33239 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33245 if (!SWIG_IsOK(ecode3
)) {
33246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33248 arg3
= static_cast< int >(val3
);
33250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33251 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33252 wxPyEndAllowThreads(__tstate
);
33253 if (PyErr_Occurred()) SWIG_fail
;
33255 resultobj
= SWIG_Py_Void();
33262 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33263 PyObject
*resultobj
= 0;
33264 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33279 PyObject
* obj0
= 0 ;
33280 PyObject
* obj1
= 0 ;
33281 PyObject
* obj2
= 0 ;
33282 PyObject
* obj3
= 0 ;
33283 PyObject
* obj4
= 0 ;
33284 char * kwnames
[] = {
33285 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33290 if (!SWIG_IsOK(res1
)) {
33291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33293 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33295 if (!SWIG_IsOK(ecode2
)) {
33296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33298 arg2
= static_cast< int >(val2
);
33299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33300 if (!SWIG_IsOK(ecode3
)) {
33301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33303 arg3
= static_cast< int >(val3
);
33304 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33305 if (!SWIG_IsOK(ecode4
)) {
33306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33308 arg4
= static_cast< int >(val4
);
33309 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33310 if (!SWIG_IsOK(ecode5
)) {
33311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33313 arg5
= static_cast< int >(val5
);
33315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33316 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33317 wxPyEndAllowThreads(__tstate
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33320 resultobj
= SWIG_Py_Void();
33327 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33328 PyObject
*resultobj
= 0;
33329 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33334 PyObject
* obj0
= 0 ;
33335 PyObject
* obj1
= 0 ;
33336 char * kwnames
[] = {
33337 (char *) "self",(char *) "rect", NULL
33340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33342 if (!SWIG_IsOK(res1
)) {
33343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33345 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33348 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33352 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33353 wxPyEndAllowThreads(__tstate
);
33354 if (PyErr_Occurred()) SWIG_fail
;
33356 resultobj
= SWIG_Py_Void();
33363 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33364 PyObject
*resultobj
= 0;
33365 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33366 wxPoint
*arg2
= 0 ;
33372 PyObject
* obj0
= 0 ;
33373 PyObject
* obj1
= 0 ;
33374 PyObject
* obj2
= 0 ;
33375 char * kwnames
[] = {
33376 (char *) "self",(char *) "pt",(char *) "sz", NULL
33379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33381 if (!SWIG_IsOK(res1
)) {
33382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33384 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33391 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33395 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33396 wxPyEndAllowThreads(__tstate
);
33397 if (PyErr_Occurred()) SWIG_fail
;
33399 resultobj
= SWIG_Py_Void();
33406 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33407 PyObject
*resultobj
= 0;
33408 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33420 PyObject
* obj0
= 0 ;
33421 PyObject
* obj1
= 0 ;
33422 PyObject
* obj2
= 0 ;
33423 PyObject
* obj3
= 0 ;
33424 char * kwnames
[] = {
33425 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33430 if (!SWIG_IsOK(res1
)) {
33431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33433 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33434 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33435 if (!SWIG_IsOK(res2
)) {
33436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33441 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33443 if (!SWIG_IsOK(ecode3
)) {
33444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33446 arg3
= static_cast< int >(val3
);
33447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33448 if (!SWIG_IsOK(ecode4
)) {
33449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33451 arg4
= static_cast< int >(val4
);
33453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33455 wxPyEndAllowThreads(__tstate
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33458 resultobj
= SWIG_Py_Void();
33465 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33466 PyObject
*resultobj
= 0;
33467 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33469 wxPoint
*arg3
= 0 ;
33475 PyObject
* obj0
= 0 ;
33476 PyObject
* obj1
= 0 ;
33477 PyObject
* obj2
= 0 ;
33478 char * kwnames
[] = {
33479 (char *) "self",(char *) "icon",(char *) "pt", NULL
33482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33484 if (!SWIG_IsOK(res1
)) {
33485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33487 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33489 if (!SWIG_IsOK(res2
)) {
33490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33495 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33498 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33502 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33503 wxPyEndAllowThreads(__tstate
);
33504 if (PyErr_Occurred()) SWIG_fail
;
33506 resultobj
= SWIG_Py_Void();
33513 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33514 PyObject
*resultobj
= 0;
33515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33516 wxBitmap
*arg2
= 0 ;
33519 bool arg5
= (bool) false ;
33530 PyObject
* obj0
= 0 ;
33531 PyObject
* obj1
= 0 ;
33532 PyObject
* obj2
= 0 ;
33533 PyObject
* obj3
= 0 ;
33534 PyObject
* obj4
= 0 ;
33535 char * kwnames
[] = {
33536 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33541 if (!SWIG_IsOK(res1
)) {
33542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33544 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33546 if (!SWIG_IsOK(res2
)) {
33547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33552 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33554 if (!SWIG_IsOK(ecode3
)) {
33555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33557 arg3
= static_cast< int >(val3
);
33558 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33559 if (!SWIG_IsOK(ecode4
)) {
33560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33562 arg4
= static_cast< int >(val4
);
33564 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33565 if (!SWIG_IsOK(ecode5
)) {
33566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33568 arg5
= static_cast< bool >(val5
);
33571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33572 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33573 wxPyEndAllowThreads(__tstate
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33576 resultobj
= SWIG_Py_Void();
33583 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33584 PyObject
*resultobj
= 0;
33585 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33586 wxBitmap
*arg2
= 0 ;
33587 wxPoint
*arg3
= 0 ;
33588 bool arg4
= (bool) false ;
33596 PyObject
* obj0
= 0 ;
33597 PyObject
* obj1
= 0 ;
33598 PyObject
* obj2
= 0 ;
33599 PyObject
* obj3
= 0 ;
33600 char * kwnames
[] = {
33601 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33606 if (!SWIG_IsOK(res1
)) {
33607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33609 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33611 if (!SWIG_IsOK(res2
)) {
33612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33617 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33620 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33623 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33624 if (!SWIG_IsOK(ecode4
)) {
33625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33627 arg4
= static_cast< bool >(val4
);
33630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33631 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33632 wxPyEndAllowThreads(__tstate
);
33633 if (PyErr_Occurred()) SWIG_fail
;
33635 resultobj
= SWIG_Py_Void();
33642 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33643 PyObject
*resultobj
= 0;
33644 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33645 wxString
*arg2
= 0 ;
33650 bool temp2
= false ;
33655 PyObject
* obj0
= 0 ;
33656 PyObject
* obj1
= 0 ;
33657 PyObject
* obj2
= 0 ;
33658 PyObject
* obj3
= 0 ;
33659 char * kwnames
[] = {
33660 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33665 if (!SWIG_IsOK(res1
)) {
33666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33668 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33670 arg2
= wxString_in_helper(obj1
);
33671 if (arg2
== NULL
) SWIG_fail
;
33674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33675 if (!SWIG_IsOK(ecode3
)) {
33676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33678 arg3
= static_cast< int >(val3
);
33679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33680 if (!SWIG_IsOK(ecode4
)) {
33681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33683 arg4
= static_cast< int >(val4
);
33685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33686 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33687 wxPyEndAllowThreads(__tstate
);
33688 if (PyErr_Occurred()) SWIG_fail
;
33690 resultobj
= SWIG_Py_Void();
33705 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33706 PyObject
*resultobj
= 0;
33707 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33708 wxString
*arg2
= 0 ;
33709 wxPoint
*arg3
= 0 ;
33712 bool temp2
= false ;
33714 PyObject
* obj0
= 0 ;
33715 PyObject
* obj1
= 0 ;
33716 PyObject
* obj2
= 0 ;
33717 char * kwnames
[] = {
33718 (char *) "self",(char *) "text",(char *) "pt", NULL
33721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33723 if (!SWIG_IsOK(res1
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33726 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33728 arg2
= wxString_in_helper(obj1
);
33729 if (arg2
== NULL
) SWIG_fail
;
33734 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33738 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33739 wxPyEndAllowThreads(__tstate
);
33740 if (PyErr_Occurred()) SWIG_fail
;
33742 resultobj
= SWIG_Py_Void();
33757 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33758 PyObject
*resultobj
= 0;
33759 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33760 wxString
*arg2
= 0 ;
33766 bool temp2
= false ;
33773 PyObject
* obj0
= 0 ;
33774 PyObject
* obj1
= 0 ;
33775 PyObject
* obj2
= 0 ;
33776 PyObject
* obj3
= 0 ;
33777 PyObject
* obj4
= 0 ;
33778 char * kwnames
[] = {
33779 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33784 if (!SWIG_IsOK(res1
)) {
33785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33787 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33789 arg2
= wxString_in_helper(obj1
);
33790 if (arg2
== NULL
) SWIG_fail
;
33793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33794 if (!SWIG_IsOK(ecode3
)) {
33795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33797 arg3
= static_cast< int >(val3
);
33798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33799 if (!SWIG_IsOK(ecode4
)) {
33800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33802 arg4
= static_cast< int >(val4
);
33803 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33804 if (!SWIG_IsOK(ecode5
)) {
33805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33807 arg5
= static_cast< double >(val5
);
33809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33810 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33811 wxPyEndAllowThreads(__tstate
);
33812 if (PyErr_Occurred()) SWIG_fail
;
33814 resultobj
= SWIG_Py_Void();
33829 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33830 PyObject
*resultobj
= 0;
33831 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33832 wxString
*arg2
= 0 ;
33833 wxPoint
*arg3
= 0 ;
33837 bool temp2
= false ;
33841 PyObject
* obj0
= 0 ;
33842 PyObject
* obj1
= 0 ;
33843 PyObject
* obj2
= 0 ;
33844 PyObject
* obj3
= 0 ;
33845 char * kwnames
[] = {
33846 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33851 if (!SWIG_IsOK(res1
)) {
33852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33854 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33856 arg2
= wxString_in_helper(obj1
);
33857 if (arg2
== NULL
) SWIG_fail
;
33862 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33864 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33865 if (!SWIG_IsOK(ecode4
)) {
33866 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33868 arg4
= static_cast< double >(val4
);
33870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33871 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33875 resultobj
= SWIG_Py_Void();
33890 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33891 PyObject
*resultobj
= 0;
33892 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33894 wxPoint
*arg3
= (wxPoint
*) 0 ;
33895 int arg4
= (int) 0 ;
33896 int arg5
= (int) 0 ;
33903 PyObject
* obj0
= 0 ;
33904 PyObject
* obj1
= 0 ;
33905 PyObject
* obj2
= 0 ;
33906 PyObject
* obj3
= 0 ;
33907 char * kwnames
[] = {
33908 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33913 if (!SWIG_IsOK(res1
)) {
33914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33916 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33918 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33919 if (arg3
== NULL
) SWIG_fail
;
33922 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33923 if (!SWIG_IsOK(ecode4
)) {
33924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33926 arg4
= static_cast< int >(val4
);
33929 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33930 if (!SWIG_IsOK(ecode5
)) {
33931 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33933 arg5
= static_cast< int >(val5
);
33936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33937 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33941 resultobj
= SWIG_Py_Void();
33943 if (arg3
) delete [] arg3
;
33948 if (arg3
) delete [] arg3
;
33954 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33955 PyObject
*resultobj
= 0;
33956 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33958 wxPoint
*arg3
= (wxPoint
*) 0 ;
33959 int arg4
= (int) 0 ;
33960 int arg5
= (int) 0 ;
33961 int arg6
= (int) wxODDEVEN_RULE
;
33970 PyObject
* obj0
= 0 ;
33971 PyObject
* obj1
= 0 ;
33972 PyObject
* obj2
= 0 ;
33973 PyObject
* obj3
= 0 ;
33974 PyObject
* obj4
= 0 ;
33975 char * kwnames
[] = {
33976 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33981 if (!SWIG_IsOK(res1
)) {
33982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33986 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33987 if (arg3
== NULL
) SWIG_fail
;
33990 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33991 if (!SWIG_IsOK(ecode4
)) {
33992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33994 arg4
= static_cast< int >(val4
);
33997 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33998 if (!SWIG_IsOK(ecode5
)) {
33999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
34001 arg5
= static_cast< int >(val5
);
34004 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
34005 if (!SWIG_IsOK(ecode6
)) {
34006 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
34008 arg6
= static_cast< int >(val6
);
34011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34012 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
34013 wxPyEndAllowThreads(__tstate
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34016 resultobj
= SWIG_Py_Void();
34018 if (arg3
) delete [] arg3
;
34023 if (arg3
) delete [] arg3
;
34029 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34030 PyObject
*resultobj
= 0;
34031 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34032 wxString
*arg2
= 0 ;
34034 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34035 int arg5
= (int) -1 ;
34038 bool temp2
= false ;
34044 PyObject
* obj0
= 0 ;
34045 PyObject
* obj1
= 0 ;
34046 PyObject
* obj2
= 0 ;
34047 PyObject
* obj3
= 0 ;
34048 PyObject
* obj4
= 0 ;
34049 char * kwnames
[] = {
34050 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34055 if (!SWIG_IsOK(res1
)) {
34056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34058 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34060 arg2
= wxString_in_helper(obj1
);
34061 if (arg2
== NULL
) SWIG_fail
;
34066 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34069 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34070 if (!SWIG_IsOK(ecode4
)) {
34071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
34073 arg4
= static_cast< int >(val4
);
34076 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34077 if (!SWIG_IsOK(ecode5
)) {
34078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
34080 arg5
= static_cast< int >(val5
);
34083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34084 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
34085 wxPyEndAllowThreads(__tstate
);
34086 if (PyErr_Occurred()) SWIG_fail
;
34088 resultobj
= SWIG_Py_Void();
34103 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34104 PyObject
*resultobj
= 0;
34105 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34106 wxString
*arg2
= 0 ;
34107 wxBitmap
*arg3
= 0 ;
34109 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34110 int arg6
= (int) -1 ;
34113 bool temp2
= false ;
34121 PyObject
* obj0
= 0 ;
34122 PyObject
* obj1
= 0 ;
34123 PyObject
* obj2
= 0 ;
34124 PyObject
* obj3
= 0 ;
34125 PyObject
* obj4
= 0 ;
34126 PyObject
* obj5
= 0 ;
34127 char * kwnames
[] = {
34128 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34133 if (!SWIG_IsOK(res1
)) {
34134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34136 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34138 arg2
= wxString_in_helper(obj1
);
34139 if (arg2
== NULL
) SWIG_fail
;
34142 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34143 if (!SWIG_IsOK(res3
)) {
34144 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34149 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
34152 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34155 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34156 if (!SWIG_IsOK(ecode5
)) {
34157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
34159 arg5
= static_cast< int >(val5
);
34162 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34163 if (!SWIG_IsOK(ecode6
)) {
34164 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
34166 arg6
= static_cast< int >(val6
);
34169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34170 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
34171 wxPyEndAllowThreads(__tstate
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34174 resultobj
= SWIG_Py_Void();
34189 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34190 PyObject
*resultobj
= 0;
34191 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34193 wxPoint
*arg3
= (wxPoint
*) 0 ;
34196 PyObject
* obj0
= 0 ;
34197 PyObject
* obj1
= 0 ;
34198 char * kwnames
[] = {
34199 (char *) "self",(char *) "points", NULL
34202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34204 if (!SWIG_IsOK(res1
)) {
34205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34207 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34209 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34210 if (arg3
== NULL
) SWIG_fail
;
34213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34214 (arg1
)->DrawSpline(arg2
,arg3
);
34215 wxPyEndAllowThreads(__tstate
);
34216 if (PyErr_Occurred()) SWIG_fail
;
34218 resultobj
= SWIG_Py_Void();
34220 if (arg3
) delete [] arg3
;
34225 if (arg3
) delete [] arg3
;
34231 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34232 PyObject
*resultobj
= 0;
34233 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34236 PyObject
*swig_obj
[1] ;
34238 if (!args
) SWIG_fail
;
34239 swig_obj
[0] = args
;
34240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34241 if (!SWIG_IsOK(res1
)) {
34242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34244 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34251 resultobj
= SWIG_Py_Void();
34258 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34259 PyObject
*resultobj
= 0;
34260 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34266 PyObject
* obj0
= 0 ;
34267 PyObject
* obj1
= 0 ;
34268 char * kwnames
[] = {
34269 (char *) "self",(char *) "font", NULL
34272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34274 if (!SWIG_IsOK(res1
)) {
34275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34277 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34279 if (!SWIG_IsOK(res2
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34285 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34288 (arg1
)->SetFont((wxFont
const &)*arg2
);
34289 wxPyEndAllowThreads(__tstate
);
34290 if (PyErr_Occurred()) SWIG_fail
;
34292 resultobj
= SWIG_Py_Void();
34299 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34300 PyObject
*resultobj
= 0;
34301 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34307 PyObject
* obj0
= 0 ;
34308 PyObject
* obj1
= 0 ;
34309 char * kwnames
[] = {
34310 (char *) "self",(char *) "pen", NULL
34313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34315 if (!SWIG_IsOK(res1
)) {
34316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34318 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34320 if (!SWIG_IsOK(res2
)) {
34321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34326 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34329 (arg1
)->SetPen((wxPen
const &)*arg2
);
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 resultobj
= SWIG_Py_Void();
34340 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34341 PyObject
*resultobj
= 0;
34342 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34343 wxBrush
*arg2
= 0 ;
34348 PyObject
* obj0
= 0 ;
34349 PyObject
* obj1
= 0 ;
34350 char * kwnames
[] = {
34351 (char *) "self",(char *) "brush", NULL
34354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34356 if (!SWIG_IsOK(res1
)) {
34357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34359 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34361 if (!SWIG_IsOK(res2
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34367 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34371 wxPyEndAllowThreads(__tstate
);
34372 if (PyErr_Occurred()) SWIG_fail
;
34374 resultobj
= SWIG_Py_Void();
34381 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34382 PyObject
*resultobj
= 0;
34383 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34384 wxBrush
*arg2
= 0 ;
34389 PyObject
* obj0
= 0 ;
34390 PyObject
* obj1
= 0 ;
34391 char * kwnames
[] = {
34392 (char *) "self",(char *) "brush", NULL
34395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34397 if (!SWIG_IsOK(res1
)) {
34398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34402 if (!SWIG_IsOK(res2
)) {
34403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34408 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34411 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34412 wxPyEndAllowThreads(__tstate
);
34413 if (PyErr_Occurred()) SWIG_fail
;
34415 resultobj
= SWIG_Py_Void();
34422 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34423 PyObject
*resultobj
= 0;
34424 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34430 PyObject
* obj0
= 0 ;
34431 PyObject
* obj1
= 0 ;
34432 char * kwnames
[] = {
34433 (char *) "self",(char *) "mode", NULL
34436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34438 if (!SWIG_IsOK(res1
)) {
34439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34441 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34443 if (!SWIG_IsOK(ecode2
)) {
34444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34446 arg2
= static_cast< int >(val2
);
34448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34449 (arg1
)->SetBackgroundMode(arg2
);
34450 wxPyEndAllowThreads(__tstate
);
34451 if (PyErr_Occurred()) SWIG_fail
;
34453 resultobj
= SWIG_Py_Void();
34460 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34461 PyObject
*resultobj
= 0;
34462 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34463 wxPalette
*arg2
= 0 ;
34468 PyObject
* obj0
= 0 ;
34469 PyObject
* obj1
= 0 ;
34470 char * kwnames
[] = {
34471 (char *) "self",(char *) "palette", NULL
34474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34476 if (!SWIG_IsOK(res1
)) {
34477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34479 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34480 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34481 if (!SWIG_IsOK(res2
)) {
34482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34487 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34494 resultobj
= SWIG_Py_Void();
34501 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34502 PyObject
*resultobj
= 0;
34503 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34504 wxColour
*arg2
= 0 ;
34508 PyObject
* obj0
= 0 ;
34509 PyObject
* obj1
= 0 ;
34510 char * kwnames
[] = {
34511 (char *) "self",(char *) "colour", NULL
34514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34516 if (!SWIG_IsOK(res1
)) {
34517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34519 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34522 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34526 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34527 wxPyEndAllowThreads(__tstate
);
34528 if (PyErr_Occurred()) SWIG_fail
;
34530 resultobj
= SWIG_Py_Void();
34537 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34538 PyObject
*resultobj
= 0;
34539 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34540 wxColour
*arg2
= 0 ;
34544 PyObject
* obj0
= 0 ;
34545 PyObject
* obj1
= 0 ;
34546 char * kwnames
[] = {
34547 (char *) "self",(char *) "colour", NULL
34550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34552 if (!SWIG_IsOK(res1
)) {
34553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34555 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34562 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34563 wxPyEndAllowThreads(__tstate
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34566 resultobj
= SWIG_Py_Void();
34573 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34574 PyObject
*resultobj
= 0;
34575 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34581 PyObject
* obj0
= 0 ;
34582 PyObject
* obj1
= 0 ;
34583 char * kwnames
[] = {
34584 (char *) "self",(char *) "function", NULL
34587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34589 if (!SWIG_IsOK(res1
)) {
34590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34592 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34594 if (!SWIG_IsOK(ecode2
)) {
34595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34597 arg2
= static_cast< int >(val2
);
34599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34600 (arg1
)->SetLogicalFunction(arg2
);
34601 wxPyEndAllowThreads(__tstate
);
34602 if (PyErr_Occurred()) SWIG_fail
;
34604 resultobj
= SWIG_Py_Void();
34611 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34614 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34615 return SWIG_Py_Void();
34618 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34619 return SWIG_Python_InitShadowInstance(args
);
34622 static PyMethodDef SwigMethods
[] = {
34623 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34624 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34625 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34626 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34627 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34628 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34632 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34633 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34634 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34635 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34636 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34637 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34642 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34645 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34646 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34647 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34648 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34650 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34653 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34654 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34655 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34656 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34658 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34659 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34660 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34661 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34662 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34663 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34664 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34666 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34671 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34675 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34676 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34679 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34683 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34684 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34685 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34686 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34687 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
34688 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34690 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34691 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34693 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34697 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34699 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34700 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34701 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34702 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34703 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34704 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34705 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34711 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34719 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34720 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34724 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34725 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34726 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34727 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34728 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34729 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34730 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34731 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34732 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34733 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34734 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34735 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34736 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34737 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34738 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34740 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34741 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34747 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34748 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34749 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34750 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34751 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34752 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34753 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34754 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34755 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34756 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34757 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34758 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34760 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34761 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34762 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34767 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34768 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34769 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34771 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34772 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34773 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34775 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34776 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34780 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34781 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34782 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34783 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34788 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34789 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34791 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34792 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34794 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34796 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34797 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34798 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34799 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34802 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34806 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34807 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34809 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34812 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34813 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34814 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34819 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34820 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34826 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34830 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34841 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34844 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34845 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34847 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34848 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34849 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34850 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34851 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34852 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34853 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34854 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34855 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34856 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34857 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34858 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34859 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34860 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34861 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34862 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34863 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34865 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34866 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34867 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34868 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34869 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34870 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34871 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34880 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34881 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34883 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34884 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34885 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34886 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34887 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34888 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34889 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34890 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34891 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34893 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34894 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34895 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34898 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34899 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34900 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34903 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34909 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34914 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34915 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34917 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34923 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34926 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34927 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34928 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34929 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34930 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34931 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34932 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34933 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34934 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34935 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34936 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34937 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34938 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34950 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34951 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34952 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34954 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34955 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34957 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34958 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34959 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34960 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34964 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34965 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34967 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34968 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34969 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34970 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34971 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34972 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34973 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34974 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34975 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34977 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34980 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34981 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34982 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34983 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34984 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34985 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34986 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34987 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34997 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34998 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34999 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
35001 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
35005 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
35006 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
35007 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
35008 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
35009 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
35010 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
35016 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
35017 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
35018 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
35067 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
35069 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
35070 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
35071 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
35078 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
35079 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
35080 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
35081 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
35082 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
35087 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
35088 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
35089 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
35090 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
35099 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
35100 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
35101 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
35102 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
35103 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
35104 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
35105 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
35106 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
35107 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
35108 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
35109 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
35110 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
35113 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
35115 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
35117 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
35119 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
35120 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
35123 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
35124 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
35128 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
35130 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
35133 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
35134 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
35135 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
35136 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
35137 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
35138 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
35139 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
35147 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
35151 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
35152 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
35153 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
35156 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
35157 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
35158 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
35160 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
35161 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
35163 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
35164 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
35166 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
35167 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
35168 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
35169 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
35170 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
35171 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
35172 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35174 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35175 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35177 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35178 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
35181 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
35182 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
35184 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
35187 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
35188 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
35189 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
35191 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
35192 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
35194 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
35195 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
35196 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
35197 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
35198 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
35200 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
35201 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
35202 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
35204 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
35205 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
35206 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
35210 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
35211 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35217 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35218 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
35219 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35221 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35222 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35223 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
35226 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
35227 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35253 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35255 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
35256 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35258 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35259 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
35260 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
35261 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
35262 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
35263 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
35264 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
35265 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
35266 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
35267 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
35268 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
35269 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35271 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35279 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35281 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35283 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35284 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35285 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35286 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35287 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35288 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35294 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35295 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35296 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35297 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35298 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35299 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35303 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35307 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35311 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35312 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35313 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35318 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35319 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35320 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35321 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35322 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35323 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35324 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35325 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35326 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35327 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35328 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35329 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35338 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35339 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35341 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35342 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35343 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35344 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35345 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35346 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35347 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35348 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35349 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35350 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35351 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35352 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35353 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35354 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35355 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35356 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35357 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35358 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35359 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35360 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35361 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35362 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35363 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35364 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35366 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35368 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35369 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35370 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35371 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35384 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35385 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35386 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35388 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35389 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35390 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35391 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35392 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35393 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35394 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35395 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35448 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35458 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35459 { NULL
, NULL
, 0, NULL
}
35463 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35465 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35466 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35468 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
35469 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
35471 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
35472 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35474 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35475 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35477 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35478 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35480 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35481 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35483 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35484 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35486 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35487 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35489 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35490 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35492 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35493 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35495 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35496 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35498 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35499 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35501 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35502 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35504 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35505 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35507 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35508 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35510 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35511 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35513 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35514 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
35516 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35517 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35519 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35520 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35522 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35523 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35525 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35526 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35528 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35529 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35531 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35532 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35534 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35535 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35537 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
35538 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35540 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35541 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35543 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35544 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35546 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35547 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35549 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35550 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35552 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35553 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35555 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35556 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35558 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35559 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35561 static void *_p_wxPenTo_p_wxObject(void *x
) {
35562 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35564 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35565 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35567 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35568 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35570 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35571 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35573 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35574 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35576 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35577 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35579 static void *_p_wxIconTo_p_wxObject(void *x
) {
35580 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35582 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35583 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35585 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35586 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35588 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35589 return (void *)((wxObject
*) ((wxSizer
*) x
));
35591 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35592 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35594 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35597 static void *_p_wxEventTo_p_wxObject(void *x
) {
35598 return (void *)((wxObject
*) ((wxEvent
*) x
));
35600 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35601 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35603 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35604 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35606 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35607 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35609 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35610 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35612 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35615 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35616 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35618 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35619 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35621 static void *_p_wxDCTo_p_wxObject(void *x
) {
35622 return (void *)((wxObject
*) ((wxDC
*) x
));
35624 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35625 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35627 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35628 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35630 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35631 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35633 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35634 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35636 static void *_p_wxControlTo_p_wxObject(void *x
) {
35637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35639 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35640 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35642 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35643 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35645 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35646 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35648 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35649 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35651 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35652 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35654 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35655 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35657 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35658 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35660 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35661 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35663 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35664 return (void *)((wxObject
*) ((wxEffects
*) x
));
35666 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35667 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35669 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35672 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35673 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35675 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35676 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35678 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35679 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35681 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35684 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35685 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35687 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35688 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35690 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35691 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35693 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35694 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35696 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35697 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35699 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35700 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35702 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35703 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35705 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35706 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35708 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35709 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35711 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35712 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35714 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35715 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35717 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35718 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35720 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35723 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35724 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35726 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35727 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35729 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35730 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35732 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35735 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35738 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35739 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35741 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35744 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35745 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35747 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35748 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35750 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35751 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35753 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35754 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35756 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35757 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35759 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
35760 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35762 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35763 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35765 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35766 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35768 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35769 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35771 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35772 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35774 static void *_p_wxImageTo_p_wxObject(void *x
) {
35775 return (void *)((wxObject
*) ((wxImage
*) x
));
35777 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35778 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35780 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35781 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35783 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35784 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35786 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35787 return (void *)((wxObject
*) ((wxImageList
*) x
));
35789 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35790 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35792 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35793 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35795 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35796 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35798 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35799 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35801 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35804 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35805 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35807 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35808 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35810 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35811 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35813 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35814 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35816 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35819 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35820 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35822 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35823 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35825 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35826 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35828 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35829 return (void *)((wxObject
*) ((wxMask
*) x
));
35831 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35834 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35835 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35837 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35838 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35840 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35841 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35843 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35844 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35846 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35847 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35849 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35852 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35853 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35855 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35856 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35858 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35859 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35861 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35864 static void *_p_wxFontTo_p_wxObject(void *x
) {
35865 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35867 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35868 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35870 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35871 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35873 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35876 static void *_p_wxColourTo_p_wxObject(void *x
) {
35877 return (void *)((wxObject
*) ((wxColour
*) x
));
35879 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35882 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35883 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35885 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35886 return (void *)((wxWindow
*) ((wxControl
*) x
));
35888 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35889 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35891 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35892 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35894 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35895 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35897 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35898 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35900 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35901 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35902 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35903 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};
35904 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35905 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35906 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35907 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35908 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
35909 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35910 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35911 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
35912 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35913 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35914 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35915 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35916 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35917 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35918 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35919 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35920 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35921 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35922 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35923 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35924 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35925 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35926 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35927 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35928 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35929 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35930 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35931 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35932 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35933 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35934 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35935 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35936 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35937 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35938 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35939 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35940 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35941 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35942 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35943 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35944 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35945 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35946 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35947 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35948 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35949 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35950 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35951 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35952 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35953 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35954 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35955 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35956 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35957 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35958 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35959 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35960 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35961 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35962 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35963 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35964 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35965 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35966 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35967 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35968 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35969 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35970 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35971 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35972 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35973 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35974 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35975 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35976 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35977 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35978 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35979 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35980 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35981 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35982 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35983 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35984 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35985 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35986 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35987 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35988 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35989 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35990 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35991 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35992 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35993 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35994 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35995 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35996 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35997 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35998 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35999 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36000 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
36001 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36002 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36003 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36004 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36005 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36006 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36007 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36008 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36009 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
36010 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36011 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
36012 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36013 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36014 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36015 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
36016 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
36017 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36018 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36019 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36020 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36021 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36022 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36023 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36024 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
36025 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36026 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36027 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36028 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36029 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36030 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
36031 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
36032 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
36033 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
36034 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36035 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
36036 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
36037 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
36038 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36039 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
36040 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
36041 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36042 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
36043 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
36044 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
36045 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
36046 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36047 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36048 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
36049 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
36050 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
36051 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
36052 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36053 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
36054 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
36055 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36056 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36057 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
36059 static swig_type_info
*swig_type_initial
[] = {
36063 &_swigt__p_form_ops_t
,
36065 &_swigt__p_unsigned_char
,
36066 &_swigt__p_unsigned_int
,
36067 &_swigt__p_unsigned_long
,
36069 &_swigt__p_wxANIHandler
,
36070 &_swigt__p_wxAcceleratorTable
,
36071 &_swigt__p_wxActivateEvent
,
36072 &_swigt__p_wxAlphaPixelData
,
36073 &_swigt__p_wxAlphaPixelData_Accessor
,
36074 &_swigt__p_wxAutoBufferedPaintDC
,
36075 &_swigt__p_wxBMPHandler
,
36076 &_swigt__p_wxBitmap
,
36077 &_swigt__p_wxBoxSizer
,
36078 &_swigt__p_wxBrush
,
36079 &_swigt__p_wxBrushList
,
36080 &_swigt__p_wxBufferedDC
,
36081 &_swigt__p_wxBufferedPaintDC
,
36082 &_swigt__p_wxCURHandler
,
36084 &_swigt__p_wxChildFocusEvent
,
36085 &_swigt__p_wxClientDC
,
36086 &_swigt__p_wxClipboardTextEvent
,
36087 &_swigt__p_wxCloseEvent
,
36088 &_swigt__p_wxColor
,
36089 &_swigt__p_wxColour
,
36090 &_swigt__p_wxColourDatabase
,
36091 &_swigt__p_wxCommandEvent
,
36092 &_swigt__p_wxContextMenuEvent
,
36093 &_swigt__p_wxControl
,
36094 &_swigt__p_wxControlWithItems
,
36095 &_swigt__p_wxCursor
,
36097 &_swigt__p_wxDCOverlay
,
36099 &_swigt__p_wxDateEvent
,
36100 &_swigt__p_wxDisplayChangedEvent
,
36101 &_swigt__p_wxDropFilesEvent
,
36102 &_swigt__p_wxDuplexMode
,
36103 &_swigt__p_wxEffects
,
36104 &_swigt__p_wxEncodingConverter
,
36105 &_swigt__p_wxEraseEvent
,
36106 &_swigt__p_wxEvent
,
36107 &_swigt__p_wxEvtHandler
,
36108 &_swigt__p_wxFSFile
,
36109 &_swigt__p_wxFileSystem
,
36110 &_swigt__p_wxFlexGridSizer
,
36111 &_swigt__p_wxFocusEvent
,
36113 &_swigt__p_wxFontList
,
36114 &_swigt__p_wxFontMapper
,
36115 &_swigt__p_wxGBSizerItem
,
36117 &_swigt__p_wxGDIObjListBase
,
36118 &_swigt__p_wxGDIObject
,
36119 &_swigt__p_wxGIFHandler
,
36120 &_swigt__p_wxGraphicsContext
,
36121 &_swigt__p_wxGraphicsPath
,
36122 &_swigt__p_wxGridBagSizer
,
36123 &_swigt__p_wxGridSizer
,
36124 &_swigt__p_wxHeaderButtonParams
,
36125 &_swigt__p_wxICOHandler
,
36127 &_swigt__p_wxIconBundle
,
36128 &_swigt__p_wxIconLocation
,
36129 &_swigt__p_wxIconizeEvent
,
36130 &_swigt__p_wxIdleEvent
,
36131 &_swigt__p_wxImage
,
36132 &_swigt__p_wxImageHandler
,
36133 &_swigt__p_wxImageList
,
36134 &_swigt__p_wxIndividualLayoutConstraint
,
36135 &_swigt__p_wxInitDialogEvent
,
36136 &_swigt__p_wxJPEGHandler
,
36137 &_swigt__p_wxKeyEvent
,
36138 &_swigt__p_wxLanguageInfo
,
36139 &_swigt__p_wxLayoutConstraints
,
36140 &_swigt__p_wxLocale
,
36142 &_swigt__p_wxMaximizeEvent
,
36143 &_swigt__p_wxMemoryDC
,
36145 &_swigt__p_wxMenuBar
,
36146 &_swigt__p_wxMenuEvent
,
36147 &_swigt__p_wxMenuItem
,
36148 &_swigt__p_wxMetaFile
,
36149 &_swigt__p_wxMetaFileDC
,
36150 &_swigt__p_wxMirrorDC
,
36151 &_swigt__p_wxMouseCaptureChangedEvent
,
36152 &_swigt__p_wxMouseCaptureLostEvent
,
36153 &_swigt__p_wxMouseEvent
,
36154 &_swigt__p_wxMoveEvent
,
36155 &_swigt__p_wxNativeEncodingInfo
,
36156 &_swigt__p_wxNativeFontInfo
,
36157 &_swigt__p_wxNativePixelData
,
36158 &_swigt__p_wxNativePixelData_Accessor
,
36159 &_swigt__p_wxNavigationKeyEvent
,
36160 &_swigt__p_wxNcPaintEvent
,
36161 &_swigt__p_wxNotifyEvent
,
36162 &_swigt__p_wxObject
,
36163 &_swigt__p_wxOverlay
,
36164 &_swigt__p_wxPCXHandler
,
36165 &_swigt__p_wxPNGHandler
,
36166 &_swigt__p_wxPNMHandler
,
36167 &_swigt__p_wxPaintDC
,
36168 &_swigt__p_wxPaintEvent
,
36169 &_swigt__p_wxPalette
,
36170 &_swigt__p_wxPaletteChangedEvent
,
36171 &_swigt__p_wxPaperSize
,
36173 &_swigt__p_wxPenList
,
36174 &_swigt__p_wxPixelDataBase
,
36175 &_swigt__p_wxPoint
,
36176 &_swigt__p_wxPoint2D
,
36177 &_swigt__p_wxPostScriptDC
,
36178 &_swigt__p_wxPrintData
,
36179 &_swigt__p_wxPrinterDC
,
36180 &_swigt__p_wxPseudoDC
,
36181 &_swigt__p_wxPyApp
,
36182 &_swigt__p_wxPyCommandEvent
,
36183 &_swigt__p_wxPyEvent
,
36184 &_swigt__p_wxPyFontEnumerator
,
36185 &_swigt__p_wxPyImageHandler
,
36186 &_swigt__p_wxPyLocale
,
36187 &_swigt__p_wxPySizer
,
36188 &_swigt__p_wxPyValidator
,
36189 &_swigt__p_wxQueryNewPaletteEvent
,
36191 &_swigt__p_wxRegion
,
36192 &_swigt__p_wxRegionIterator
,
36193 &_swigt__p_wxRendererNative
,
36194 &_swigt__p_wxRendererVersion
,
36195 &_swigt__p_wxScreenDC
,
36196 &_swigt__p_wxScrollEvent
,
36197 &_swigt__p_wxScrollWinEvent
,
36198 &_swigt__p_wxSetCursorEvent
,
36199 &_swigt__p_wxShowEvent
,
36201 &_swigt__p_wxSizeEvent
,
36202 &_swigt__p_wxSizer
,
36203 &_swigt__p_wxSizerItem
,
36204 &_swigt__p_wxSplitterRenderParams
,
36205 &_swigt__p_wxStaticBoxSizer
,
36206 &_swigt__p_wxStdDialogButtonSizer
,
36207 &_swigt__p_wxStockGDI
,
36208 &_swigt__p_wxString
,
36209 &_swigt__p_wxSysColourChangedEvent
,
36210 &_swigt__p_wxTIFFHandler
,
36211 &_swigt__p_wxUpdateUIEvent
,
36212 &_swigt__p_wxValidator
,
36213 &_swigt__p_wxWindow
,
36214 &_swigt__p_wxWindowCreateEvent
,
36215 &_swigt__p_wxWindowDC
,
36216 &_swigt__p_wxWindowDestroyEvent
,
36217 &_swigt__p_wxXPMHandler
,
36220 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36221 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36222 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36223 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36224 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36225 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36226 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36227 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36228 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
36229 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
36230 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36231 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36232 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36233 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36234 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36235 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}};
36236 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36237 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
36238 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}};
36239 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
36240 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36241 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
36242 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
36243 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}};
36244 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36245 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
36246 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36247 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
36248 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
36249 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36250 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36251 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36252 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36253 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}};
36254 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}};
36255 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36256 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36257 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36258 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36259 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36260 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36261 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36262 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36263 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36264 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}};
36265 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36266 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}};
36267 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36268 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36269 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36270 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36271 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36272 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36273 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36274 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36275 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36276 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36277 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36278 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36279 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36280 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36281 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36282 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36283 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36284 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36285 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36286 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36287 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36288 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36289 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36290 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36291 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36292 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36293 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36294 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36295 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36296 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36297 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36298 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36299 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36300 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36301 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36302 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36303 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36304 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36305 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36306 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36307 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36308 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36309 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36310 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36311 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36312 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36313 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36314 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36315 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36316 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36317 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36318 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36319 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36320 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36321 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36322 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36323 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36324 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36325 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36326 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36327 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36328 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36329 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36330 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36331 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36332 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36333 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36334 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36335 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36336 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36337 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36338 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36339 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36340 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36341 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36342 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36343 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36344 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36345 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36346 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36347 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36348 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36349 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36350 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}};
36351 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36352 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36353 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36354 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36355 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36356 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36357 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}};
36358 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36359 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36360 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36361 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36362 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36363 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36364 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36365 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36366 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36367 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36368 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36369 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36370 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36371 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36372 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36373 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36374 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36375 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36376 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}};
36377 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}};
36379 static swig_cast_info
*swig_cast_initial
[] = {
36383 _swigc__p_form_ops_t
,
36385 _swigc__p_unsigned_char
,
36386 _swigc__p_unsigned_int
,
36387 _swigc__p_unsigned_long
,
36389 _swigc__p_wxANIHandler
,
36390 _swigc__p_wxAcceleratorTable
,
36391 _swigc__p_wxActivateEvent
,
36392 _swigc__p_wxAlphaPixelData
,
36393 _swigc__p_wxAlphaPixelData_Accessor
,
36394 _swigc__p_wxAutoBufferedPaintDC
,
36395 _swigc__p_wxBMPHandler
,
36396 _swigc__p_wxBitmap
,
36397 _swigc__p_wxBoxSizer
,
36399 _swigc__p_wxBrushList
,
36400 _swigc__p_wxBufferedDC
,
36401 _swigc__p_wxBufferedPaintDC
,
36402 _swigc__p_wxCURHandler
,
36404 _swigc__p_wxChildFocusEvent
,
36405 _swigc__p_wxClientDC
,
36406 _swigc__p_wxClipboardTextEvent
,
36407 _swigc__p_wxCloseEvent
,
36409 _swigc__p_wxColour
,
36410 _swigc__p_wxColourDatabase
,
36411 _swigc__p_wxCommandEvent
,
36412 _swigc__p_wxContextMenuEvent
,
36413 _swigc__p_wxControl
,
36414 _swigc__p_wxControlWithItems
,
36415 _swigc__p_wxCursor
,
36417 _swigc__p_wxDCOverlay
,
36419 _swigc__p_wxDateEvent
,
36420 _swigc__p_wxDisplayChangedEvent
,
36421 _swigc__p_wxDropFilesEvent
,
36422 _swigc__p_wxDuplexMode
,
36423 _swigc__p_wxEffects
,
36424 _swigc__p_wxEncodingConverter
,
36425 _swigc__p_wxEraseEvent
,
36427 _swigc__p_wxEvtHandler
,
36428 _swigc__p_wxFSFile
,
36429 _swigc__p_wxFileSystem
,
36430 _swigc__p_wxFlexGridSizer
,
36431 _swigc__p_wxFocusEvent
,
36433 _swigc__p_wxFontList
,
36434 _swigc__p_wxFontMapper
,
36435 _swigc__p_wxGBSizerItem
,
36437 _swigc__p_wxGDIObjListBase
,
36438 _swigc__p_wxGDIObject
,
36439 _swigc__p_wxGIFHandler
,
36440 _swigc__p_wxGraphicsContext
,
36441 _swigc__p_wxGraphicsPath
,
36442 _swigc__p_wxGridBagSizer
,
36443 _swigc__p_wxGridSizer
,
36444 _swigc__p_wxHeaderButtonParams
,
36445 _swigc__p_wxICOHandler
,
36447 _swigc__p_wxIconBundle
,
36448 _swigc__p_wxIconLocation
,
36449 _swigc__p_wxIconizeEvent
,
36450 _swigc__p_wxIdleEvent
,
36452 _swigc__p_wxImageHandler
,
36453 _swigc__p_wxImageList
,
36454 _swigc__p_wxIndividualLayoutConstraint
,
36455 _swigc__p_wxInitDialogEvent
,
36456 _swigc__p_wxJPEGHandler
,
36457 _swigc__p_wxKeyEvent
,
36458 _swigc__p_wxLanguageInfo
,
36459 _swigc__p_wxLayoutConstraints
,
36460 _swigc__p_wxLocale
,
36462 _swigc__p_wxMaximizeEvent
,
36463 _swigc__p_wxMemoryDC
,
36465 _swigc__p_wxMenuBar
,
36466 _swigc__p_wxMenuEvent
,
36467 _swigc__p_wxMenuItem
,
36468 _swigc__p_wxMetaFile
,
36469 _swigc__p_wxMetaFileDC
,
36470 _swigc__p_wxMirrorDC
,
36471 _swigc__p_wxMouseCaptureChangedEvent
,
36472 _swigc__p_wxMouseCaptureLostEvent
,
36473 _swigc__p_wxMouseEvent
,
36474 _swigc__p_wxMoveEvent
,
36475 _swigc__p_wxNativeEncodingInfo
,
36476 _swigc__p_wxNativeFontInfo
,
36477 _swigc__p_wxNativePixelData
,
36478 _swigc__p_wxNativePixelData_Accessor
,
36479 _swigc__p_wxNavigationKeyEvent
,
36480 _swigc__p_wxNcPaintEvent
,
36481 _swigc__p_wxNotifyEvent
,
36482 _swigc__p_wxObject
,
36483 _swigc__p_wxOverlay
,
36484 _swigc__p_wxPCXHandler
,
36485 _swigc__p_wxPNGHandler
,
36486 _swigc__p_wxPNMHandler
,
36487 _swigc__p_wxPaintDC
,
36488 _swigc__p_wxPaintEvent
,
36489 _swigc__p_wxPalette
,
36490 _swigc__p_wxPaletteChangedEvent
,
36491 _swigc__p_wxPaperSize
,
36493 _swigc__p_wxPenList
,
36494 _swigc__p_wxPixelDataBase
,
36496 _swigc__p_wxPoint2D
,
36497 _swigc__p_wxPostScriptDC
,
36498 _swigc__p_wxPrintData
,
36499 _swigc__p_wxPrinterDC
,
36500 _swigc__p_wxPseudoDC
,
36502 _swigc__p_wxPyCommandEvent
,
36503 _swigc__p_wxPyEvent
,
36504 _swigc__p_wxPyFontEnumerator
,
36505 _swigc__p_wxPyImageHandler
,
36506 _swigc__p_wxPyLocale
,
36507 _swigc__p_wxPySizer
,
36508 _swigc__p_wxPyValidator
,
36509 _swigc__p_wxQueryNewPaletteEvent
,
36511 _swigc__p_wxRegion
,
36512 _swigc__p_wxRegionIterator
,
36513 _swigc__p_wxRendererNative
,
36514 _swigc__p_wxRendererVersion
,
36515 _swigc__p_wxScreenDC
,
36516 _swigc__p_wxScrollEvent
,
36517 _swigc__p_wxScrollWinEvent
,
36518 _swigc__p_wxSetCursorEvent
,
36519 _swigc__p_wxShowEvent
,
36521 _swigc__p_wxSizeEvent
,
36523 _swigc__p_wxSizerItem
,
36524 _swigc__p_wxSplitterRenderParams
,
36525 _swigc__p_wxStaticBoxSizer
,
36526 _swigc__p_wxStdDialogButtonSizer
,
36527 _swigc__p_wxStockGDI
,
36528 _swigc__p_wxString
,
36529 _swigc__p_wxSysColourChangedEvent
,
36530 _swigc__p_wxTIFFHandler
,
36531 _swigc__p_wxUpdateUIEvent
,
36532 _swigc__p_wxValidator
,
36533 _swigc__p_wxWindow
,
36534 _swigc__p_wxWindowCreateEvent
,
36535 _swigc__p_wxWindowDC
,
36536 _swigc__p_wxWindowDestroyEvent
,
36537 _swigc__p_wxXPMHandler
,
36541 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36543 static swig_const_info swig_const_table
[] = {
36544 {0, 0, 0, 0.0, 0, 0}};
36549 /* -----------------------------------------------------------------------------
36550 * Type initialization:
36551 * This problem is tough by the requirement that no dynamic
36552 * memory is used. Also, since swig_type_info structures store pointers to
36553 * swig_cast_info structures and swig_cast_info structures store pointers back
36554 * to swig_type_info structures, we need some lookup code at initialization.
36555 * The idea is that swig generates all the structures that are needed.
36556 * The runtime then collects these partially filled structures.
36557 * The SWIG_InitializeModule function takes these initial arrays out of
36558 * swig_module, and does all the lookup, filling in the swig_module.types
36559 * array with the correct data and linking the correct swig_cast_info
36560 * structures together.
36562 * The generated swig_type_info structures are assigned staticly to an initial
36563 * array. We just loop though that array, and handle each type individually.
36564 * First we lookup if this type has been already loaded, and if so, use the
36565 * loaded structure instead of the generated one. Then we have to fill in the
36566 * cast linked list. The cast data is initially stored in something like a
36567 * two-dimensional array. Each row corresponds to a type (there are the same
36568 * number of rows as there are in the swig_type_initial array). Each entry in
36569 * a column is one of the swig_cast_info structures for that type.
36570 * The cast_initial array is actually an array of arrays, because each row has
36571 * a variable number of columns. So to actually build the cast linked list,
36572 * we find the array of casts associated with the type, and loop through it
36573 * adding the casts to the list. The one last trick we need to do is making
36574 * sure the type pointer in the swig_cast_info struct is correct.
36576 * First off, we lookup the cast->type name to see if it is already loaded.
36577 * There are three cases to handle:
36578 * 1) If the cast->type has already been loaded AND the type we are adding
36579 * casting info to has not been loaded (it is in this module), THEN we
36580 * replace the cast->type pointer with the type pointer that has already
36582 * 2) If BOTH types (the one we are adding casting info to, and the
36583 * cast->type) are loaded, THEN the cast info has already been loaded by
36584 * the previous module so we just ignore it.
36585 * 3) Finally, if cast->type has not already been loaded, then we add that
36586 * swig_cast_info to the linked list (because the cast->type) pointer will
36588 * ----------------------------------------------------------------------------- */
36598 #define SWIGRUNTIME_DEBUG
36602 SWIG_InitializeModule(void *clientdata
) {
36604 swig_module_info
*module_head
;
36605 static int init_run
= 0;
36607 clientdata
= clientdata
;
36609 if (init_run
) return;
36612 /* Initialize the swig_module */
36613 swig_module
.type_initial
= swig_type_initial
;
36614 swig_module
.cast_initial
= swig_cast_initial
;
36616 /* Try and load any already created modules */
36617 module_head
= SWIG_GetModule(clientdata
);
36619 swig_module
.next
= module_head
->next
;
36620 module_head
->next
= &swig_module
;
36622 /* This is the first module loaded */
36623 swig_module
.next
= &swig_module
;
36624 SWIG_SetModule(clientdata
, &swig_module
);
36627 /* Now work on filling in swig_module.types */
36628 #ifdef SWIGRUNTIME_DEBUG
36629 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36631 for (i
= 0; i
< swig_module
.size
; ++i
) {
36632 swig_type_info
*type
= 0;
36633 swig_type_info
*ret
;
36634 swig_cast_info
*cast
;
36636 #ifdef SWIGRUNTIME_DEBUG
36637 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36640 /* if there is another module already loaded */
36641 if (swig_module
.next
!= &swig_module
) {
36642 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36645 /* Overwrite clientdata field */
36646 #ifdef SWIGRUNTIME_DEBUG
36647 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36649 if (swig_module
.type_initial
[i
]->clientdata
) {
36650 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36651 #ifdef SWIGRUNTIME_DEBUG
36652 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36656 type
= swig_module
.type_initial
[i
];
36659 /* Insert casting types */
36660 cast
= swig_module
.cast_initial
[i
];
36661 while (cast
->type
) {
36662 /* Don't need to add information already in the list */
36664 #ifdef SWIGRUNTIME_DEBUG
36665 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36667 if (swig_module
.next
!= &swig_module
) {
36668 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36669 #ifdef SWIGRUNTIME_DEBUG
36670 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36674 if (type
== swig_module
.type_initial
[i
]) {
36675 #ifdef SWIGRUNTIME_DEBUG
36676 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36681 /* Check for casting already in the list */
36682 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36683 #ifdef SWIGRUNTIME_DEBUG
36684 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36686 if (!ocast
) ret
= 0;
36691 #ifdef SWIGRUNTIME_DEBUG
36692 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36695 type
->cast
->prev
= cast
;
36696 cast
->next
= type
->cast
;
36702 /* Set entry in modules->types array equal to the type */
36703 swig_module
.types
[i
] = type
;
36705 swig_module
.types
[i
] = 0;
36707 #ifdef SWIGRUNTIME_DEBUG
36708 printf("**** SWIG_InitializeModule: Cast List ******\n");
36709 for (i
= 0; i
< swig_module
.size
; ++i
) {
36711 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36712 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36713 while (cast
->type
) {
36714 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36718 printf("---- Total casts: %d\n",j
);
36720 printf("**** SWIG_InitializeModule: Cast List ******\n");
36724 /* This function will propagate the clientdata field of type to
36725 * any new swig_type_info structures that have been added into the list
36726 * of equivalent types. It is like calling
36727 * SWIG_TypeClientData(type, clientdata) a second time.
36730 SWIG_PropagateClientData(void) {
36732 swig_cast_info
*equiv
;
36733 static int init_run
= 0;
36735 if (init_run
) return;
36738 for (i
= 0; i
< swig_module
.size
; i
++) {
36739 if (swig_module
.types
[i
]->clientdata
) {
36740 equiv
= swig_module
.types
[i
]->cast
;
36742 if (!equiv
->converter
) {
36743 if (equiv
->type
&& !equiv
->type
->clientdata
)
36744 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36746 equiv
= equiv
->next
;
36766 /* Python-specific SWIG API */
36767 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36768 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36769 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36771 /* -----------------------------------------------------------------------------
36772 * global variable support code.
36773 * ----------------------------------------------------------------------------- */
36775 typedef struct swig_globalvar
{
36776 char *name
; /* Name of global variable */
36777 PyObject
*(*get_attr
)(void); /* Return the current value */
36778 int (*set_attr
)(PyObject
*); /* Set the value */
36779 struct swig_globalvar
*next
;
36782 typedef struct swig_varlinkobject
{
36784 swig_globalvar
*vars
;
36785 } swig_varlinkobject
;
36787 SWIGINTERN PyObject
*
36788 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36789 return PyString_FromString("<Swig global variables>");
36792 SWIGINTERN PyObject
*
36793 swig_varlink_str(swig_varlinkobject
*v
) {
36794 PyObject
*str
= PyString_FromString("(");
36795 swig_globalvar
*var
;
36796 for (var
= v
->vars
; var
; var
=var
->next
) {
36797 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36798 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36800 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36805 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36806 PyObject
*str
= swig_varlink_str(v
);
36807 fprintf(fp
,"Swig global variables ");
36808 fprintf(fp
,"%s\n", PyString_AsString(str
));
36814 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36815 swig_globalvar
*var
= v
->vars
;
36817 swig_globalvar
*n
= var
->next
;
36824 SWIGINTERN PyObject
*
36825 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36826 PyObject
*res
= NULL
;
36827 swig_globalvar
*var
= v
->vars
;
36829 if (strcmp(var
->name
,n
) == 0) {
36830 res
= (*var
->get_attr
)();
36835 if (res
== NULL
&& !PyErr_Occurred()) {
36836 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36842 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36844 swig_globalvar
*var
= v
->vars
;
36846 if (strcmp(var
->name
,n
) == 0) {
36847 res
= (*var
->set_attr
)(p
);
36852 if (res
== 1 && !PyErr_Occurred()) {
36853 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36858 SWIGINTERN PyTypeObject
*
36859 swig_varlink_type(void) {
36860 static char varlink__doc__
[] = "Swig var link object";
36861 static PyTypeObject varlink_type
;
36862 static int type_init
= 0;
36864 const PyTypeObject tmp
36866 PyObject_HEAD_INIT(NULL
)
36867 0, /* Number of items in variable part (ob_size) */
36868 (char *)"swigvarlink", /* Type name (tp_name) */
36869 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36870 0, /* Itemsize (tp_itemsize) */
36871 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36872 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36873 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36874 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36875 0, /* tp_compare */
36876 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36877 0, /* tp_as_number */
36878 0, /* tp_as_sequence */
36879 0, /* tp_as_mapping */
36882 (reprfunc
)swig_varlink_str
, /* tp_str */
36883 0, /* tp_getattro */
36884 0, /* tp_setattro */
36885 0, /* tp_as_buffer */
36887 varlink__doc__
, /* tp_doc */
36888 0, /* tp_traverse */
36890 0, /* tp_richcompare */
36891 0, /* tp_weaklistoffset */
36892 #if PY_VERSION_HEX >= 0x02020000
36893 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36895 #if PY_VERSION_HEX >= 0x02030000
36898 #ifdef COUNT_ALLOCS
36899 0,0,0,0 /* tp_alloc -> tp_next */
36902 varlink_type
= tmp
;
36903 varlink_type
.ob_type
= &PyType_Type
;
36906 return &varlink_type
;
36909 /* Create a variable linking object for use later */
36910 SWIGINTERN PyObject
*
36911 SWIG_Python_newvarlink(void) {
36912 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36916 return ((PyObject
*) result
);
36920 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36921 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36922 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36924 size_t size
= strlen(name
)+1;
36925 gv
->name
= (char *)malloc(size
);
36927 strncpy(gv
->name
,name
,size
);
36928 gv
->get_attr
= get_attr
;
36929 gv
->set_attr
= set_attr
;
36930 gv
->next
= v
->vars
;
36936 SWIGINTERN PyObject
*
36938 static PyObject
*_SWIG_globals
= 0;
36939 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36940 return _SWIG_globals
;
36943 /* -----------------------------------------------------------------------------
36944 * constants/methods manipulation
36945 * ----------------------------------------------------------------------------- */
36947 /* Install Constants */
36949 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36952 for (i
= 0; constants
[i
].type
; ++i
) {
36953 switch(constants
[i
].type
) {
36954 case SWIG_PY_POINTER
:
36955 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36957 case SWIG_PY_BINARY
:
36958 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36965 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36971 /* -----------------------------------------------------------------------------*/
36972 /* Fix SwigMethods to carry the callback ptrs when needed */
36973 /* -----------------------------------------------------------------------------*/
36976 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36977 swig_const_info
*const_table
,
36978 swig_type_info
**types
,
36979 swig_type_info
**types_initial
) {
36981 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36982 const char *c
= methods
[i
].ml_doc
;
36983 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36985 swig_const_info
*ci
= 0;
36986 const char *name
= c
+ 10;
36987 for (j
= 0; const_table
[j
].type
; ++j
) {
36988 if (strncmp(const_table
[j
].name
, name
,
36989 strlen(const_table
[j
].name
)) == 0) {
36990 ci
= &(const_table
[j
]);
36995 size_t shift
= (ci
->ptype
) - types
;
36996 swig_type_info
*ty
= types_initial
[shift
];
36997 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36998 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36999 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37002 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37004 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37006 strncpy(buff
, "swig_ptr: ", 10);
37008 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37009 methods
[i
].ml_doc
= ndoc
;
37021 /* -----------------------------------------------------------------------------*
37022 * Partial Init method
37023 * -----------------------------------------------------------------------------*/
37028 SWIGEXPORT
void SWIG_init(void) {
37031 /* Fix SwigMethods to carry the callback ptrs when needed */
37032 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37034 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37035 d
= PyModule_GetDict(m
);
37037 SWIG_InitializeModule(0);
37038 SWIG_InstallConstants(d
,swig_const_table
);
37041 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
37042 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
37043 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
37044 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
37045 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
37046 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
37047 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
37048 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
37049 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
37050 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
37051 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
37052 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
37053 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
37054 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
37055 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
37056 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
37057 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
37058 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
37059 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
37060 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
37061 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
37062 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
37063 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
37064 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
37065 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
37066 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
37067 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
37068 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
37069 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
37070 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
37071 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
37072 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
37073 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
37074 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
37075 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
37076 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
37077 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
37078 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
37079 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
37080 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
37081 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
37082 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
37083 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
37084 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
37085 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
37086 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
37087 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
37088 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
37089 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
37090 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
37091 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
37092 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
37093 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
37094 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
37095 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
37096 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
37097 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
37098 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
37099 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
37100 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
37101 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
37102 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
37103 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
37104 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
37105 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
37106 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
37107 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
37108 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
37109 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
37110 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
37111 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
37112 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
37113 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
37114 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
37115 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
37116 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
37117 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
37118 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
37119 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
37120 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
37121 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
37122 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
37123 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
37124 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
37125 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
37126 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
37127 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
37128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
37129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
37130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
37131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
37132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
37133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
37134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
37135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
37136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
37137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
37138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
37139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
37140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
37141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
37142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
37143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
37144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
37145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
37146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
37147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
37148 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
37149 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
37150 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
37151 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
37152 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
37153 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
37154 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
37155 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
37156 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
37157 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
37158 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
37159 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
37160 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
37161 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
37162 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
37163 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
37164 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
37165 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
37166 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
37167 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
37168 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
37169 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
37170 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
37171 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
37172 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
37174 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
37176 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
37177 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
37178 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
37179 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
37180 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
37181 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
37182 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
37183 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
37184 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
37185 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
37186 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
37187 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
37188 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
37189 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
37190 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
37191 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
37192 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
37193 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
37194 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
37195 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
37196 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
37197 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
37198 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
37199 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
37200 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
37201 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
37202 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
37203 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
37204 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
37205 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
37206 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
37207 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
37208 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
37209 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
37210 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
37211 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
37212 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
37213 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37214 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37215 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37216 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37217 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37218 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37219 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37220 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37221 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37222 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37223 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37224 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37225 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
37226 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
37227 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
37228 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
37229 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
37230 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
37231 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
37232 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
37233 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37234 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37235 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37236 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37237 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
37238 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
37239 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
37240 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
37241 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
37242 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
37243 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
37244 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
37245 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
37246 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
37247 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
37248 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
37249 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
37250 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
37251 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
37252 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37253 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37254 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37255 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37256 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37257 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37258 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37259 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37260 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37261 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37262 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37263 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37264 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37265 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37266 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37267 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37268 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37269 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37270 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37271 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37272 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37273 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37274 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37275 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37276 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37277 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37278 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37279 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37280 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37281 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37282 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37283 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37284 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37285 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37286 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37287 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37288 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37289 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37290 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37291 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37292 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37293 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37294 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37295 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37296 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37297 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37298 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37299 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37300 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37301 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37302 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37303 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37304 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37305 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37306 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37307 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37308 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37309 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37310 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37311 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37312 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37313 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37314 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37315 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37316 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37317 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37318 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37319 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37320 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37321 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37322 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37323 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37324 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37325 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37326 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37327 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37328 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37329 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37330 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37331 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37332 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37333 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37334 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37335 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37336 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37337 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37338 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37339 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37340 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37341 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37342 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37343 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37344 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37345 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37346 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37347 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37348 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37349 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37350 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37351 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37352 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37353 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37354 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37355 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37356 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37357 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37358 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37359 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37360 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37361 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37362 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37363 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37364 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37365 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37366 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37367 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37368 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37369 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37370 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37371 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37372 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37373 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37374 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37375 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37376 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37377 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37378 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37379 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37380 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37381 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37382 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37383 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37384 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37385 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37386 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37387 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37388 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37389 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37390 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37391 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37392 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37393 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37394 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37395 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37396 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37397 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37398 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37399 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37400 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37401 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37402 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37403 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37404 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37405 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37406 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37407 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37408 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37409 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37410 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37411 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37412 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37413 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37414 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37415 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37416 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37417 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37418 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37419 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37420 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37421 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37422 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37423 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37424 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37425 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37426 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37427 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37428 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37429 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37430 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37431 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37432 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37433 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37434 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37435 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37436 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37437 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37438 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37439 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37440 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37441 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37442 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37443 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37444 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37445 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37446 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37447 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37448 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37449 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37450 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37451 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37452 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37453 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37454 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37455 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37456 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37457 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37458 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37459 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37460 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37461 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37462 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37463 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37464 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37465 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37466 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37467 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37468 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37469 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37470 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37471 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37472 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37473 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37474 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37475 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37476 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37477 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37478 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37479 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37480 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37481 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37482 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37483 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37484 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37485 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37486 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37487 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37488 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37489 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37490 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37491 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37492 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37493 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37494 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37496 // Work around a chicken/egg problem in drawlist.cpp
37497 wxPyDrawList_SetAPIPtr();