1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxBrush swig_types[17]
2484 #define SWIGTYPE_p_wxBrushList swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedDC swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxChar swig_types[22]
2489 #define SWIGTYPE_p_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColor swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDCOverlay swig_types[36]
2503 #define SWIGTYPE_p_wxDash swig_types[37]
2504 #define SWIGTYPE_p_wxDateEvent swig_types[38]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
2508 #define SWIGTYPE_p_wxEffects swig_types[42]
2509 #define SWIGTYPE_p_wxEncodingConverter swig_types[43]
2510 #define SWIGTYPE_p_wxEraseEvent swig_types[44]
2511 #define SWIGTYPE_p_wxEvent swig_types[45]
2512 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
2513 #define SWIGTYPE_p_wxFSFile swig_types[47]
2514 #define SWIGTYPE_p_wxFileSystem swig_types[48]
2515 #define SWIGTYPE_p_wxFlexGridSizer swig_types[49]
2516 #define SWIGTYPE_p_wxFocusEvent swig_types[50]
2517 #define SWIGTYPE_p_wxFont swig_types[51]
2518 #define SWIGTYPE_p_wxFontList swig_types[52]
2519 #define SWIGTYPE_p_wxFontMapper swig_types[53]
2520 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
2521 #define SWIGTYPE_p_wxGCDC swig_types[55]
2522 #define SWIGTYPE_p_wxGDIObjListBase swig_types[56]
2523 #define SWIGTYPE_p_wxGDIObject swig_types[57]
2524 #define SWIGTYPE_p_wxGIFHandler swig_types[58]
2525 #define SWIGTYPE_p_wxGraphicsContext swig_types[59]
2526 #define SWIGTYPE_p_wxGraphicsPath swig_types[60]
2527 #define SWIGTYPE_p_wxGridBagSizer swig_types[61]
2528 #define SWIGTYPE_p_wxGridSizer swig_types[62]
2529 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[63]
2530 #define SWIGTYPE_p_wxICOHandler swig_types[64]
2531 #define SWIGTYPE_p_wxIcon swig_types[65]
2532 #define SWIGTYPE_p_wxIconBundle swig_types[66]
2533 #define SWIGTYPE_p_wxIconLocation swig_types[67]
2534 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2535 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2536 #define SWIGTYPE_p_wxImage swig_types[70]
2537 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2538 #define SWIGTYPE_p_wxImageList swig_types[72]
2539 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[73]
2540 #define SWIGTYPE_p_wxInitDialogEvent swig_types[74]
2541 #define SWIGTYPE_p_wxJPEGHandler swig_types[75]
2542 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
2543 #define SWIGTYPE_p_wxLanguageInfo swig_types[77]
2544 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
2545 #define SWIGTYPE_p_wxLocale swig_types[79]
2546 #define SWIGTYPE_p_wxMask swig_types[80]
2547 #define SWIGTYPE_p_wxMaximizeEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMemoryDC swig_types[82]
2549 #define SWIGTYPE_p_wxMenu swig_types[83]
2550 #define SWIGTYPE_p_wxMenuBar swig_types[84]
2551 #define SWIGTYPE_p_wxMenuEvent swig_types[85]
2552 #define SWIGTYPE_p_wxMenuItem swig_types[86]
2553 #define SWIGTYPE_p_wxMetaFile swig_types[87]
2554 #define SWIGTYPE_p_wxMetaFileDC swig_types[88]
2555 #define SWIGTYPE_p_wxMirrorDC swig_types[89]
2556 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[90]
2557 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMouseEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMoveEvent swig_types[93]
2560 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[94]
2561 #define SWIGTYPE_p_wxNativeFontInfo swig_types[95]
2562 #define SWIGTYPE_p_wxNativePixelData swig_types[96]
2563 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[97]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[98]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[99]
2566 #define SWIGTYPE_p_wxNotifyEvent swig_types[100]
2567 #define SWIGTYPE_p_wxObject swig_types[101]
2568 #define SWIGTYPE_p_wxOverlay swig_types[102]
2569 #define SWIGTYPE_p_wxPCXHandler swig_types[103]
2570 #define SWIGTYPE_p_wxPNGHandler swig_types[104]
2571 #define SWIGTYPE_p_wxPNMHandler swig_types[105]
2572 #define SWIGTYPE_p_wxPaintDC swig_types[106]
2573 #define SWIGTYPE_p_wxPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPalette swig_types[108]
2575 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPaperSize swig_types[110]
2577 #define SWIGTYPE_p_wxPen swig_types[111]
2578 #define SWIGTYPE_p_wxPenList swig_types[112]
2579 #define SWIGTYPE_p_wxPixelDataBase swig_types[113]
2580 #define SWIGTYPE_p_wxPoint swig_types[114]
2581 #define SWIGTYPE_p_wxPoint2D swig_types[115]
2582 #define SWIGTYPE_p_wxPostScriptDC swig_types[116]
2583 #define SWIGTYPE_p_wxPrintData swig_types[117]
2584 #define SWIGTYPE_p_wxPrinterDC swig_types[118]
2585 #define SWIGTYPE_p_wxPseudoDC swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyLocale swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyValidator swig_types[127]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxRegion swig_types[130]
2597 #define SWIGTYPE_p_wxRegionIterator swig_types[131]
2598 #define SWIGTYPE_p_wxRendererNative swig_types[132]
2599 #define SWIGTYPE_p_wxRendererVersion swig_types[133]
2600 #define SWIGTYPE_p_wxScreenDC swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSize swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStockGDI swig_types[146]
2613 #define SWIGTYPE_p_wxString swig_types[147]
2614 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2615 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2616 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[150]
2617 #define SWIGTYPE_p_wxValidator swig_types[151]
2618 #define SWIGTYPE_p_wxWindow swig_types[152]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[153]
2620 #define SWIGTYPE_p_wxWindowDC swig_types[154]
2621 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[155]
2622 #define SWIGTYPE_p_wxXPMHandler swig_types[156]
2623 static swig_type_info
*swig_types
[158];
2624 static swig_module_info swig_module
= {swig_types
, 157, 0, 0, 0, 0};
2625 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2626 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2628 /* -------- TYPES TABLE (END) -------- */
2630 #if (PY_VERSION_HEX <= 0x02000000)
2631 # if !defined(SWIG_PYTHON_CLASSIC)
2632 # error "This python version requires to use swig with the '-classic' option"
2635 #if (PY_VERSION_HEX <= 0x02020000)
2636 # error "This python version requires to use swig with the '-nomodern' option"
2638 #if (PY_VERSION_HEX <= 0x02020000)
2639 # error "This python version requires to use swig with the '-nomodernargs' option"
2642 # error "This python version requires to use swig with the '-nofastunpack' option"
2645 /*-----------------------------------------------
2646 @(target):= _gdi_.so
2647 ------------------------------------------------*/
2648 #define SWIG_init init_gdi_
2650 #define SWIG_name "_gdi_"
2652 #define SWIGVERSION 0x010329
2655 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2656 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2659 #include <stdexcept>
2663 class PyObject_ptr
{
2668 PyObject_ptr() :_obj(0)
2672 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2677 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2679 if (initial_ref
) Py_XINCREF(_obj
);
2682 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2684 Py_XINCREF(item
._obj
);
2695 operator PyObject
*() const
2700 PyObject
*operator->() const
2709 struct PyObject_var
: PyObject_ptr
{
2710 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2712 PyObject_var
& operator = (PyObject
* obj
)
2722 #include "wx/wxPython/wxPython.h"
2723 #include "wx/wxPython/pyclasses.h"
2726 static const wxString
wxPyEmptyString(wxEmptyString
);
2728 #define SWIG_From_long PyInt_FromLong
2731 SWIGINTERNINLINE PyObject
*
2732 SWIG_From_int (int value
)
2734 return SWIG_From_long (value
);
2740 # define LLONG_MIN LONG_LONG_MIN
2743 # define LLONG_MAX LONG_LONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2751 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2753 if (PyNumber_Check(obj
)) {
2754 if (val
) *val
= PyInt_AsLong(obj
);
2757 return SWIG_TypeError
;
2762 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2765 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2766 return SWIG_TypeError
;
2769 *val
= (unsigned long)v
;
2775 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2778 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2779 if (SWIG_IsOK(res
)) {
2780 if ((v
> UCHAR_MAX
)) {
2781 return SWIG_OverflowError
;
2783 if (val
) *val
= static_cast< unsigned char >(v
);
2790 SWIGINTERNINLINE PyObject
*
2791 SWIG_From_unsigned_SS_long (unsigned long value
)
2793 return (value
> LONG_MAX
) ?
2794 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2798 SWIGINTERNINLINE PyObject
*
2799 SWIG_From_unsigned_SS_char (unsigned char value
)
2801 return SWIG_From_unsigned_SS_long (value
);
2804 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2805 wxColour temp
, *obj
= &temp
;
2806 if ( other
== Py_None
) return false;
2807 if ( ! wxColour_helper(other
, &obj
) ) {
2811 return self
->operator==(*obj
);
2813 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2814 wxColour temp
, *obj
= &temp
;
2815 if ( other
== Py_None
) return true;
2816 if ( ! wxColour_helper(other
, &obj
)) {
2820 return self
->operator!=(*obj
);
2824 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2826 if (obj
== Py_True
) {
2827 if (val
) *val
= true;
2829 } else if (obj
== Py_False
) {
2830 if (val
) *val
= false;
2834 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2835 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2840 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2841 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2845 int alpha
= wxALPHA_OPAQUE
;
2848 green
= self
->Green();
2849 blue
= self
->Blue();
2850 alpha
= self
->Alpha();
2852 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2853 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2854 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2856 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2859 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2860 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2864 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2867 int res
= SWIG_AsVal_long (obj
, &v
);
2868 if (SWIG_IsOK(res
)) {
2869 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2870 return SWIG_OverflowError
;
2872 if (val
) *val
= static_cast< int >(v
);
2878 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2880 int count
= self
->GetDashes(&dashes
);
2881 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2882 PyObject
* retval
= PyList_New(0);
2883 for (int x
=0; x
<count
; x
++) {
2884 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2885 PyList_Append(retval
, pyint
);
2888 wxPyEndBlockThreads(blocked
);
2891 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2892 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2893 int size
= PyList_Size(pyDashes
);
2894 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2896 // black magic warning! The array of wxDashes needs to exist as
2897 // long as the pen does because wxPen does not copy the array. So
2898 // stick a copy in a Python string object and attach it to _self,
2899 // and then call SetDashes with a pointer to that array. Then
2900 // when the Python pen object is destroyed the array will be
2902 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2903 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2905 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2907 Py_DECREF(strDashes
);
2908 wxPyEndBlockThreads(blocked
);
2910 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2911 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2913 #include <wx/rawbmp.h>
2916 #include <wx/image.h>
2918 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2919 char** cArray
= NULL
;
2922 if (!PyList_Check(listOfStrings
)) {
2923 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2926 count
= PyList_Size(listOfStrings
);
2927 cArray
= new char*[count
];
2929 for(int x
=0; x
<count
; x
++) {
2930 // TODO: Need some validation and error checking here
2931 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2937 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2938 char** cArray
= NULL
;
2941 cArray
= ConvertListOfStrings(listOfStrings
);
2944 bmp
= new wxBitmap(cArray
);
2948 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2951 PyString_AsStringAndSize(bits
, &buf
, &length
);
2952 return new wxBitmap(buf
, width
, height
, depth
);
2954 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2955 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2956 wxSize
size(self
->GetWidth(), self
->GetHeight());
2959 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2960 wxMask
*mask
= new wxMask(*self
, colour
);
2961 self
->SetMask(mask
);
2963 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2964 self
->SetWidth(size
.x
);
2965 self
->SetHeight(size
.y
);
2967 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2968 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2970 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2971 // appears to me that the other platforms are already doing it, so I'll just
2972 // automatically do it for wxMSW here.
2974 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2975 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2977 #define wxPy_premultiply(p, a) (p)
2978 #define wxPy_unpremultiply(p, a) (p)
2982 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2983 buffer data
, int DATASIZE
,
2984 buffer alpha
, int ALPHASIZE
)
2986 if (DATASIZE
!= width
*height
*3) {
2987 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2991 if (ALPHASIZE
!= width
*height
) {
2992 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2996 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2997 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2999 // raise an exception...
3000 wxPyErr_SetString(PyExc_RuntimeError
,
3001 "Failed to gain raw access to bitmap data.");
3006 wxAlphaPixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxAlphaPixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 byte a
= *(alpha
++);
3011 p
.Red() = wxPy_premultiply(*(data
++), a
);
3012 p
.Green() = wxPy_premultiply(*(data
++), a
);
3013 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3018 p
.OffsetY(pixData
, 1);
3023 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3025 if (DATASIZE
!= width
*height
*3) {
3026 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3030 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3031 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3033 // raise an exception...
3034 wxPyErr_SetString(PyExc_RuntimeError
,
3035 "Failed to gain raw access to bitmap data.");
3039 wxNativePixelData::Iterator
p(pixData
);
3040 for (int y
=0; y
<height
; y
++) {
3041 wxNativePixelData::Iterator rowStart
= p
;
3042 for (int x
=0; x
<width
; x
++) {
3043 p
.Red() = *(data
++);
3044 p
.Green() = *(data
++);
3045 p
.Blue() = *(data
++);
3049 p
.OffsetY(pixData
, 1);
3055 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3057 if (DATASIZE
!= width
*height
*4) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3063 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3065 // raise an exception...
3066 wxPyErr_SetString(PyExc_RuntimeError
,
3067 "Failed to gain raw access to bitmap data.");
3072 wxAlphaPixelData::Iterator
p(pixData
);
3073 for (int y
=0; y
<height
; y
++) {
3074 wxAlphaPixelData::Iterator rowStart
= p
;
3075 for (int x
=0; x
<width
; x
++) {
3077 p
.Red() = wxPy_premultiply(*(data
++), a
);
3078 p
.Green() = wxPy_premultiply(*(data
++), a
);
3079 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3080 p
.Alpha() = a
; data
++;
3084 p
.OffsetY(pixData
, 1);
3090 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3092 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3093 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3094 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3096 self
->Green() = green
;
3097 self
->Blue() = blue
;
3099 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3100 PyObject
* rv
= PyTuple_New(3);
3101 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3102 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3103 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3107 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3109 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3110 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3111 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3112 self
->Red() = wxPy_premultiply(red
, alpha
);
3113 self
->Green() = wxPy_premultiply(green
, alpha
);
3114 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3115 self
->Alpha() = alpha
;
3117 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3118 PyObject
* rv
= PyTuple_New(4);
3119 int red
= self
->Red();
3120 int green
= self
->Green();
3121 int blue
= self
->Blue();
3122 int alpha
= self
->Alpha();
3124 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3125 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3126 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3127 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3130 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3131 if ( !colour
.IsOk() )
3132 return new wxMask(bitmap
, *wxBLACK
);
3134 return new wxMask(bitmap
, colour
);
3137 #include <wx/iconbndl.h>
3139 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3140 wxIcon
* icon
= new wxIcon();
3141 icon
->CopyFromBitmap(bmp
);
3144 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3145 char** cArray
= NULL
;
3148 cArray
= ConvertListOfStrings(listOfStrings
);
3151 icon
= new wxIcon(cArray
);
3155 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3156 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3158 return new wxIconLocation(*filename
, num
);
3163 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3165 self
->SetIndex(num
);
3170 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3172 return self
->GetIndex();
3177 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3179 wxImage
img(cursorName
, type
);
3180 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3181 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3182 return new wxCursor(img
);
3184 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3187 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3190 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3193 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3194 return self
->operator bool();
3197 #include <wx/fontutil.h>
3198 #include <wx/fontmap.h>
3199 #include <wx/fontenum.h>
3201 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3202 return self
->ToString();
3205 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3206 { wxPyRaiseNotImplemented(); return NULL
; }
3208 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3209 { wxPyRaiseNotImplemented(); return false; }
3212 SWIGINTERNINLINE PyObject
*
3213 SWIG_From_size_t (size_t value
)
3215 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3219 SWIGINTERNINLINE
int
3220 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3223 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3224 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3228 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3229 wxFontEncoding alt_enc
;
3230 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3231 return PyInt_FromLong(alt_enc
);
3237 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3238 wxNativeFontInfo nfi
;
3239 nfi
.FromString(info
);
3240 return new wxFont(nfi
);
3242 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3243 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3245 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3246 return wxFontBase::New(pixelSize
, family
,
3247 style
, weight
, underlined
,
3250 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3251 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3253 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3254 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3256 class wxPyFontEnumerator
: public wxFontEnumerator
{
3258 wxPyFontEnumerator() {}
3259 ~wxPyFontEnumerator() {}
3261 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3262 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3267 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3268 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3271 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3273 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3274 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3275 ret
= wxArrayString2PyList_helper(arr
);
3276 wxPyEndBlockThreads(blocked
);
3279 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3281 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3282 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3283 ret
= wxArrayString2PyList_helper(arr
);
3284 wxPyEndBlockThreads(blocked
);
3290 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3293 loc
= new wxLocale();
3295 loc
= new wxLocale(language
, flags
);
3296 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3297 // for the floating point conversions and such to work right.
3298 #if PY_VERSION_HEX < 0x02040000
3299 setlocale(LC_NUMERIC
, "C");
3303 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3304 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3305 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3306 // for the floating point conversions and such to work right.
3307 #if PY_VERSION_HEX < 0x02040000
3308 setlocale(LC_NUMERIC
, "C");
3312 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3313 bool rc
= self
->Init(language
, flags
);
3314 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3315 // for the floating point conversions and such to work right.
3316 #if PY_VERSION_HEX < 0x02040000
3317 setlocale(LC_NUMERIC
, "C");
3322 class wxPyLocale
: public wxLocale
3327 wxPyLocale(const wxChar
*szName
, // name (for messages)
3328 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3329 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3330 bool bLoadDefault
= true, // preload wxstd.mo?
3331 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3333 wxPyLocale(int language
, // wxLanguage id or custom language
3334 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3338 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3339 const wxChar
*szDomain
= NULL
) const;
3340 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3341 const wxChar
*szOrigString2
, size_t n
,
3342 const wxChar
*szDomain
= NULL
) const;
3344 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3345 const wxChar
*szDomain
= NULL
) const;
3346 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3347 const wxChar
*szOrigString2
, size_t n
,
3348 const wxChar
*szDomain
= NULL
) const;
3352 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3355 wxPyLocale::wxPyLocale() : wxLocale()
3359 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3360 const wxChar
*szShort
, // dir prefix (for msg files)
3361 const wxChar
*szLocale
, // locale (for setlocale)
3362 bool bLoadDefault
, // preload wxstd.mo?
3363 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3364 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3368 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3369 int flags
) : wxLocale(language
, flags
)
3373 wxPyLocale::~wxPyLocale()
3377 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3378 const wxChar
*szDomain
) const
3380 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3381 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3384 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3385 const wxChar
*szOrigString2
, size_t n
,
3386 const wxChar
*szDomain
) const
3388 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3389 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3392 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3393 const wxChar
*szDomain
) const
3396 static wxString str
;
3397 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.
3398 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3399 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3400 PyObject
* param1
= wx2PyString(szOrigString
);
3401 PyObject
* param2
= wx2PyString(szDomain
);
3402 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3406 str
= Py2wxString(ret
);
3410 wxPyEndBlockThreads(blocked
);
3411 return (found
? (wxChar
*)str
.c_str() : NULL
);
3414 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3415 const wxChar
*szOrigString2
, size_t n
,
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
, "GetPluralString"))) {
3423 PyObject
* param1
= wx2PyString(szOrigString
);
3424 PyObject
* param2
= wx2PyString(szOrigString2
);
3425 PyObject
* param4
= wx2PyString(szDomain
);
3426 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3431 str
= Py2wxString(ret
);
3435 wxPyEndBlockThreads(blocked
);
3436 return (found
? (wxChar
*)str
.c_str() : NULL
);
3439 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3442 loc
= new wxPyLocale();
3444 loc
= new wxPyLocale(language
, flags
);
3445 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3446 // for the floating point conversions and such to work right.
3447 #if PY_VERSION_HEX < 0x02040000
3448 setlocale(LC_NUMERIC
, "C");
3453 #include "wx/wxPython/pydrawxxx.h"
3455 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3457 self
->GetPixel(x
, y
, &col
);
3460 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3462 self
->GetPixel(pt
, &col
);
3467 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3469 if (PyNumber_Check(obj
)) {
3470 if (val
) *val
= PyFloat_AsDouble(obj
);
3473 return SWIG_TypeError
;
3476 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3478 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3481 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3483 self
->GetClippingBox(rect
);
3486 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3488 self
->GetPartialTextExtents(text
, widths
);
3492 #define SWIG_From_double PyFloat_FromDouble
3494 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3495 self
->SetLogicalOrigin(point
.x
, point
.y
);
3497 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3498 self
->SetDeviceOrigin(point
.x
, point
.y
);
3500 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3501 self
->CalcBoundingBox(point
.x
, point
.y
);
3503 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3504 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3506 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3507 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3509 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3510 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3512 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3513 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3515 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3516 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3518 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3519 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3522 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3530 #include <wx/dcbuffer.h>
3533 #include <wx/dcps.h>
3536 #include <wx/metafile.h>
3539 #include <wx/graphics.h>
3542 #if !wxUSE_GRAPHICS_CONTEXT
3543 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3545 class wxGraphicsPath
3549 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3550 PyErr_SetString(PyExc_NotImplementedError
,
3551 "wxGraphicsPath is not available on this platform.");
3552 wxPyEndBlockThreads(blocked
);
3554 virtual ~wxGraphicsPath() {}
3556 void MoveToPoint( wxDouble
, wxDouble
) {}
3557 void AddLineToPoint( wxDouble
, wxDouble
) {}
3558 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3559 void CloseSubpath() {}
3560 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3561 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3563 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3564 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3565 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3566 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3568 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3569 void MoveToPoint( const wxPoint2DDouble
& ) {}
3570 void AddLineToPoint( const wxPoint2DDouble
&) {}
3571 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3572 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3576 class wxGraphicsContext
3579 wxGraphicsContext() {
3580 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3581 PyErr_SetString(PyExc_NotImplementedError
,
3582 "wxGraphicsContext is not available on this platform.");
3583 wxPyEndBlockThreads(blocked
);
3585 virtual ~wxGraphicsContext() {}
3587 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3588 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3589 PyErr_SetString(PyExc_NotImplementedError
,
3590 "wxGraphicsPath is not available on this platform.");
3591 wxPyEndBlockThreads(blocked
);
3595 wxGraphicsPath
* CreatePath() { return NULL
; }
3598 void Clip( const wxRegion
& ) {}
3599 void Translate( wxDouble
, wxDouble
) {}
3600 void Scale( wxDouble
, wxDouble
) {}
3601 void Rotate( wxDouble
) {}
3602 void SetPen( const wxPen
& ) {}
3603 void SetBrush( const wxBrush
& ) {}
3604 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3605 const wxColour
&, const wxColour
&) {}
3606 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3607 const wxColour
&, const wxColour
&) {}
3608 void SetFont( const wxFont
& ) {}
3609 void SetTextColor( const wxColour
& ) {}
3610 void StrokePath( const wxGraphicsPath
* ) {}
3611 void FillPath( const wxGraphicsPath
*, int ) {}
3612 void DrawPath( const wxGraphicsPath
*, int ) {}
3613 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3614 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3615 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3616 wxDouble
*, wxDouble
* ) const {}
3617 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3618 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3619 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3620 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3621 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3622 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3623 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3624 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3625 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3626 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3630 class wxGCDC
: public wxWindowDC
3633 wxGCDC(const wxWindowDC
&) {
3634 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3635 PyErr_SetString(PyExc_NotImplementedError
,
3636 "wxGCDC is not available on this platform.");
3637 wxPyEndBlockThreads(blocked
);
3641 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3642 PyErr_SetString(PyExc_NotImplementedError
,
3643 "wxGCDC is not available on this platform.");
3644 wxPyEndBlockThreads(blocked
);
3647 virtual ~wxGCDC() {}
3649 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3654 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3655 wxArrayDouble widths
;
3656 self
->GetPartialTextExtents(text
, widths
);
3659 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3660 size_t c1
, c2
, count
;
3661 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3662 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3664 if ( beginP
!= NULL
&& endP
!= NULL
)
3666 count
= wxMin(c1
, c2
);
3667 self
->StrokeLines(count
, beginP
, endP
);
3674 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3675 self
->AddColour(name
, wxColour(red
, green
, blue
));
3678 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3679 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3680 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3681 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3684 #include <wx/effects.h>
3687 #include "wx/renderer.h"
3690 SWIGINTERNINLINE PyObject
*
3691 SWIG_From_bool (bool value
)
3693 return PyBool_FromLong(value
? 1 : 0);
3697 #include "wx/wxPython/pseudodc.h"
3699 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3701 self
->GetIdBounds(id
, rect
);
3707 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3708 PyObject
*resultobj
= 0;
3709 wxGDIObject
*result
= 0 ;
3711 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3713 if (!wxPyCheckForApp()) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 result
= (wxGDIObject
*)new wxGDIObject();
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3726 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3727 PyObject
*resultobj
= 0;
3728 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3731 PyObject
*swig_obj
[1] ;
3733 if (!args
) SWIG_fail
;
3735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3736 if (!SWIG_IsOK(res1
)) {
3737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3739 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= SWIG_Py_Void();
3754 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3755 PyObject
*resultobj
= 0;
3756 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3760 PyObject
*swig_obj
[1] ;
3762 if (!args
) SWIG_fail
;
3764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3765 if (!SWIG_IsOK(res1
)) {
3766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3768 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 result
= (bool)(arg1
)->IsNull();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3784 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3787 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3788 return SWIG_Py_Void();
3791 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3792 return SWIG_Python_InitShadowInstance(args
);
3795 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
= 0;
3797 byte arg1
= (byte
) 0 ;
3798 byte arg2
= (byte
) 0 ;
3799 byte arg3
= (byte
) 0 ;
3800 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3801 wxColour
*result
= 0 ;
3802 unsigned char val1
;
3804 unsigned char val2
;
3806 unsigned char val3
;
3808 unsigned char val4
;
3810 PyObject
* obj0
= 0 ;
3811 PyObject
* obj1
= 0 ;
3812 PyObject
* obj2
= 0 ;
3813 PyObject
* obj3
= 0 ;
3814 char * kwnames
[] = {
3815 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3820 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3821 if (!SWIG_IsOK(ecode1
)) {
3822 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3824 arg1
= static_cast< byte
>(val1
);
3827 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3828 if (!SWIG_IsOK(ecode2
)) {
3829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3831 arg2
= static_cast< byte
>(val2
);
3834 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3835 if (!SWIG_IsOK(ecode3
)) {
3836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3838 arg3
= static_cast< byte
>(val3
);
3841 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3842 if (!SWIG_IsOK(ecode4
)) {
3843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3845 arg4
= static_cast< byte
>(val4
);
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3860 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
= 0;
3862 wxString
*arg1
= 0 ;
3863 wxColour
*result
= 0 ;
3864 bool temp1
= false ;
3865 PyObject
* obj0
= 0 ;
3866 char * kwnames
[] = {
3867 (char *) "colorName", NULL
3870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3872 arg1
= wxString_in_helper(obj0
);
3873 if (arg1
== NULL
) SWIG_fail
;
3877 if (!wxPyCheckForApp()) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3898 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
= 0;
3900 unsigned long arg1
;
3901 wxColour
*result
= 0 ;
3902 unsigned long val1
;
3904 PyObject
* obj0
= 0 ;
3905 char * kwnames
[] = {
3906 (char *) "colRGB", NULL
3909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3910 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3911 if (!SWIG_IsOK(ecode1
)) {
3912 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3914 arg1
= static_cast< unsigned long >(val1
);
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (wxColour
*)new wxColour(arg1
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3928 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3929 PyObject
*resultobj
= 0;
3930 wxColour
*arg1
= (wxColour
*) 0 ;
3933 PyObject
*swig_obj
[1] ;
3935 if (!args
) SWIG_fail
;
3937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3938 if (!SWIG_IsOK(res1
)) {
3939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3941 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= SWIG_Py_Void();
3956 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3957 PyObject
*resultobj
= 0;
3958 wxColour
*arg1
= (wxColour
*) 0 ;
3962 PyObject
*swig_obj
[1] ;
3964 if (!args
) SWIG_fail
;
3966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3967 if (!SWIG_IsOK(res1
)) {
3968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3970 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 result
= (byte
)(arg1
)->Red();
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3984 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3985 PyObject
*resultobj
= 0;
3986 wxColour
*arg1
= (wxColour
*) 0 ;
3990 PyObject
*swig_obj
[1] ;
3992 if (!args
) SWIG_fail
;
3994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3995 if (!SWIG_IsOK(res1
)) {
3996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3998 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 result
= (byte
)(arg1
)->Green();
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4012 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4013 PyObject
*resultobj
= 0;
4014 wxColour
*arg1
= (wxColour
*) 0 ;
4018 PyObject
*swig_obj
[1] ;
4020 if (!args
) SWIG_fail
;
4022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4023 if (!SWIG_IsOK(res1
)) {
4024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4026 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (byte
)(arg1
)->Blue();
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4040 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 PyObject
*resultobj
= 0;
4042 wxColour
*arg1
= (wxColour
*) 0 ;
4046 PyObject
*swig_obj
[1] ;
4048 if (!args
) SWIG_fail
;
4050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4051 if (!SWIG_IsOK(res1
)) {
4052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4054 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (byte
)(arg1
)->Alpha();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4068 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4069 PyObject
*resultobj
= 0;
4070 wxColour
*arg1
= (wxColour
*) 0 ;
4074 PyObject
*swig_obj
[1] ;
4076 if (!args
) SWIG_fail
;
4078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4079 if (!SWIG_IsOK(res1
)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4082 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (bool)(arg1
)->IsOk();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4098 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
= 0;
4100 wxColour
*arg1
= (wxColour
*) 0 ;
4104 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4107 unsigned char val2
;
4109 unsigned char val3
;
4111 unsigned char val4
;
4113 unsigned char val5
;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4117 PyObject
* obj2
= 0 ;
4118 PyObject
* obj3
= 0 ;
4119 PyObject
* obj4
= 0 ;
4120 char * kwnames
[] = {
4121 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4126 if (!SWIG_IsOK(res1
)) {
4127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4129 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4130 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4131 if (!SWIG_IsOK(ecode2
)) {
4132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4134 arg2
= static_cast< byte
>(val2
);
4135 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4136 if (!SWIG_IsOK(ecode3
)) {
4137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4139 arg3
= static_cast< byte
>(val3
);
4140 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4141 if (!SWIG_IsOK(ecode4
)) {
4142 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4144 arg4
= static_cast< byte
>(val4
);
4146 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4147 if (!SWIG_IsOK(ecode5
)) {
4148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4150 arg5
= static_cast< byte
>(val5
);
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= SWIG_Py_Void();
4165 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
= 0;
4167 wxColour
*arg1
= (wxColour
*) 0 ;
4168 unsigned long arg2
;
4171 unsigned long val2
;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4175 char * kwnames
[] = {
4176 (char *) "self",(char *) "colRGB", NULL
4179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4181 if (!SWIG_IsOK(res1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4184 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4185 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4186 if (!SWIG_IsOK(ecode2
)) {
4187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4189 arg2
= static_cast< unsigned long >(val2
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_Py_Void();
4203 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
= 0;
4205 wxColour
*arg1
= (wxColour
*) 0 ;
4206 wxString
*arg2
= 0 ;
4209 bool temp2
= false ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4212 char * kwnames
[] = {
4213 (char *) "self",(char *) "colourName", NULL
4216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4218 if (!SWIG_IsOK(res1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4221 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4223 arg2
= wxString_in_helper(obj1
);
4224 if (arg2
== NULL
) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->Set((wxString
const &)*arg2
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_Py_Void();
4248 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
= 0;
4250 wxColour
*arg1
= (wxColour
*) 0 ;
4251 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4257 PyObject
* obj0
= 0 ;
4258 PyObject
* obj1
= 0 ;
4259 char * kwnames
[] = {
4260 (char *) "self",(char *) "flags", NULL
4263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4265 if (!SWIG_IsOK(res1
)) {
4266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4268 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4270 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4271 if (!SWIG_IsOK(ecode2
)) {
4272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4274 arg2
= static_cast< long >(val2
);
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4295 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4296 PyObject
*resultobj
= 0;
4297 wxColour
*arg1
= (wxColour
*) 0 ;
4301 PyObject
*swig_obj
[1] ;
4303 if (!args
) SWIG_fail
;
4305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4306 if (!SWIG_IsOK(res1
)) {
4307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4309 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= SWIG_From_long(static_cast< long >(result
));
4323 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
*resultobj
= 0;
4325 wxColour
*arg1
= (wxColour
*) 0 ;
4326 PyObject
*arg2
= (PyObject
*) 0 ;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4332 char * kwnames
[] = {
4333 (char *) "self",(char *) "other", NULL
4336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4338 if (!SWIG_IsOK(res1
)) {
4339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4341 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4344 result
= (bool)wxColour___eq__(arg1
,arg2
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4356 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
= 0;
4358 wxColour
*arg1
= (wxColour
*) 0 ;
4359 PyObject
*arg2
= (PyObject
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4365 char * kwnames
[] = {
4366 (char *) "self",(char *) "other", NULL
4369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4371 if (!SWIG_IsOK(res1
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4374 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4377 result
= (bool)wxColour___ne__(arg1
,arg2
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4389 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
= 0;
4391 wxColour
*arg1
= (wxColour
*) 0 ;
4392 bool arg2
= (bool) false ;
4393 PyObject
*result
= 0 ;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "includeAlpha", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4409 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4411 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4412 if (!SWIG_IsOK(ecode2
)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4415 arg2
= static_cast< bool >(val2
);
4418 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4428 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4429 PyObject
*resultobj
= 0;
4430 wxColour
*arg1
= (wxColour
*) 0 ;
4431 unsigned long result
;
4434 PyObject
*swig_obj
[1] ;
4436 if (!args
) SWIG_fail
;
4438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4439 if (!SWIG_IsOK(res1
)) {
4440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4442 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4444 result
= (unsigned long)wxColour_GetRGB(arg1
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4454 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4457 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4458 return SWIG_Py_Void();
4461 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 return SWIG_Python_InitShadowInstance(args
);
4465 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
= 0;
4468 unsigned char *arg2
= (unsigned char *) 0 ;
4469 unsigned char *arg3
= (unsigned char *) 0 ;
4470 unsigned char *arg4
= (unsigned char *) 0 ;
4471 wxPalette
*result
= 0 ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4482 PyObject
* obj2
= 0 ;
4483 PyObject
* obj3
= 0 ;
4484 char * kwnames
[] = {
4485 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4489 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4490 if (!SWIG_IsOK(ecode1
)) {
4491 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4493 arg1
= static_cast< int >(val1
);
4494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4495 if (!SWIG_IsOK(res2
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4498 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4499 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4500 if (!SWIG_IsOK(res3
)) {
4501 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4503 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4504 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4505 if (!SWIG_IsOK(res4
)) {
4506 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4508 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4510 if (!wxPyCheckForApp()) SWIG_fail
;
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4523 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4524 PyObject
*resultobj
= 0;
4525 wxPalette
*arg1
= (wxPalette
*) 0 ;
4528 PyObject
*swig_obj
[1] ;
4530 if (!args
) SWIG_fail
;
4532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4533 if (!SWIG_IsOK(res1
)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4536 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= SWIG_Py_Void();
4551 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
= 0;
4553 wxPalette
*arg1
= (wxPalette
*) 0 ;
4560 unsigned char val2
;
4562 unsigned char val3
;
4564 unsigned char val4
;
4566 PyObject
* obj0
= 0 ;
4567 PyObject
* obj1
= 0 ;
4568 PyObject
* obj2
= 0 ;
4569 PyObject
* obj3
= 0 ;
4570 char * kwnames
[] = {
4571 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4576 if (!SWIG_IsOK(res1
)) {
4577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4579 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4580 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4581 if (!SWIG_IsOK(ecode2
)) {
4582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4584 arg2
= static_cast< byte
>(val2
);
4585 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4586 if (!SWIG_IsOK(ecode3
)) {
4587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4589 arg3
= static_cast< byte
>(val3
);
4590 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4591 if (!SWIG_IsOK(ecode4
)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4594 arg4
= static_cast< byte
>(val4
);
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 resultobj
= SWIG_From_int(static_cast< int >(result
));
4608 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
= 0;
4610 wxPalette
*arg1
= (wxPalette
*) 0 ;
4612 byte
*arg3
= (byte
*) 0 ;
4613 byte
*arg4
= (byte
*) 0 ;
4614 byte
*arg5
= (byte
*) 0 ;
4621 int res3
= SWIG_TMPOBJ
;
4623 int res4
= SWIG_TMPOBJ
;
4625 int res5
= SWIG_TMPOBJ
;
4626 PyObject
* obj0
= 0 ;
4627 PyObject
* obj1
= 0 ;
4628 char * kwnames
[] = {
4629 (char *) "self",(char *) "pixel", NULL
4635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4637 if (!SWIG_IsOK(res1
)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4640 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4642 if (!SWIG_IsOK(ecode2
)) {
4643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4645 arg2
= static_cast< int >(val2
);
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4655 if (SWIG_IsTmpObj(res3
)) {
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4658 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4661 if (SWIG_IsTmpObj(res4
)) {
4662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4664 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4667 if (SWIG_IsTmpObj(res5
)) {
4668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4670 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4679 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4680 PyObject
*resultobj
= 0;
4681 wxPalette
*arg1
= (wxPalette
*) 0 ;
4685 PyObject
*swig_obj
[1] ;
4687 if (!args
) SWIG_fail
;
4689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4690 if (!SWIG_IsOK(res1
)) {
4691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4693 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_From_int(static_cast< int >(result
));
4707 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4708 PyObject
*resultobj
= 0;
4709 wxPalette
*arg1
= (wxPalette
*) 0 ;
4713 PyObject
*swig_obj
[1] ;
4715 if (!args
) SWIG_fail
;
4717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4718 if (!SWIG_IsOK(res1
)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4721 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (bool)(arg1
)->IsOk();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4737 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4740 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4741 return SWIG_Py_Void();
4744 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4745 return SWIG_Python_InitShadowInstance(args
);
4748 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
= 0;
4750 wxColour
*arg1
= 0 ;
4751 int arg2
= (int) 1 ;
4752 int arg3
= (int) wxSOLID
;
4759 PyObject
* obj0
= 0 ;
4760 PyObject
* obj1
= 0 ;
4761 PyObject
* obj2
= 0 ;
4762 char * kwnames
[] = {
4763 (char *) "colour",(char *) "width",(char *) "style", NULL
4766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4769 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4773 if (!SWIG_IsOK(ecode2
)) {
4774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4776 arg2
= static_cast< int >(val2
);
4779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4780 if (!SWIG_IsOK(ecode3
)) {
4781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4783 arg3
= static_cast< int >(val3
);
4786 if (!wxPyCheckForApp()) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4799 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4800 PyObject
*resultobj
= 0;
4801 wxPen
*arg1
= (wxPen
*) 0 ;
4804 PyObject
*swig_obj
[1] ;
4806 if (!args
) SWIG_fail
;
4808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4809 if (!SWIG_IsOK(res1
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4812 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_Py_Void();
4827 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4828 PyObject
*resultobj
= 0;
4829 wxPen
*arg1
= (wxPen
*) 0 ;
4833 PyObject
*swig_obj
[1] ;
4835 if (!args
) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4841 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (int)(arg1
)->GetCap();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_From_int(static_cast< int >(result
));
4855 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4856 PyObject
*resultobj
= 0;
4857 wxPen
*arg1
= (wxPen
*) 0 ;
4861 PyObject
*swig_obj
[1] ;
4863 if (!args
) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4869 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (arg1
)->GetColour();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4883 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4884 PyObject
*resultobj
= 0;
4885 wxPen
*arg1
= (wxPen
*) 0 ;
4889 PyObject
*swig_obj
[1] ;
4891 if (!args
) SWIG_fail
;
4893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4894 if (!SWIG_IsOK(res1
)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4897 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= (int)(arg1
)->GetJoin();
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_From_int(static_cast< int >(result
));
4911 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4912 PyObject
*resultobj
= 0;
4913 wxPen
*arg1
= (wxPen
*) 0 ;
4917 PyObject
*swig_obj
[1] ;
4919 if (!args
) SWIG_fail
;
4921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4922 if (!SWIG_IsOK(res1
)) {
4923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4925 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (int)(arg1
)->GetStyle();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_From_int(static_cast< int >(result
));
4939 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4940 PyObject
*resultobj
= 0;
4941 wxPen
*arg1
= (wxPen
*) 0 ;
4945 PyObject
*swig_obj
[1] ;
4947 if (!args
) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4953 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 result
= (int)(arg1
)->GetWidth();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= SWIG_From_int(static_cast< int >(result
));
4967 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4968 PyObject
*resultobj
= 0;
4969 wxPen
*arg1
= (wxPen
*) 0 ;
4973 PyObject
*swig_obj
[1] ;
4975 if (!args
) SWIG_fail
;
4977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4978 if (!SWIG_IsOK(res1
)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
4981 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (bool)(arg1
)->IsOk();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4997 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
= 0;
4999 wxPen
*arg1
= (wxPen
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5007 char * kwnames
[] = {
5008 (char *) "self",(char *) "cap_style", NULL
5011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5013 if (!SWIG_IsOK(res1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5016 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5018 if (!SWIG_IsOK(ecode2
)) {
5019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5021 arg2
= static_cast< int >(val2
);
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 (arg1
)->SetCap(arg2
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= SWIG_Py_Void();
5035 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
= 0;
5037 wxPen
*arg1
= (wxPen
*) 0 ;
5038 wxColour
*arg2
= 0 ;
5042 PyObject
* obj0
= 0 ;
5043 PyObject
* obj1
= 0 ;
5044 char * kwnames
[] = {
5045 (char *) "self",(char *) "colour", NULL
5048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5050 if (!SWIG_IsOK(res1
)) {
5051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5053 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5056 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 (arg1
)->SetColour(*arg2
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= SWIG_Py_Void();
5071 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
= 0;
5073 wxPen
*arg1
= (wxPen
*) 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 char * kwnames
[] = {
5082 (char *) "self",(char *) "join_style", NULL
5085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5087 if (!SWIG_IsOK(res1
)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5090 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5092 if (!SWIG_IsOK(ecode2
)) {
5093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5095 arg2
= static_cast< int >(val2
);
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 (arg1
)->SetJoin(arg2
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_Py_Void();
5109 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
= 0;
5111 wxPen
*arg1
= (wxPen
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 char * kwnames
[] = {
5120 (char *) "self",(char *) "style", NULL
5123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5125 if (!SWIG_IsOK(res1
)) {
5126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5128 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5130 if (!SWIG_IsOK(ecode2
)) {
5131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5133 arg2
= static_cast< int >(val2
);
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 (arg1
)->SetStyle(arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_Py_Void();
5147 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
= 0;
5149 wxPen
*arg1
= (wxPen
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5157 char * kwnames
[] = {
5158 (char *) "self",(char *) "width", NULL
5161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5163 if (!SWIG_IsOK(res1
)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5166 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5168 if (!SWIG_IsOK(ecode2
)) {
5169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5171 arg2
= static_cast< int >(val2
);
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 (arg1
)->SetWidth(arg2
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_Py_Void();
5185 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= 0;
5187 wxPen
*arg1
= (wxPen
*) 0 ;
5189 wxDash
*arg3
= (wxDash
*) 0 ;
5192 PyObject
* obj0
= 0 ;
5193 PyObject
* obj1
= 0 ;
5194 char * kwnames
[] = {
5195 (char *) "self",(char *) "dashes", NULL
5198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5200 if (!SWIG_IsOK(res1
)) {
5201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5203 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5205 arg2
= PyList_Size(obj1
);
5206 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5207 if (arg3
== NULL
) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 (arg1
)->SetDashes(arg2
,arg3
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= SWIG_Py_Void();
5217 if (arg3
) delete [] arg3
;
5222 if (arg3
) delete [] arg3
;
5228 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5229 PyObject
*resultobj
= 0;
5230 wxPen
*arg1
= (wxPen
*) 0 ;
5231 PyObject
*result
= 0 ;
5234 PyObject
*swig_obj
[1] ;
5236 if (!args
) SWIG_fail
;
5238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5239 if (!SWIG_IsOK(res1
)) {
5240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5242 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5256 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
= 0;
5258 wxPen
*arg1
= (wxPen
*) 0 ;
5259 PyObject
*arg2
= (PyObject
*) 0 ;
5260 PyObject
*arg3
= (PyObject
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5264 PyObject
* obj1
= 0 ;
5265 PyObject
* obj2
= 0 ;
5266 char * kwnames
[] = {
5267 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5272 if (!SWIG_IsOK(res1
)) {
5273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5275 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 wxPen__SetDashes(arg1
,arg2
,arg3
);
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 resultobj
= SWIG_Py_Void();
5291 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5292 PyObject
*resultobj
= 0;
5293 wxPen
*arg1
= (wxPen
*) 0 ;
5297 PyObject
*swig_obj
[1] ;
5299 if (!args
) SWIG_fail
;
5301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5302 if (!SWIG_IsOK(res1
)) {
5303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5305 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 resultobj
= SWIG_From_int(static_cast< int >(result
));
5319 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5320 PyObject
*resultobj
= 0;
5321 wxPen
*arg1
= (wxPen
*) 0 ;
5322 wxBitmap
*result
= 0 ;
5325 PyObject
*swig_obj
[1] ;
5327 if (!args
) SWIG_fail
;
5329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5330 if (!SWIG_IsOK(res1
)) {
5331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5333 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (wxBitmap
*)(arg1
)->GetStipple();
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5347 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
= 0;
5349 wxPen
*arg1
= (wxPen
*) 0 ;
5350 wxBitmap
*arg2
= 0 ;
5355 PyObject
* obj0
= 0 ;
5356 PyObject
* obj1
= 0 ;
5357 char * kwnames
[] = {
5358 (char *) "self",(char *) "stipple", NULL
5361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5363 if (!SWIG_IsOK(res1
)) {
5364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5366 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5368 if (!SWIG_IsOK(res2
)) {
5369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5374 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 (arg1
)->SetStipple(*arg2
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= SWIG_Py_Void();
5388 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
= 0;
5390 wxPen
*arg1
= (wxPen
*) 0 ;
5391 wxPen
*arg2
= (wxPen
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5398 PyObject
* obj1
= 0 ;
5399 char * kwnames
[] = {
5400 (char *) "self",(char *) "other", NULL
5403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5405 if (!SWIG_IsOK(res1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5408 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5410 if (!SWIG_IsOK(res2
)) {
5411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5413 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5429 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
= 0;
5431 wxPen
*arg1
= (wxPen
*) 0 ;
5432 wxPen
*arg2
= (wxPen
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5440 char * kwnames
[] = {
5441 (char *) "self",(char *) "other", NULL
5444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5446 if (!SWIG_IsOK(res1
)) {
5447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5449 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5451 if (!SWIG_IsOK(res2
)) {
5452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5454 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5470 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5474 return SWIG_Py_Void();
5477 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5478 return SWIG_Python_InitShadowInstance(args
);
5481 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
= 0;
5483 wxColour
*arg1
= 0 ;
5484 int arg2
= (int) wxSOLID
;
5485 wxBrush
*result
= 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5491 char * kwnames
[] = {
5492 (char *) "colour",(char *) "style", NULL
5495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5498 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5502 if (!SWIG_IsOK(ecode2
)) {
5503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5505 arg2
= static_cast< int >(val2
);
5508 if (!wxPyCheckForApp()) SWIG_fail
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5521 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
= 0;
5523 wxBitmap
*arg1
= 0 ;
5524 wxBrush
*result
= 0 ;
5527 PyObject
* obj0
= 0 ;
5528 char * kwnames
[] = {
5529 (char *) "stippleBitmap", NULL
5532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5533 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5534 if (!SWIG_IsOK(res1
)) {
5535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5540 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5542 if (!wxPyCheckForApp()) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5555 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5556 PyObject
*resultobj
= 0;
5557 wxBrush
*arg1
= (wxBrush
*) 0 ;
5560 PyObject
*swig_obj
[1] ;
5562 if (!args
) SWIG_fail
;
5564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5565 if (!SWIG_IsOK(res1
)) {
5566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5568 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_Py_Void();
5583 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
= 0;
5585 wxBrush
*arg1
= (wxBrush
*) 0 ;
5586 wxColour
*arg2
= 0 ;
5590 PyObject
* obj0
= 0 ;
5591 PyObject
* obj1
= 0 ;
5592 char * kwnames
[] = {
5593 (char *) "self",(char *) "col", NULL
5596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5598 if (!SWIG_IsOK(res1
)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5601 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5604 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 (arg1
)->SetColour((wxColour
const &)*arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_Py_Void();
5619 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
= 0;
5621 wxBrush
*arg1
= (wxBrush
*) 0 ;
5627 PyObject
* obj0
= 0 ;
5628 PyObject
* obj1
= 0 ;
5629 char * kwnames
[] = {
5630 (char *) "self",(char *) "style", NULL
5633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5635 if (!SWIG_IsOK(res1
)) {
5636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5638 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5640 if (!SWIG_IsOK(ecode2
)) {
5641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5643 arg2
= static_cast< int >(val2
);
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 (arg1
)->SetStyle(arg2
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= SWIG_Py_Void();
5657 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
= 0;
5659 wxBrush
*arg1
= (wxBrush
*) 0 ;
5660 wxBitmap
*arg2
= 0 ;
5665 PyObject
* obj0
= 0 ;
5666 PyObject
* obj1
= 0 ;
5667 char * kwnames
[] = {
5668 (char *) "self",(char *) "stipple", NULL
5671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5673 if (!SWIG_IsOK(res1
)) {
5674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5676 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5678 if (!SWIG_IsOK(res2
)) {
5679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5684 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= SWIG_Py_Void();
5698 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5699 PyObject
*resultobj
= 0;
5700 wxBrush
*arg1
= (wxBrush
*) 0 ;
5704 PyObject
*swig_obj
[1] ;
5706 if (!args
) SWIG_fail
;
5708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5709 if (!SWIG_IsOK(res1
)) {
5710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5712 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 result
= ((wxBrush
const *)arg1
)->GetColour();
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5726 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5727 PyObject
*resultobj
= 0;
5728 wxBrush
*arg1
= (wxBrush
*) 0 ;
5732 PyObject
*swig_obj
[1] ;
5734 if (!args
) SWIG_fail
;
5736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5737 if (!SWIG_IsOK(res1
)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5740 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5747 resultobj
= SWIG_From_int(static_cast< int >(result
));
5754 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5755 PyObject
*resultobj
= 0;
5756 wxBrush
*arg1
= (wxBrush
*) 0 ;
5757 wxBitmap
*result
= 0 ;
5760 PyObject
*swig_obj
[1] ;
5762 if (!args
) SWIG_fail
;
5764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5765 if (!SWIG_IsOK(res1
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5768 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5782 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5783 PyObject
*resultobj
= 0;
5784 wxBrush
*arg1
= (wxBrush
*) 0 ;
5788 PyObject
*swig_obj
[1] ;
5790 if (!args
) SWIG_fail
;
5792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5793 if (!SWIG_IsOK(res1
)) {
5794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5796 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5812 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5813 PyObject
*resultobj
= 0;
5814 wxBrush
*arg1
= (wxBrush
*) 0 ;
5818 PyObject
*swig_obj
[1] ;
5820 if (!args
) SWIG_fail
;
5822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5823 if (!SWIG_IsOK(res1
)) {
5824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5826 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (bool)(arg1
)->IsOk();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5842 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5845 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5846 return SWIG_Py_Void();
5849 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5850 return SWIG_Python_InitShadowInstance(args
);
5853 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
= 0;
5855 wxString
*arg1
= 0 ;
5856 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5857 wxBitmap
*result
= 0 ;
5858 bool temp1
= false ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5863 char * kwnames
[] = {
5864 (char *) "name",(char *) "type", NULL
5867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 arg1
= wxString_in_helper(obj0
);
5870 if (arg1
== NULL
) SWIG_fail
;
5874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5875 if (!SWIG_IsOK(ecode2
)) {
5876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5878 arg2
= static_cast< wxBitmapType
>(val2
);
5881 if (!wxPyCheckForApp()) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5902 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5903 PyObject
*resultobj
= 0;
5904 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5907 PyObject
*swig_obj
[1] ;
5909 if (!args
) SWIG_fail
;
5911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5912 if (!SWIG_IsOK(res1
)) {
5913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5915 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_Py_Void();
5928 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
= 0;
5932 int arg3
= (int) -1 ;
5933 wxBitmap
*result
= 0 ;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5942 PyObject
* obj2
= 0 ;
5943 char * kwnames
[] = {
5944 (char *) "width",(char *) "height",(char *) "depth", NULL
5947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5948 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5949 if (!SWIG_IsOK(ecode1
)) {
5950 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5952 arg1
= static_cast< int >(val1
);
5953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5954 if (!SWIG_IsOK(ecode2
)) {
5955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5957 arg2
= static_cast< int >(val2
);
5959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5960 if (!SWIG_IsOK(ecode3
)) {
5961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5963 arg3
= static_cast< int >(val3
);
5966 if (!wxPyCheckForApp()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5979 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
*resultobj
= 0;
5982 wxBitmap
*result
= 0 ;
5985 PyObject
* obj0
= 0 ;
5986 char * kwnames
[] = {
5987 (char *) "icon", NULL
5990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5991 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5992 if (!SWIG_IsOK(res1
)) {
5993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5998 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6000 if (!wxPyCheckForApp()) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6013 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
= 0;
6016 int arg2
= (int) -1 ;
6017 wxBitmap
*result
= 0 ;
6022 PyObject
* obj0
= 0 ;
6023 PyObject
* obj1
= 0 ;
6024 char * kwnames
[] = {
6025 (char *) "image",(char *) "depth", NULL
6028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6036 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6039 if (!SWIG_IsOK(ecode2
)) {
6040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6042 arg2
= static_cast< int >(val2
);
6045 if (!wxPyCheckForApp()) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6058 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
= 0;
6060 PyObject
*arg1
= (PyObject
*) 0 ;
6061 wxBitmap
*result
= 0 ;
6062 PyObject
* obj0
= 0 ;
6063 char * kwnames
[] = {
6064 (char *) "listOfStrings", NULL
6067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6070 if (!wxPyCheckForApp()) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6083 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
= 0;
6085 PyObject
*arg1
= (PyObject
*) 0 ;
6088 int arg4
= (int) 1 ;
6089 wxBitmap
*result
= 0 ;
6096 PyObject
* obj0
= 0 ;
6097 PyObject
* obj1
= 0 ;
6098 PyObject
* obj2
= 0 ;
6099 PyObject
* obj3
= 0 ;
6100 char * kwnames
[] = {
6101 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6107 if (!SWIG_IsOK(ecode2
)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6110 arg2
= static_cast< int >(val2
);
6111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6112 if (!SWIG_IsOK(ecode3
)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6115 arg3
= static_cast< int >(val3
);
6117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6118 if (!SWIG_IsOK(ecode4
)) {
6119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6121 arg4
= static_cast< int >(val4
);
6124 if (!wxPyCheckForApp()) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6137 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6138 PyObject
*resultobj
= 0;
6139 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6143 PyObject
*swig_obj
[1] ;
6145 if (!args
) SWIG_fail
;
6147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6148 if (!SWIG_IsOK(res1
)) {
6149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6151 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6153 result
= (long)(arg1
)->GetHandle();
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= SWIG_From_long(static_cast< long >(result
));
6163 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
= 0;
6165 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6171 PyObject
* obj0
= 0 ;
6172 PyObject
* obj1
= 0 ;
6173 char * kwnames
[] = {
6174 (char *) "self",(char *) "handle", NULL
6177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6179 if (!SWIG_IsOK(res1
)) {
6180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6182 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6183 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6184 if (!SWIG_IsOK(ecode2
)) {
6185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6187 arg2
= static_cast< long >(val2
);
6189 wxBitmap_SetHandle(arg1
,arg2
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= SWIG_Py_Void();
6199 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6200 PyObject
*resultobj
= 0;
6201 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6205 PyObject
*swig_obj
[1] ;
6207 if (!args
) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6213 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6215 result
= (bool)(arg1
)->IsOk();
6216 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6227 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6228 PyObject
*resultobj
= 0;
6229 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6233 PyObject
*swig_obj
[1] ;
6235 if (!args
) SWIG_fail
;
6237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6238 if (!SWIG_IsOK(res1
)) {
6239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6241 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6243 result
= (int)(arg1
)->GetWidth();
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= SWIG_From_int(static_cast< int >(result
));
6253 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6254 PyObject
*resultobj
= 0;
6255 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6259 PyObject
*swig_obj
[1] ;
6261 if (!args
) SWIG_fail
;
6263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6264 if (!SWIG_IsOK(res1
)) {
6265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6267 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6269 result
= (int)(arg1
)->GetHeight();
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= SWIG_From_int(static_cast< int >(result
));
6279 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6280 PyObject
*resultobj
= 0;
6281 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6285 PyObject
*swig_obj
[1] ;
6287 if (!args
) SWIG_fail
;
6289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6290 if (!SWIG_IsOK(res1
)) {
6291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6293 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6295 result
= (int)(arg1
)->GetDepth();
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_From_int(static_cast< int >(result
));
6305 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6306 PyObject
*resultobj
= 0;
6307 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6311 PyObject
*swig_obj
[1] ;
6313 if (!args
) SWIG_fail
;
6315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6316 if (!SWIG_IsOK(res1
)) {
6317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6319 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6321 result
= wxBitmap_GetSize(arg1
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6331 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6332 PyObject
*resultobj
= 0;
6333 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6334 SwigValueWrapper
<wxImage
> result
;
6337 PyObject
*swig_obj
[1] ;
6339 if (!args
) SWIG_fail
;
6341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6342 if (!SWIG_IsOK(res1
)) {
6343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6345 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6347 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6357 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6358 PyObject
*resultobj
= 0;
6359 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6360 wxMask
*result
= 0 ;
6363 PyObject
*swig_obj
[1] ;
6365 if (!args
) SWIG_fail
;
6367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6368 if (!SWIG_IsOK(res1
)) {
6369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6371 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6373 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6383 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
= 0;
6385 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6386 wxMask
*arg2
= (wxMask
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "self",(char *) "mask", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6398 if (!SWIG_IsOK(res1
)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6401 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6402 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6403 if (!SWIG_IsOK(res2
)) {
6404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6407 (arg1
)->SetMask(arg2
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= SWIG_Py_Void();
6417 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
= 0;
6419 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6420 wxColour
*arg2
= 0 ;
6424 PyObject
* obj0
= 0 ;
6425 PyObject
* obj1
= 0 ;
6426 char * kwnames
[] = {
6427 (char *) "self",(char *) "colour", NULL
6430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6432 if (!SWIG_IsOK(res1
)) {
6433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6435 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6441 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= SWIG_Py_Void();
6451 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
= 0;
6453 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6455 SwigValueWrapper
<wxBitmap
> result
;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6461 char * kwnames
[] = {
6462 (char *) "self",(char *) "rect", NULL
6465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6470 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6473 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6476 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6486 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
= 0;
6488 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6489 wxString
*arg2
= 0 ;
6491 wxPalette
*arg4
= (wxPalette
*) NULL
;
6495 bool temp2
= false ;
6500 PyObject
* obj0
= 0 ;
6501 PyObject
* obj1
= 0 ;
6502 PyObject
* obj2
= 0 ;
6503 PyObject
* obj3
= 0 ;
6504 char * kwnames
[] = {
6505 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6513 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6515 arg2
= wxString_in_helper(obj1
);
6516 if (arg2
== NULL
) SWIG_fail
;
6519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6520 if (!SWIG_IsOK(ecode3
)) {
6521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6523 arg3
= static_cast< wxBitmapType
>(val3
);
6525 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6526 if (!SWIG_IsOK(res4
)) {
6527 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6529 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6532 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6552 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
= 0;
6554 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6555 wxString
*arg2
= 0 ;
6560 bool temp2
= false ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6565 PyObject
* obj2
= 0 ;
6566 char * kwnames
[] = {
6567 (char *) "self",(char *) "name",(char *) "type", NULL
6570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6572 if (!SWIG_IsOK(res1
)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6575 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6577 arg2
= wxString_in_helper(obj1
);
6578 if (arg2
== NULL
) SWIG_fail
;
6581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6582 if (!SWIG_IsOK(ecode3
)) {
6583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6585 arg3
= static_cast< wxBitmapType
>(val3
);
6587 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6607 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6608 PyObject
*resultobj
= 0;
6609 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6610 wxPalette
*result
= 0 ;
6613 PyObject
*swig_obj
[1] ;
6615 if (!args
) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6621 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6623 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6633 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
= 0;
6635 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6636 wxPalette
*arg2
= 0 ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 char * kwnames
[] = {
6644 (char *) "self",(char *) "palette", NULL
6647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6649 if (!SWIG_IsOK(res1
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6652 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6654 if (!SWIG_IsOK(res2
)) {
6655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6660 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6662 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= SWIG_Py_Void();
6672 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
= 0;
6674 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "icon", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6694 if (!SWIG_IsOK(res2
)) {
6695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6700 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6702 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6714 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= 0;
6716 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6724 char * kwnames
[] = {
6725 (char *) "self",(char *) "height", NULL
6728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6730 if (!SWIG_IsOK(res1
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6733 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6735 if (!SWIG_IsOK(ecode2
)) {
6736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6738 arg2
= static_cast< int >(val2
);
6740 (arg1
)->SetHeight(arg2
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_Py_Void();
6750 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
= 0;
6752 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6758 PyObject
* obj0
= 0 ;
6759 PyObject
* obj1
= 0 ;
6760 char * kwnames
[] = {
6761 (char *) "self",(char *) "width", NULL
6764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6766 if (!SWIG_IsOK(res1
)) {
6767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6769 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6771 if (!SWIG_IsOK(ecode2
)) {
6772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6774 arg2
= static_cast< int >(val2
);
6776 (arg1
)->SetWidth(arg2
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_Py_Void();
6786 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
*resultobj
= 0;
6788 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6796 char * kwnames
[] = {
6797 (char *) "self",(char *) "depth", NULL
6800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6802 if (!SWIG_IsOK(res1
)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6805 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6807 if (!SWIG_IsOK(ecode2
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6810 arg2
= static_cast< int >(val2
);
6812 (arg1
)->SetDepth(arg2
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_Py_Void();
6822 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
= 0;
6824 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6831 char * kwnames
[] = {
6832 (char *) "self",(char *) "size", NULL
6835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6837 if (!SWIG_IsOK(res1
)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6840 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6843 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6846 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= SWIG_Py_Void();
6856 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
*resultobj
= 0;
6858 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6859 wxCursor
*arg2
= 0 ;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6867 char * kwnames
[] = {
6868 (char *) "self",(char *) "cursor", NULL
6871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6873 if (!SWIG_IsOK(res1
)) {
6874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6876 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6878 if (!SWIG_IsOK(res2
)) {
6879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6884 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6886 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6898 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
*resultobj
= 0;
6900 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6901 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6907 PyObject
* obj0
= 0 ;
6908 PyObject
* obj1
= 0 ;
6909 char * kwnames
[] = {
6910 (char *) "self",(char *) "other", NULL
6913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6915 if (!SWIG_IsOK(res1
)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6918 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6920 if (!SWIG_IsOK(res2
)) {
6921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6923 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6925 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6937 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
= 0;
6939 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6940 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6948 char * kwnames
[] = {
6949 (char *) "self",(char *) "other", NULL
6952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6954 if (!SWIG_IsOK(res1
)) {
6955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6957 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6958 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6959 if (!SWIG_IsOK(res2
)) {
6960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6962 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6964 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6976 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6979 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6980 return SWIG_Py_Void();
6983 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6984 return SWIG_Python_InitShadowInstance(args
);
6987 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
= 0;
6995 wxBitmap
*result
= 0 ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7004 PyObject
* obj2
= 0 ;
7005 PyObject
* obj3
= 0 ;
7006 char * kwnames
[] = {
7007 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7012 if (!SWIG_IsOK(ecode1
)) {
7013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7015 arg1
= static_cast< int >(val1
);
7016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7017 if (!SWIG_IsOK(ecode2
)) {
7018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7020 arg2
= static_cast< int >(val2
);
7022 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7026 if (obj3
!= Py_None
) {
7027 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7032 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7042 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= 0;
7048 wxBitmap
*result
= 0 ;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7056 PyObject
* obj2
= 0 ;
7057 char * kwnames
[] = {
7058 (char *) "width",(char *) "height",(char *) "data", NULL
7061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7062 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7063 if (!SWIG_IsOK(ecode1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7066 arg1
= static_cast< int >(val1
);
7067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7068 if (!SWIG_IsOK(ecode2
)) {
7069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7071 arg2
= static_cast< int >(val2
);
7073 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7077 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7087 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
= 0;
7093 wxBitmap
*result
= 0 ;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7101 PyObject
* obj2
= 0 ;
7102 char * kwnames
[] = {
7103 (char *) "width",(char *) "height",(char *) "data", NULL
7106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7108 if (!SWIG_IsOK(ecode1
)) {
7109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7111 arg1
= static_cast< int >(val1
);
7112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7113 if (!SWIG_IsOK(ecode2
)) {
7114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7116 arg2
= static_cast< int >(val2
);
7118 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7122 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7132 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7133 PyObject
*resultobj
= 0;
7134 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7138 PyObject
*swig_obj
[1] ;
7140 if (!args
) SWIG_fail
;
7142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7143 if (!SWIG_IsOK(res1
)) {
7144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7146 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7148 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7158 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7159 PyObject
*resultobj
= 0;
7160 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7164 PyObject
*swig_obj
[1] ;
7166 if (!args
) SWIG_fail
;
7168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7169 if (!SWIG_IsOK(res1
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7172 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7174 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_From_int(static_cast< int >(result
));
7184 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7185 PyObject
*resultobj
= 0;
7186 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7190 PyObject
*swig_obj
[1] ;
7192 if (!args
) SWIG_fail
;
7194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7195 if (!SWIG_IsOK(res1
)) {
7196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7198 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7200 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_From_int(static_cast< int >(result
));
7210 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7211 PyObject
*resultobj
= 0;
7212 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7216 PyObject
*swig_obj
[1] ;
7218 if (!args
) SWIG_fail
;
7220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7221 if (!SWIG_IsOK(res1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7224 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7226 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7236 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7237 PyObject
*resultobj
= 0;
7238 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7242 PyObject
*swig_obj
[1] ;
7244 if (!args
) SWIG_fail
;
7246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7247 if (!SWIG_IsOK(res1
)) {
7248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7250 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7252 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7253 if (PyErr_Occurred()) SWIG_fail
;
7255 resultobj
= SWIG_From_int(static_cast< int >(result
));
7262 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7265 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7266 return SWIG_Py_Void();
7269 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7270 PyObject
*resultobj
= 0;
7271 wxBitmap
*arg1
= 0 ;
7272 wxNativePixelData
*result
= 0 ;
7276 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7278 if (!SWIG_IsOK(res1
)) {
7279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7284 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7286 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7296 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7297 PyObject
*resultobj
= 0;
7298 wxBitmap
*arg1
= 0 ;
7300 wxNativePixelData
*result
= 0 ;
7305 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7307 if (!SWIG_IsOK(res1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7313 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7316 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7319 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7329 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7330 PyObject
*resultobj
= 0;
7331 wxBitmap
*arg1
= 0 ;
7334 wxNativePixelData
*result
= 0 ;
7340 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7342 if (!SWIG_IsOK(res1
)) {
7343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7348 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7351 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7355 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7358 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7368 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7372 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7375 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7378 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7381 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7385 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7390 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7391 PyObject
*resultobj
= 0;
7392 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7395 PyObject
*swig_obj
[1] ;
7397 if (!args
) SWIG_fail
;
7399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7400 if (!SWIG_IsOK(res1
)) {
7401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7403 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_Py_Void();
7416 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7417 PyObject
*resultobj
= 0;
7418 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7419 wxNativePixelData_Accessor result
;
7422 PyObject
*swig_obj
[1] ;
7424 if (!args
) SWIG_fail
;
7426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7427 if (!SWIG_IsOK(res1
)) {
7428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7430 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7432 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7442 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7443 PyObject
*resultobj
= 0;
7444 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7447 PyObject
*swig_obj
[1] ;
7449 if (!args
) SWIG_fail
;
7451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7452 if (!SWIG_IsOK(res1
)) {
7453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7455 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= SWIG_Py_Void();
7467 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7468 PyObject
*resultobj
= 0;
7469 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7473 PyObject
*swig_obj
[1] ;
7475 if (!args
) SWIG_fail
;
7477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7478 if (!SWIG_IsOK(res1
)) {
7479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7481 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7483 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7495 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7498 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7499 return SWIG_Py_Void();
7502 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7503 return SWIG_Python_InitShadowInstance(args
);
7506 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7507 PyObject
*resultobj
= 0;
7508 wxNativePixelData
*arg1
= 0 ;
7509 wxNativePixelData_Accessor
*result
= 0 ;
7513 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7515 if (!SWIG_IsOK(res1
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7521 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7523 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7533 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7534 PyObject
*resultobj
= 0;
7535 wxBitmap
*arg1
= 0 ;
7536 wxNativePixelData
*arg2
= 0 ;
7537 wxNativePixelData_Accessor
*result
= 0 ;
7543 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7545 if (!SWIG_IsOK(res1
)) {
7546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7551 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7552 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7553 if (!SWIG_IsOK(res2
)) {
7554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7559 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7561 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7571 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7572 PyObject
*resultobj
= 0;
7573 wxNativePixelData_Accessor
*result
= 0 ;
7575 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7577 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7587 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7591 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7594 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7597 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7600 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7604 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7609 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7610 PyObject
*resultobj
= 0;
7611 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7614 PyObject
*swig_obj
[1] ;
7616 if (!args
) SWIG_fail
;
7618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7619 if (!SWIG_IsOK(res1
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7622 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_Py_Void();
7635 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
= 0;
7637 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7638 wxNativePixelData
*arg2
= 0 ;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7645 char * kwnames
[] = {
7646 (char *) "self",(char *) "data", NULL
7649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7654 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7656 if (!SWIG_IsOK(res2
)) {
7657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7662 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7664 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_Py_Void();
7674 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7675 PyObject
*resultobj
= 0;
7676 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7680 PyObject
*swig_obj
[1] ;
7682 if (!args
) SWIG_fail
;
7684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7685 if (!SWIG_IsOK(res1
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7688 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7690 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7691 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7702 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7703 PyObject
*resultobj
= 0;
7704 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7707 PyObject
*swig_obj
[1] ;
7709 if (!args
) SWIG_fail
;
7711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7712 if (!SWIG_IsOK(res1
)) {
7713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7715 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7717 wxNativePixelData_Accessor_nextPixel(arg1
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_Py_Void();
7727 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
= 0;
7729 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7730 wxNativePixelData
*arg2
= 0 ;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7743 PyObject
* obj2
= 0 ;
7744 PyObject
* obj3
= 0 ;
7745 char * kwnames
[] = {
7746 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7754 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7756 if (!SWIG_IsOK(res2
)) {
7757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7762 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7764 if (!SWIG_IsOK(ecode3
)) {
7765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7767 arg3
= static_cast< int >(val3
);
7768 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7769 if (!SWIG_IsOK(ecode4
)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7772 arg4
= static_cast< int >(val4
);
7774 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_Py_Void();
7784 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= 0;
7786 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7787 wxNativePixelData
*arg2
= 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7797 PyObject
* obj2
= 0 ;
7798 char * kwnames
[] = {
7799 (char *) "self",(char *) "data",(char *) "x", NULL
7802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7804 if (!SWIG_IsOK(res1
)) {
7805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7807 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7809 if (!SWIG_IsOK(res2
)) {
7810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7815 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7817 if (!SWIG_IsOK(ecode3
)) {
7818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7820 arg3
= static_cast< int >(val3
);
7822 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= SWIG_Py_Void();
7832 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
= 0;
7834 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7835 wxNativePixelData
*arg2
= 0 ;
7843 PyObject
* obj0
= 0 ;
7844 PyObject
* obj1
= 0 ;
7845 PyObject
* obj2
= 0 ;
7846 char * kwnames
[] = {
7847 (char *) "self",(char *) "data",(char *) "y", NULL
7850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7852 if (!SWIG_IsOK(res1
)) {
7853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7855 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7857 if (!SWIG_IsOK(res2
)) {
7858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7863 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7865 if (!SWIG_IsOK(ecode3
)) {
7866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7868 arg3
= static_cast< int >(val3
);
7870 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 resultobj
= SWIG_Py_Void();
7880 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
= 0;
7882 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7883 wxNativePixelData
*arg2
= 0 ;
7894 PyObject
* obj0
= 0 ;
7895 PyObject
* obj1
= 0 ;
7896 PyObject
* obj2
= 0 ;
7897 PyObject
* obj3
= 0 ;
7898 char * kwnames
[] = {
7899 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7904 if (!SWIG_IsOK(res1
)) {
7905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7907 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7909 if (!SWIG_IsOK(res2
)) {
7910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7915 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7917 if (!SWIG_IsOK(ecode3
)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7920 arg3
= static_cast< int >(val3
);
7921 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7922 if (!SWIG_IsOK(ecode4
)) {
7923 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7925 arg4
= static_cast< int >(val4
);
7927 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_Py_Void();
7937 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
= 0;
7939 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7945 unsigned char val2
;
7947 unsigned char val3
;
7949 unsigned char val4
;
7951 PyObject
* obj0
= 0 ;
7952 PyObject
* obj1
= 0 ;
7953 PyObject
* obj2
= 0 ;
7954 PyObject
* obj3
= 0 ;
7955 char * kwnames
[] = {
7956 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7964 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7965 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7966 if (!SWIG_IsOK(ecode2
)) {
7967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7969 arg2
= static_cast< byte
>(val2
);
7970 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7971 if (!SWIG_IsOK(ecode3
)) {
7972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7974 arg3
= static_cast< byte
>(val3
);
7975 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7976 if (!SWIG_IsOK(ecode4
)) {
7977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7979 arg4
= static_cast< byte
>(val4
);
7981 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_Py_Void();
7991 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7992 PyObject
*resultobj
= 0;
7993 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7994 PyObject
*result
= 0 ;
7997 PyObject
*swig_obj
[1] ;
7999 if (!args
) SWIG_fail
;
8001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8002 if (!SWIG_IsOK(res1
)) {
8003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8005 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8007 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8017 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8020 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8021 return SWIG_Py_Void();
8024 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8025 return SWIG_Python_InitShadowInstance(args
);
8028 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8029 PyObject
*resultobj
= 0;
8030 wxBitmap
*arg1
= 0 ;
8031 wxAlphaPixelData
*result
= 0 ;
8035 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8037 if (!SWIG_IsOK(res1
)) {
8038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8043 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8045 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8055 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8056 PyObject
*resultobj
= 0;
8057 wxBitmap
*arg1
= 0 ;
8059 wxAlphaPixelData
*result
= 0 ;
8064 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8066 if (!SWIG_IsOK(res1
)) {
8067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8072 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8075 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8078 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8088 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8089 PyObject
*resultobj
= 0;
8090 wxBitmap
*arg1
= 0 ;
8093 wxAlphaPixelData
*result
= 0 ;
8099 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8101 if (!SWIG_IsOK(res1
)) {
8102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8107 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8110 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8114 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8117 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8127 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8131 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8134 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8137 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8140 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8144 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8149 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8150 PyObject
*resultobj
= 0;
8151 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8154 PyObject
*swig_obj
[1] ;
8156 if (!args
) SWIG_fail
;
8158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8159 if (!SWIG_IsOK(res1
)) {
8160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8162 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= SWIG_Py_Void();
8175 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8176 PyObject
*resultobj
= 0;
8177 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8178 wxAlphaPixelData_Accessor result
;
8181 PyObject
*swig_obj
[1] ;
8183 if (!args
) SWIG_fail
;
8185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8186 if (!SWIG_IsOK(res1
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8189 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8191 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8201 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8202 PyObject
*resultobj
= 0;
8203 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8206 PyObject
*swig_obj
[1] ;
8208 if (!args
) SWIG_fail
;
8210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8211 if (!SWIG_IsOK(res1
)) {
8212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8214 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 resultobj
= SWIG_Py_Void();
8226 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8227 PyObject
*resultobj
= 0;
8228 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8232 PyObject
*swig_obj
[1] ;
8234 if (!args
) SWIG_fail
;
8236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8237 if (!SWIG_IsOK(res1
)) {
8238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8240 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8242 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8254 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8257 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8258 return SWIG_Py_Void();
8261 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8262 return SWIG_Python_InitShadowInstance(args
);
8265 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8266 PyObject
*resultobj
= 0;
8267 wxAlphaPixelData
*arg1
= 0 ;
8268 wxAlphaPixelData_Accessor
*result
= 0 ;
8272 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8274 if (!SWIG_IsOK(res1
)) {
8275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8280 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8282 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8292 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8293 PyObject
*resultobj
= 0;
8294 wxBitmap
*arg1
= 0 ;
8295 wxAlphaPixelData
*arg2
= 0 ;
8296 wxAlphaPixelData_Accessor
*result
= 0 ;
8302 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8304 if (!SWIG_IsOK(res1
)) {
8305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8310 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8311 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8312 if (!SWIG_IsOK(res2
)) {
8313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8318 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8320 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8330 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8331 PyObject
*resultobj
= 0;
8332 wxAlphaPixelData_Accessor
*result
= 0 ;
8334 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8336 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8346 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8350 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8353 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8356 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8359 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8363 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8368 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 PyObject
*resultobj
= 0;
8370 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8373 PyObject
*swig_obj
[1] ;
8375 if (!args
) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8381 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= SWIG_Py_Void();
8394 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
= 0;
8396 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8397 wxAlphaPixelData
*arg2
= 0 ;
8402 PyObject
* obj0
= 0 ;
8403 PyObject
* obj1
= 0 ;
8404 char * kwnames
[] = {
8405 (char *) "self",(char *) "data", NULL
8408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8413 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8414 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8415 if (!SWIG_IsOK(res2
)) {
8416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8421 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8423 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= SWIG_Py_Void();
8433 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8434 PyObject
*resultobj
= 0;
8435 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8439 PyObject
*swig_obj
[1] ;
8441 if (!args
) SWIG_fail
;
8443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8444 if (!SWIG_IsOK(res1
)) {
8445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8447 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8449 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8450 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8461 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8462 PyObject
*resultobj
= 0;
8463 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8466 PyObject
*swig_obj
[1] ;
8468 if (!args
) SWIG_fail
;
8470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8471 if (!SWIG_IsOK(res1
)) {
8472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8474 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8476 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_Py_Void();
8486 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
= 0;
8488 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8489 wxAlphaPixelData
*arg2
= 0 ;
8500 PyObject
* obj0
= 0 ;
8501 PyObject
* obj1
= 0 ;
8502 PyObject
* obj2
= 0 ;
8503 PyObject
* obj3
= 0 ;
8504 char * kwnames
[] = {
8505 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8510 if (!SWIG_IsOK(res1
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8513 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8515 if (!SWIG_IsOK(res2
)) {
8516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8521 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8523 if (!SWIG_IsOK(ecode3
)) {
8524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8526 arg3
= static_cast< int >(val3
);
8527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8528 if (!SWIG_IsOK(ecode4
)) {
8529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8531 arg4
= static_cast< int >(val4
);
8533 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_Py_Void();
8543 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
= 0;
8545 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8546 wxAlphaPixelData
*arg2
= 0 ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8556 PyObject
* obj2
= 0 ;
8557 char * kwnames
[] = {
8558 (char *) "self",(char *) "data",(char *) "x", NULL
8561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8566 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8568 if (!SWIG_IsOK(res2
)) {
8569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8574 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8576 if (!SWIG_IsOK(ecode3
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8579 arg3
= static_cast< int >(val3
);
8581 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= SWIG_Py_Void();
8591 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
= 0;
8593 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8594 wxAlphaPixelData
*arg2
= 0 ;
8602 PyObject
* obj0
= 0 ;
8603 PyObject
* obj1
= 0 ;
8604 PyObject
* obj2
= 0 ;
8605 char * kwnames
[] = {
8606 (char *) "self",(char *) "data",(char *) "y", NULL
8609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8614 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8616 if (!SWIG_IsOK(res2
)) {
8617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8622 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8624 if (!SWIG_IsOK(ecode3
)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8627 arg3
= static_cast< int >(val3
);
8629 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_Py_Void();
8639 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
= 0;
8641 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8642 wxAlphaPixelData
*arg2
= 0 ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8655 PyObject
* obj2
= 0 ;
8656 PyObject
* obj3
= 0 ;
8657 char * kwnames
[] = {
8658 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8663 if (!SWIG_IsOK(res1
)) {
8664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8666 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8667 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8668 if (!SWIG_IsOK(res2
)) {
8669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8674 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8676 if (!SWIG_IsOK(ecode3
)) {
8677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8679 arg3
= static_cast< int >(val3
);
8680 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8681 if (!SWIG_IsOK(ecode4
)) {
8682 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8684 arg4
= static_cast< int >(val4
);
8686 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_Py_Void();
8696 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
= 0;
8698 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8705 unsigned char val2
;
8707 unsigned char val3
;
8709 unsigned char val4
;
8711 unsigned char val5
;
8713 PyObject
* obj0
= 0 ;
8714 PyObject
* obj1
= 0 ;
8715 PyObject
* obj2
= 0 ;
8716 PyObject
* obj3
= 0 ;
8717 PyObject
* obj4
= 0 ;
8718 char * kwnames
[] = {
8719 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8724 if (!SWIG_IsOK(res1
)) {
8725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8727 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8728 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8729 if (!SWIG_IsOK(ecode2
)) {
8730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8732 arg2
= static_cast< byte
>(val2
);
8733 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8734 if (!SWIG_IsOK(ecode3
)) {
8735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8737 arg3
= static_cast< byte
>(val3
);
8738 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8739 if (!SWIG_IsOK(ecode4
)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8742 arg4
= static_cast< byte
>(val4
);
8743 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8744 if (!SWIG_IsOK(ecode5
)) {
8745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8747 arg5
= static_cast< byte
>(val5
);
8749 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_Py_Void();
8759 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8760 PyObject
*resultobj
= 0;
8761 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8762 PyObject
*result
= 0 ;
8765 PyObject
*swig_obj
[1] ;
8767 if (!args
) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8773 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8775 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8785 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8788 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8789 return SWIG_Py_Void();
8792 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8793 return SWIG_Python_InitShadowInstance(args
);
8796 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
= 0;
8798 wxBitmap
*arg1
= 0 ;
8799 wxColour
const &arg2_defvalue
= wxNullColour
;
8800 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8801 wxMask
*result
= 0 ;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8807 char * kwnames
[] = {
8808 (char *) "bitmap",(char *) "colour", NULL
8811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8812 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8813 if (!SWIG_IsOK(res1
)) {
8814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8819 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8823 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8827 if (!wxPyCheckForApp()) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8840 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8841 PyObject
*resultobj
= 0;
8842 wxMask
*arg1
= (wxMask
*) 0 ;
8845 PyObject
*swig_obj
[1] ;
8847 if (!args
) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8853 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= SWIG_Py_Void();
8866 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8869 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8870 return SWIG_Py_Void();
8873 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8874 return SWIG_Python_InitShadowInstance(args
);
8877 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
= 0;
8879 wxString
*arg1
= 0 ;
8881 int arg3
= (int) -1 ;
8882 int arg4
= (int) -1 ;
8883 wxIcon
*result
= 0 ;
8884 bool temp1
= false ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 PyObject
* obj2
= 0 ;
8894 PyObject
* obj3
= 0 ;
8895 char * kwnames
[] = {
8896 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8901 arg1
= wxString_in_helper(obj0
);
8902 if (arg1
== NULL
) SWIG_fail
;
8905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8906 if (!SWIG_IsOK(ecode2
)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8909 arg2
= static_cast< wxBitmapType
>(val2
);
8911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8912 if (!SWIG_IsOK(ecode3
)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8915 arg3
= static_cast< int >(val3
);
8918 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8919 if (!SWIG_IsOK(ecode4
)) {
8920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8922 arg4
= static_cast< int >(val4
);
8925 if (!wxPyCheckForApp()) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8946 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8947 PyObject
*resultobj
= 0;
8948 wxIcon
*arg1
= (wxIcon
*) 0 ;
8951 PyObject
*swig_obj
[1] ;
8953 if (!args
) SWIG_fail
;
8955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8956 if (!SWIG_IsOK(res1
)) {
8957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8959 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 resultobj
= SWIG_Py_Void();
8974 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8975 PyObject
*resultobj
= 0;
8976 wxIcon
*result
= 0 ;
8978 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8980 if (!wxPyCheckForApp()) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= (wxIcon
*)new wxIcon();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8993 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
= 0;
8995 wxIconLocation
*arg1
= 0 ;
8996 wxIcon
*result
= 0 ;
8999 PyObject
* obj0
= 0 ;
9000 char * kwnames
[] = {
9001 (char *) "loc", NULL
9004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9005 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9006 if (!SWIG_IsOK(res1
)) {
9007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9012 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9014 if (!wxPyCheckForApp()) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9027 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
= 0;
9029 wxBitmap
*arg1
= 0 ;
9030 wxIcon
*result
= 0 ;
9033 PyObject
* obj0
= 0 ;
9034 char * kwnames
[] = {
9035 (char *) "bmp", NULL
9038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9039 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9040 if (!SWIG_IsOK(res1
)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9046 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9048 if (!wxPyCheckForApp()) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9061 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
= 0;
9063 PyObject
*arg1
= (PyObject
*) 0 ;
9064 wxIcon
*result
= 0 ;
9065 PyObject
* obj0
= 0 ;
9066 char * kwnames
[] = {
9067 (char *) "listOfStrings", NULL
9070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9073 if (!wxPyCheckForApp()) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (wxIcon
*)new_wxIcon(arg1
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9086 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= 0;
9088 wxIcon
*arg1
= (wxIcon
*) 0 ;
9089 wxString
*arg2
= 0 ;
9094 bool temp2
= false ;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 char * kwnames
[] = {
9101 (char *) "self",(char *) "name",(char *) "type", NULL
9104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) 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_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9109 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9111 arg2
= wxString_in_helper(obj1
);
9112 if (arg2
== NULL
) SWIG_fail
;
9115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9116 if (!SWIG_IsOK(ecode3
)) {
9117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9119 arg3
= static_cast< wxBitmapType
>(val3
);
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9143 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9144 PyObject
*resultobj
= 0;
9145 wxIcon
*arg1
= (wxIcon
*) 0 ;
9149 PyObject
*swig_obj
[1] ;
9151 if (!args
) SWIG_fail
;
9153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9154 if (!SWIG_IsOK(res1
)) {
9155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9157 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (long)(arg1
)->GetHandle();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_From_long(static_cast< long >(result
));
9171 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
= 0;
9173 wxIcon
*arg1
= (wxIcon
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9180 PyObject
* obj1
= 0 ;
9181 char * kwnames
[] = {
9182 (char *) "self",(char *) "handle", NULL
9185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9187 if (!SWIG_IsOK(res1
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9190 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9191 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9192 if (!SWIG_IsOK(ecode2
)) {
9193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9195 arg2
= static_cast< long >(val2
);
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 wxIcon_SetHandle(arg1
,arg2
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= SWIG_Py_Void();
9209 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9210 PyObject
*resultobj
= 0;
9211 wxIcon
*arg1
= (wxIcon
*) 0 ;
9215 PyObject
*swig_obj
[1] ;
9217 if (!args
) SWIG_fail
;
9219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9220 if (!SWIG_IsOK(res1
)) {
9221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9223 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (bool)(arg1
)->IsOk();
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9239 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9240 PyObject
*resultobj
= 0;
9241 wxIcon
*arg1
= (wxIcon
*) 0 ;
9245 PyObject
*swig_obj
[1] ;
9247 if (!args
) SWIG_fail
;
9249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9250 if (!SWIG_IsOK(res1
)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9253 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (int)(arg1
)->GetWidth();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 resultobj
= SWIG_From_int(static_cast< int >(result
));
9267 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9268 PyObject
*resultobj
= 0;
9269 wxIcon
*arg1
= (wxIcon
*) 0 ;
9273 PyObject
*swig_obj
[1] ;
9275 if (!args
) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9281 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (int)(arg1
)->GetHeight();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_From_int(static_cast< int >(result
));
9295 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9296 PyObject
*resultobj
= 0;
9297 wxIcon
*arg1
= (wxIcon
*) 0 ;
9301 PyObject
*swig_obj
[1] ;
9303 if (!args
) SWIG_fail
;
9305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9306 if (!SWIG_IsOK(res1
)) {
9307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9309 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (int)(arg1
)->GetDepth();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_From_int(static_cast< int >(result
));
9323 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
= 0;
9325 wxIcon
*arg1
= (wxIcon
*) 0 ;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9333 char * kwnames
[] = {
9334 (char *) "self",(char *) "w", NULL
9337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9339 if (!SWIG_IsOK(res1
)) {
9340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9342 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9344 if (!SWIG_IsOK(ecode2
)) {
9345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9347 arg2
= static_cast< int >(val2
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SetWidth(arg2
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_Py_Void();
9361 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxIcon
*arg1
= (wxIcon
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 char * kwnames
[] = {
9372 (char *) "self",(char *) "h", NULL
9375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9380 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9382 if (!SWIG_IsOK(ecode2
)) {
9383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9385 arg2
= static_cast< int >(val2
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 (arg1
)->SetHeight(arg2
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_Py_Void();
9399 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= 0;
9401 wxIcon
*arg1
= (wxIcon
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "d", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9418 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9420 if (!SWIG_IsOK(ecode2
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9423 arg2
= static_cast< int >(val2
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 (arg1
)->SetDepth(arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxIcon
*arg1
= (wxIcon
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9445 PyObject
* obj1
= 0 ;
9446 char * kwnames
[] = {
9447 (char *) "self",(char *) "size", NULL
9450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9452 if (!SWIG_IsOK(res1
)) {
9453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9455 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9458 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 (arg1
)->SetSize((wxSize
const &)*arg2
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_Py_Void();
9473 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= 0;
9475 wxIcon
*arg1
= (wxIcon
*) 0 ;
9476 wxBitmap
*arg2
= 0 ;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9483 char * kwnames
[] = {
9484 (char *) "self",(char *) "bmp", NULL
9487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9489 if (!SWIG_IsOK(res1
)) {
9490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9492 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9494 if (!SWIG_IsOK(res2
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9500 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 resultobj
= SWIG_Py_Void();
9514 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9517 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9518 return SWIG_Py_Void();
9521 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9522 return SWIG_Python_InitShadowInstance(args
);
9525 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
= 0;
9527 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9528 int arg2
= (int) 0 ;
9529 wxIconLocation
*result
= 0 ;
9530 bool temp1
= false ;
9533 PyObject
* obj0
= 0 ;
9534 PyObject
* obj1
= 0 ;
9535 char * kwnames
[] = {
9536 (char *) "filename",(char *) "num", NULL
9539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9542 arg1
= wxString_in_helper(obj0
);
9543 if (arg1
== NULL
) SWIG_fail
;
9548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9549 if (!SWIG_IsOK(ecode2
)) {
9550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9552 arg2
= static_cast< int >(val2
);
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9575 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9576 PyObject
*resultobj
= 0;
9577 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9580 PyObject
*swig_obj
[1] ;
9582 if (!args
) SWIG_fail
;
9584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9585 if (!SWIG_IsOK(res1
)) {
9586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9588 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= SWIG_Py_Void();
9603 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9604 PyObject
*resultobj
= 0;
9605 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9609 PyObject
*swig_obj
[1] ;
9611 if (!args
) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9617 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9633 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
= 0;
9635 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9636 wxString
*arg2
= 0 ;
9639 bool temp2
= false ;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9642 char * kwnames
[] = {
9643 (char *) "self",(char *) "filename", NULL
9646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9648 if (!SWIG_IsOK(res1
)) {
9649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9651 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9653 arg2
= wxString_in_helper(obj1
);
9654 if (arg2
== NULL
) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 (arg1
)->SetFileName((wxString
const &)*arg2
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= SWIG_Py_Void();
9678 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9679 PyObject
*resultobj
= 0;
9680 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9681 wxString
*result
= 0 ;
9684 PyObject
*swig_obj
[1] ;
9686 if (!args
) SWIG_fail
;
9688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9689 if (!SWIG_IsOK(res1
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9692 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9697 result
= (wxString
*) &_result_ref
;
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9706 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9715 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
= 0;
9717 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9725 char * kwnames
[] = {
9726 (char *) "self",(char *) "num", NULL
9729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9731 if (!SWIG_IsOK(res1
)) {
9732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9734 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9736 if (!SWIG_IsOK(ecode2
)) {
9737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9739 arg2
= static_cast< int >(val2
);
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 wxIconLocation_SetIndex(arg1
,arg2
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= SWIG_Py_Void();
9753 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9754 PyObject
*resultobj
= 0;
9755 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9759 PyObject
*swig_obj
[1] ;
9761 if (!args
) SWIG_fail
;
9763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9764 if (!SWIG_IsOK(res1
)) {
9765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9767 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (int)wxIconLocation_GetIndex(arg1
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= SWIG_From_int(static_cast< int >(result
));
9781 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9784 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9785 return SWIG_Py_Void();
9788 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9789 return SWIG_Python_InitShadowInstance(args
);
9792 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9793 PyObject
*resultobj
= 0;
9794 wxIconBundle
*result
= 0 ;
9796 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (wxIconBundle
*)new wxIconBundle();
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9810 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= 0;
9812 wxString
*arg1
= 0 ;
9814 wxIconBundle
*result
= 0 ;
9815 bool temp1
= false ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 char * kwnames
[] = {
9821 (char *) "file",(char *) "type", NULL
9824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9826 arg1
= wxString_in_helper(obj0
);
9827 if (arg1
== NULL
) SWIG_fail
;
9830 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9831 if (!SWIG_IsOK(ecode2
)) {
9832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9834 arg2
= static_cast< long >(val2
);
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9856 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
= 0;
9859 wxIconBundle
*result
= 0 ;
9862 PyObject
* obj0
= 0 ;
9863 char * kwnames
[] = {
9864 (char *) "icon", NULL
9867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9868 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9869 if (!SWIG_IsOK(res1
)) {
9870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9875 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9889 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9890 PyObject
*resultobj
= 0;
9891 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9894 PyObject
*swig_obj
[1] ;
9896 if (!args
) SWIG_fail
;
9898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9899 if (!SWIG_IsOK(res1
)) {
9900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9902 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_Py_Void();
9917 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
= 0;
9919 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9926 PyObject
* obj1
= 0 ;
9927 char * kwnames
[] = {
9928 (char *) "self",(char *) "icon", NULL
9931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9933 if (!SWIG_IsOK(res1
)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9936 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9938 if (!SWIG_IsOK(res2
)) {
9939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9944 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_Py_Void();
9958 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
= 0;
9960 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9961 wxString
*arg2
= 0 ;
9965 bool temp2
= false ;
9968 PyObject
* obj0
= 0 ;
9969 PyObject
* obj1
= 0 ;
9970 PyObject
* obj2
= 0 ;
9971 char * kwnames
[] = {
9972 (char *) "self",(char *) "file",(char *) "type", NULL
9975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9977 if (!SWIG_IsOK(res1
)) {
9978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9980 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9982 arg2
= wxString_in_helper(obj1
);
9983 if (arg2
== NULL
) SWIG_fail
;
9986 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9987 if (!SWIG_IsOK(ecode3
)) {
9988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9990 arg3
= static_cast< long >(val3
);
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_Py_Void();
10012 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
= 0;
10014 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10016 wxIcon
*result
= 0 ;
10020 PyObject
* obj0
= 0 ;
10021 PyObject
* obj1
= 0 ;
10022 char * kwnames
[] = {
10023 (char *) "self",(char *) "size", NULL
10026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10028 if (!SWIG_IsOK(res1
)) {
10029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10031 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10034 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10040 result
= (wxIcon
*) &_result_ref
;
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10046 wxIcon
* resultptr
= new wxIcon(*result
);
10047 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10055 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10058 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10059 return SWIG_Py_Void();
10062 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10063 return SWIG_Python_InitShadowInstance(args
);
10066 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
= 0;
10068 wxString
*arg1
= 0 ;
10070 int arg3
= (int) 0 ;
10071 int arg4
= (int) 0 ;
10072 wxCursor
*result
= 0 ;
10073 bool temp1
= false ;
10080 PyObject
* obj0
= 0 ;
10081 PyObject
* obj1
= 0 ;
10082 PyObject
* obj2
= 0 ;
10083 PyObject
* obj3
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10090 arg1
= wxString_in_helper(obj0
);
10091 if (arg1
== NULL
) SWIG_fail
;
10094 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10095 if (!SWIG_IsOK(ecode2
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10098 arg2
= static_cast< long >(val2
);
10100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10101 if (!SWIG_IsOK(ecode3
)) {
10102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10104 arg3
= static_cast< int >(val3
);
10107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10108 if (!SWIG_IsOK(ecode4
)) {
10109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10111 arg4
= static_cast< int >(val4
);
10114 if (!wxPyCheckForApp()) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10135 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10136 PyObject
*resultobj
= 0;
10137 wxCursor
*arg1
= (wxCursor
*) 0 ;
10140 PyObject
*swig_obj
[1] ;
10142 if (!args
) SWIG_fail
;
10143 swig_obj
[0] = args
;
10144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10145 if (!SWIG_IsOK(res1
)) {
10146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10148 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= SWIG_Py_Void();
10163 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
= 0;
10166 wxCursor
*result
= 0 ;
10169 PyObject
* obj0
= 0 ;
10170 char * kwnames
[] = {
10171 (char *) "id", NULL
10174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10175 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10176 if (!SWIG_IsOK(ecode1
)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10179 arg1
= static_cast< int >(val1
);
10181 if (!wxPyCheckForApp()) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= (wxCursor
*)new wxCursor(arg1
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10194 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
= 0;
10196 wxImage
*arg1
= 0 ;
10197 wxCursor
*result
= 0 ;
10200 PyObject
* obj0
= 0 ;
10201 char * kwnames
[] = {
10202 (char *) "image", NULL
10205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10206 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10207 if (!SWIG_IsOK(res1
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10213 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10215 if (!wxPyCheckForApp()) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10228 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10229 PyObject
*resultobj
= 0;
10230 wxCursor
*arg1
= (wxCursor
*) 0 ;
10234 PyObject
*swig_obj
[1] ;
10236 if (!args
) SWIG_fail
;
10237 swig_obj
[0] = args
;
10238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10239 if (!SWIG_IsOK(res1
)) {
10240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10242 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (long)(arg1
)->GetHandle();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_From_long(static_cast< long >(result
));
10256 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
= 0;
10258 wxCursor
*arg1
= (wxCursor
*) 0 ;
10264 PyObject
* obj0
= 0 ;
10265 PyObject
* obj1
= 0 ;
10266 char * kwnames
[] = {
10267 (char *) "self",(char *) "handle", NULL
10270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10272 if (!SWIG_IsOK(res1
)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10275 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10276 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10277 if (!SWIG_IsOK(ecode2
)) {
10278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10280 arg2
= static_cast< long >(val2
);
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 wxCursor_SetHandle(arg1
,arg2
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_Py_Void();
10294 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10295 PyObject
*resultobj
= 0;
10296 wxCursor
*arg1
= (wxCursor
*) 0 ;
10300 PyObject
*swig_obj
[1] ;
10302 if (!args
) SWIG_fail
;
10303 swig_obj
[0] = args
;
10304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10305 if (!SWIG_IsOK(res1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10308 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (bool)(arg1
)->IsOk();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10324 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10325 PyObject
*resultobj
= 0;
10326 wxCursor
*arg1
= (wxCursor
*) 0 ;
10330 PyObject
*swig_obj
[1] ;
10332 if (!args
) SWIG_fail
;
10333 swig_obj
[0] = args
;
10334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10335 if (!SWIG_IsOK(res1
)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10338 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (int)(arg1
)->GetWidth();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_From_int(static_cast< int >(result
));
10352 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10353 PyObject
*resultobj
= 0;
10354 wxCursor
*arg1
= (wxCursor
*) 0 ;
10358 PyObject
*swig_obj
[1] ;
10360 if (!args
) SWIG_fail
;
10361 swig_obj
[0] = args
;
10362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10366 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 result
= (int)(arg1
)->GetHeight();
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= SWIG_From_int(static_cast< int >(result
));
10380 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10381 PyObject
*resultobj
= 0;
10382 wxCursor
*arg1
= (wxCursor
*) 0 ;
10386 PyObject
*swig_obj
[1] ;
10388 if (!args
) SWIG_fail
;
10389 swig_obj
[0] = args
;
10390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10391 if (!SWIG_IsOK(res1
)) {
10392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10394 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (int)(arg1
)->GetDepth();
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= SWIG_From_int(static_cast< int >(result
));
10408 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
= 0;
10410 wxCursor
*arg1
= (wxCursor
*) 0 ;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 char * kwnames
[] = {
10419 (char *) "self",(char *) "w", NULL
10422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10424 if (!SWIG_IsOK(res1
)) {
10425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10427 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10429 if (!SWIG_IsOK(ecode2
)) {
10430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10432 arg2
= static_cast< int >(val2
);
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 (arg1
)->SetWidth(arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_Py_Void();
10446 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
= 0;
10448 wxCursor
*arg1
= (wxCursor
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 char * kwnames
[] = {
10457 (char *) "self",(char *) "h", NULL
10460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10465 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10467 if (!SWIG_IsOK(ecode2
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10470 arg2
= static_cast< int >(val2
);
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 (arg1
)->SetHeight(arg2
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_Py_Void();
10484 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10486 wxCursor
*arg1
= (wxCursor
*) 0 ;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 char * kwnames
[] = {
10495 (char *) "self",(char *) "d", NULL
10498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10500 if (!SWIG_IsOK(res1
)) {
10501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10503 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10505 if (!SWIG_IsOK(ecode2
)) {
10506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10508 arg2
= static_cast< int >(val2
);
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 (arg1
)->SetDepth(arg2
);
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 resultobj
= SWIG_Py_Void();
10522 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
= 0;
10524 wxCursor
*arg1
= (wxCursor
*) 0 ;
10529 PyObject
* obj0
= 0 ;
10530 PyObject
* obj1
= 0 ;
10531 char * kwnames
[] = {
10532 (char *) "self",(char *) "size", NULL
10535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10537 if (!SWIG_IsOK(res1
)) {
10538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10540 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10543 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 (arg1
)->SetSize((wxSize
const &)*arg2
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_Py_Void();
10558 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10561 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10562 return SWIG_Py_Void();
10565 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10566 return SWIG_Python_InitShadowInstance(args
);
10569 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
= 0;
10571 int arg1
= (int) 0 ;
10572 int arg2
= (int) 0 ;
10573 int arg3
= (int) 0 ;
10574 int arg4
= (int) 0 ;
10575 wxRegion
*result
= 0 ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 PyObject
* obj2
= 0 ;
10587 PyObject
* obj3
= 0 ;
10588 char * kwnames
[] = {
10589 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10594 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10595 if (!SWIG_IsOK(ecode1
)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10598 arg1
= static_cast< int >(val1
);
10601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10602 if (!SWIG_IsOK(ecode2
)) {
10603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10605 arg2
= static_cast< int >(val2
);
10608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10609 if (!SWIG_IsOK(ecode3
)) {
10610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10612 arg3
= static_cast< int >(val3
);
10615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10616 if (!SWIG_IsOK(ecode4
)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10619 arg4
= static_cast< int >(val4
);
10622 if (!wxPyCheckForApp()) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10635 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
= 0;
10637 wxBitmap
*arg1
= 0 ;
10638 wxRegion
*result
= 0 ;
10641 PyObject
* obj0
= 0 ;
10642 char * kwnames
[] = {
10643 (char *) "bmp", NULL
10646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10647 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10648 if (!SWIG_IsOK(res1
)) {
10649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10654 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10656 if (!wxPyCheckForApp()) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10669 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
= 0;
10671 wxBitmap
*arg1
= 0 ;
10672 wxColour
*arg2
= 0 ;
10673 int arg3
= (int) 0 ;
10674 wxRegion
*result
= 0 ;
10680 PyObject
* obj0
= 0 ;
10681 PyObject
* obj1
= 0 ;
10682 PyObject
* obj2
= 0 ;
10683 char * kwnames
[] = {
10684 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10688 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10689 if (!SWIG_IsOK(res1
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10695 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10698 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10702 if (!SWIG_IsOK(ecode3
)) {
10703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10705 arg3
= static_cast< int >(val3
);
10708 if (!wxPyCheckForApp()) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10721 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
= 0;
10724 wxPoint
*arg2
= (wxPoint
*) 0 ;
10725 int arg3
= (int) wxWINDING_RULE
;
10726 wxRegion
*result
= 0 ;
10729 PyObject
* obj0
= 0 ;
10730 PyObject
* obj1
= 0 ;
10731 char * kwnames
[] = {
10732 (char *) "points",(char *) "fillStyle", NULL
10735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10737 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10738 if (arg2
== NULL
) SWIG_fail
;
10741 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10742 if (!SWIG_IsOK(ecode3
)) {
10743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10745 arg3
= static_cast< int >(val3
);
10748 if (!wxPyCheckForApp()) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10756 if (arg2
) delete [] arg2
;
10761 if (arg2
) delete [] arg2
;
10767 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10768 PyObject
*resultobj
= 0;
10769 wxRegion
*arg1
= (wxRegion
*) 0 ;
10772 PyObject
*swig_obj
[1] ;
10774 if (!args
) SWIG_fail
;
10775 swig_obj
[0] = args
;
10776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10777 if (!SWIG_IsOK(res1
)) {
10778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10780 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= SWIG_Py_Void();
10795 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10796 PyObject
*resultobj
= 0;
10797 wxRegion
*arg1
= (wxRegion
*) 0 ;
10800 PyObject
*swig_obj
[1] ;
10802 if (!args
) SWIG_fail
;
10803 swig_obj
[0] = args
;
10804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10808 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= SWIG_Py_Void();
10822 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
= 0;
10824 wxRegion
*arg1
= (wxRegion
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 PyObject
* obj2
= 0 ;
10837 char * kwnames
[] = {
10838 (char *) "self",(char *) "x",(char *) "y", NULL
10841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10843 if (!SWIG_IsOK(res1
)) {
10844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10846 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10848 if (!SWIG_IsOK(ecode2
)) {
10849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10851 arg2
= static_cast< int >(val2
);
10852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10853 if (!SWIG_IsOK(ecode3
)) {
10854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10856 arg3
= static_cast< int >(val3
);
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10872 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
= 0;
10874 wxRegion
*arg1
= (wxRegion
*) 0 ;
10877 wxRegionContain result
;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 PyObject
* obj2
= 0 ;
10887 char * kwnames
[] = {
10888 (char *) "self",(char *) "x",(char *) "y", NULL
10891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10893 if (!SWIG_IsOK(res1
)) {
10894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10896 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10898 if (!SWIG_IsOK(ecode2
)) {
10899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10901 arg2
= static_cast< int >(val2
);
10902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10903 if (!SWIG_IsOK(ecode3
)) {
10904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10906 arg3
= static_cast< int >(val3
);
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_From_int(static_cast< int >(result
));
10920 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxRegion
*arg1
= (wxRegion
*) 0 ;
10923 wxPoint
*arg2
= 0 ;
10924 wxRegionContain result
;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char * kwnames
[] = {
10931 (char *) "self",(char *) "pt", NULL
10934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10939 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10942 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= SWIG_From_int(static_cast< int >(result
));
10957 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
= 0;
10959 wxRegion
*arg1
= (wxRegion
*) 0 ;
10961 wxRegionContain result
;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 char * kwnames
[] = {
10968 (char *) "self",(char *) "rect", NULL
10971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10973 if (!SWIG_IsOK(res1
)) {
10974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10976 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10979 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= SWIG_From_int(static_cast< int >(result
));
10994 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= 0;
10996 wxRegion
*arg1
= (wxRegion
*) 0 ;
11001 wxRegionContain result
;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 PyObject
* obj2
= 0 ;
11015 PyObject
* obj3
= 0 ;
11016 PyObject
* obj4
= 0 ;
11017 char * kwnames
[] = {
11018 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11023 if (!SWIG_IsOK(res1
)) {
11024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11026 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11028 if (!SWIG_IsOK(ecode2
)) {
11029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11031 arg2
= static_cast< int >(val2
);
11032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11033 if (!SWIG_IsOK(ecode3
)) {
11034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11036 arg3
= static_cast< int >(val3
);
11037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11038 if (!SWIG_IsOK(ecode4
)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11041 arg4
= static_cast< int >(val4
);
11042 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11043 if (!SWIG_IsOK(ecode5
)) {
11044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11046 arg5
= static_cast< int >(val5
);
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= SWIG_From_int(static_cast< int >(result
));
11060 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11061 PyObject
*resultobj
= 0;
11062 wxRegion
*arg1
= (wxRegion
*) 0 ;
11066 PyObject
*swig_obj
[1] ;
11068 if (!args
) SWIG_fail
;
11069 swig_obj
[0] = args
;
11070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11071 if (!SWIG_IsOK(res1
)) {
11072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11074 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (arg1
)->GetBox();
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11088 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
= 0;
11090 wxRegion
*arg1
= (wxRegion
*) 0 ;
11106 PyObject
* obj0
= 0 ;
11107 PyObject
* obj1
= 0 ;
11108 PyObject
* obj2
= 0 ;
11109 PyObject
* obj3
= 0 ;
11110 PyObject
* obj4
= 0 ;
11111 char * kwnames
[] = {
11112 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11117 if (!SWIG_IsOK(res1
)) {
11118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11120 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11122 if (!SWIG_IsOK(ecode2
)) {
11123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11125 arg2
= static_cast< int >(val2
);
11126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11127 if (!SWIG_IsOK(ecode3
)) {
11128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11130 arg3
= static_cast< int >(val3
);
11131 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11132 if (!SWIG_IsOK(ecode4
)) {
11133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11135 arg4
= static_cast< int >(val4
);
11136 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11137 if (!SWIG_IsOK(ecode5
)) {
11138 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11140 arg5
= static_cast< int >(val5
);
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11156 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
= 0;
11158 wxRegion
*arg1
= (wxRegion
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 char * kwnames
[] = {
11167 (char *) "self",(char *) "rect", NULL
11170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11172 if (!SWIG_IsOK(res1
)) {
11173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11175 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11178 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11195 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
= 0;
11197 wxRegion
*arg1
= (wxRegion
*) 0 ;
11198 wxRegion
*arg2
= 0 ;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 char * kwnames
[] = {
11207 (char *) "self",(char *) "region", NULL
11210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11212 if (!SWIG_IsOK(res1
)) {
11213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11215 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11217 if (!SWIG_IsOK(res2
)) {
11218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11223 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11239 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11240 PyObject
*resultobj
= 0;
11241 wxRegion
*arg1
= (wxRegion
*) 0 ;
11245 PyObject
*swig_obj
[1] ;
11247 if (!args
) SWIG_fail
;
11248 swig_obj
[0] = args
;
11249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11250 if (!SWIG_IsOK(res1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11253 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 result
= (bool)(arg1
)->IsEmpty();
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11269 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
= 0;
11271 wxRegion
*arg1
= (wxRegion
*) 0 ;
11272 wxRegion
*arg2
= 0 ;
11278 PyObject
* obj0
= 0 ;
11279 PyObject
* obj1
= 0 ;
11280 char * kwnames
[] = {
11281 (char *) "self",(char *) "region", NULL
11284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11286 if (!SWIG_IsOK(res1
)) {
11287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11289 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11291 if (!SWIG_IsOK(res2
)) {
11292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11297 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11313 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
= 0;
11315 wxRegion
*arg1
= (wxRegion
*) 0 ;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 PyObject
* obj2
= 0 ;
11334 PyObject
* obj3
= 0 ;
11335 PyObject
* obj4
= 0 ;
11336 char * kwnames
[] = {
11337 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11342 if (!SWIG_IsOK(res1
)) {
11343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11345 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11347 if (!SWIG_IsOK(ecode2
)) {
11348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11350 arg2
= static_cast< int >(val2
);
11351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11352 if (!SWIG_IsOK(ecode3
)) {
11353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11355 arg3
= static_cast< int >(val3
);
11356 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11357 if (!SWIG_IsOK(ecode4
)) {
11358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11360 arg4
= static_cast< int >(val4
);
11361 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11362 if (!SWIG_IsOK(ecode5
)) {
11363 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11365 arg5
= static_cast< int >(val5
);
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11381 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
= 0;
11383 wxRegion
*arg1
= (wxRegion
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 char * kwnames
[] = {
11392 (char *) "self",(char *) "rect", NULL
11395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11397 if (!SWIG_IsOK(res1
)) {
11398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11400 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11403 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11420 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
= 0;
11422 wxRegion
*arg1
= (wxRegion
*) 0 ;
11423 wxRegion
*arg2
= 0 ;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 char * kwnames
[] = {
11432 (char *) "self",(char *) "region", NULL
11435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11437 if (!SWIG_IsOK(res1
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11440 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11442 if (!SWIG_IsOK(res2
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11448 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11464 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
= 0;
11466 wxRegion
*arg1
= (wxRegion
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 PyObject
* obj2
= 0 ;
11485 PyObject
* obj3
= 0 ;
11486 PyObject
* obj4
= 0 ;
11487 char * kwnames
[] = {
11488 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11493 if (!SWIG_IsOK(res1
)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11496 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11498 if (!SWIG_IsOK(ecode2
)) {
11499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11501 arg2
= static_cast< int >(val2
);
11502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11503 if (!SWIG_IsOK(ecode3
)) {
11504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11506 arg3
= static_cast< int >(val3
);
11507 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11508 if (!SWIG_IsOK(ecode4
)) {
11509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11511 arg4
= static_cast< int >(val4
);
11512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11513 if (!SWIG_IsOK(ecode5
)) {
11514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11516 arg5
= static_cast< int >(val5
);
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11532 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
= 0;
11534 wxRegion
*arg1
= (wxRegion
*) 0 ;
11540 PyObject
* obj0
= 0 ;
11541 PyObject
* obj1
= 0 ;
11542 char * kwnames
[] = {
11543 (char *) "self",(char *) "rect", NULL
11546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11548 if (!SWIG_IsOK(res1
)) {
11549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11551 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11554 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11571 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
= 0;
11573 wxRegion
*arg1
= (wxRegion
*) 0 ;
11574 wxRegion
*arg2
= 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char * kwnames
[] = {
11583 (char *) "self",(char *) "region", NULL
11586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11588 if (!SWIG_IsOK(res1
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11591 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11593 if (!SWIG_IsOK(res2
)) {
11594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11599 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11615 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
= 0;
11617 wxRegion
*arg1
= (wxRegion
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 PyObject
* obj1
= 0 ;
11635 PyObject
* obj2
= 0 ;
11636 PyObject
* obj3
= 0 ;
11637 PyObject
* obj4
= 0 ;
11638 char * kwnames
[] = {
11639 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11644 if (!SWIG_IsOK(res1
)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11647 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11649 if (!SWIG_IsOK(ecode2
)) {
11650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11652 arg2
= static_cast< int >(val2
);
11653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11654 if (!SWIG_IsOK(ecode3
)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11657 arg3
= static_cast< int >(val3
);
11658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11659 if (!SWIG_IsOK(ecode4
)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11662 arg4
= static_cast< int >(val4
);
11663 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11664 if (!SWIG_IsOK(ecode5
)) {
11665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11667 arg5
= static_cast< int >(val5
);
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11683 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
= 0;
11685 wxRegion
*arg1
= (wxRegion
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 PyObject
* obj1
= 0 ;
11693 char * kwnames
[] = {
11694 (char *) "self",(char *) "rect", NULL
11697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11699 if (!SWIG_IsOK(res1
)) {
11700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11702 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11705 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11722 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
= 0;
11724 wxRegion
*arg1
= (wxRegion
*) 0 ;
11725 wxRegion
*arg2
= 0 ;
11731 PyObject
* obj0
= 0 ;
11732 PyObject
* obj1
= 0 ;
11733 char * kwnames
[] = {
11734 (char *) "self",(char *) "region", NULL
11737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11739 if (!SWIG_IsOK(res1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11742 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11744 if (!SWIG_IsOK(res2
)) {
11745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11750 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11766 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11767 PyObject
*resultobj
= 0;
11768 wxRegion
*arg1
= (wxRegion
*) 0 ;
11769 SwigValueWrapper
<wxBitmap
> result
;
11772 PyObject
*swig_obj
[1] ;
11774 if (!args
) SWIG_fail
;
11775 swig_obj
[0] = args
;
11776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11777 if (!SWIG_IsOK(res1
)) {
11778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11780 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (arg1
)->ConvertToBitmap();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11794 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
= 0;
11796 wxRegion
*arg1
= (wxRegion
*) 0 ;
11797 wxBitmap
*arg2
= 0 ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 char * kwnames
[] = {
11806 (char *) "self",(char *) "bmp", NULL
11809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11811 if (!SWIG_IsOK(res1
)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11814 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11816 if (!SWIG_IsOK(res2
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11822 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11838 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
= 0;
11840 wxRegion
*arg1
= (wxRegion
*) 0 ;
11841 wxBitmap
*arg2
= 0 ;
11842 wxColour
*arg3
= 0 ;
11843 int arg4
= (int) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 PyObject
* obj2
= 0 ;
11855 PyObject
* obj3
= 0 ;
11856 char * kwnames
[] = {
11857 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11862 if (!SWIG_IsOK(res1
)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11865 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11867 if (!SWIG_IsOK(res2
)) {
11868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11873 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11876 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11879 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11880 if (!SWIG_IsOK(ecode4
)) {
11881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11883 arg4
= static_cast< int >(val4
);
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11900 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11903 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11904 return SWIG_Py_Void();
11907 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11908 return SWIG_Python_InitShadowInstance(args
);
11911 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
= 0;
11913 wxRegion
*arg1
= 0 ;
11914 wxRegionIterator
*result
= 0 ;
11917 PyObject
* obj0
= 0 ;
11918 char * kwnames
[] = {
11919 (char *) "region", NULL
11922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11923 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11924 if (!SWIG_IsOK(res1
)) {
11925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11930 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11932 if (!wxPyCheckForApp()) SWIG_fail
;
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11945 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11946 PyObject
*resultobj
= 0;
11947 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11950 PyObject
*swig_obj
[1] ;
11952 if (!args
) SWIG_fail
;
11953 swig_obj
[0] = args
;
11954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11955 if (!SWIG_IsOK(res1
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11958 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_Py_Void();
11973 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11974 PyObject
*resultobj
= 0;
11975 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11979 PyObject
*swig_obj
[1] ;
11981 if (!args
) SWIG_fail
;
11982 swig_obj
[0] = args
;
11983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11984 if (!SWIG_IsOK(res1
)) {
11985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11987 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (int)(arg1
)->GetX();
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_From_int(static_cast< int >(result
));
12001 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12002 PyObject
*resultobj
= 0;
12003 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12007 PyObject
*swig_obj
[1] ;
12009 if (!args
) SWIG_fail
;
12010 swig_obj
[0] = args
;
12011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12012 if (!SWIG_IsOK(res1
)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12015 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (int)(arg1
)->GetY();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_From_int(static_cast< int >(result
));
12029 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12030 PyObject
*resultobj
= 0;
12031 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12035 PyObject
*swig_obj
[1] ;
12037 if (!args
) SWIG_fail
;
12038 swig_obj
[0] = args
;
12039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12040 if (!SWIG_IsOK(res1
)) {
12041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12043 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (int)(arg1
)->GetW();
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= SWIG_From_int(static_cast< int >(result
));
12057 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12058 PyObject
*resultobj
= 0;
12059 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12063 PyObject
*swig_obj
[1] ;
12065 if (!args
) SWIG_fail
;
12066 swig_obj
[0] = args
;
12067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12068 if (!SWIG_IsOK(res1
)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12071 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= (int)(arg1
)->GetWidth();
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= SWIG_From_int(static_cast< int >(result
));
12085 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12086 PyObject
*resultobj
= 0;
12087 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12091 PyObject
*swig_obj
[1] ;
12093 if (!args
) SWIG_fail
;
12094 swig_obj
[0] = args
;
12095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12096 if (!SWIG_IsOK(res1
)) {
12097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12099 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 result
= (int)(arg1
)->GetH();
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_From_int(static_cast< int >(result
));
12113 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12114 PyObject
*resultobj
= 0;
12115 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12119 PyObject
*swig_obj
[1] ;
12121 if (!args
) SWIG_fail
;
12122 swig_obj
[0] = args
;
12123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12124 if (!SWIG_IsOK(res1
)) {
12125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12127 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (int)(arg1
)->GetHeight();
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 resultobj
= SWIG_From_int(static_cast< int >(result
));
12141 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12142 PyObject
*resultobj
= 0;
12143 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12147 PyObject
*swig_obj
[1] ;
12149 if (!args
) SWIG_fail
;
12150 swig_obj
[0] = args
;
12151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12152 if (!SWIG_IsOK(res1
)) {
12153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12155 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 result
= (arg1
)->GetRect();
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12169 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12170 PyObject
*resultobj
= 0;
12171 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12175 PyObject
*swig_obj
[1] ;
12177 if (!args
) SWIG_fail
;
12178 swig_obj
[0] = args
;
12179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12183 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= (bool)(arg1
)->HaveRects();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12199 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 PyObject
*resultobj
= 0;
12201 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12204 PyObject
*swig_obj
[1] ;
12206 if (!args
) SWIG_fail
;
12207 swig_obj
[0] = args
;
12208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12212 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_Py_Void();
12226 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12227 PyObject
*resultobj
= 0;
12228 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12231 PyObject
*swig_obj
[1] ;
12233 if (!args
) SWIG_fail
;
12234 swig_obj
[0] = args
;
12235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12236 if (!SWIG_IsOK(res1
)) {
12237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12239 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 wxRegionIterator_Next(arg1
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= SWIG_Py_Void();
12253 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12254 PyObject
*resultobj
= 0;
12255 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12259 PyObject
*swig_obj
[1] ;
12261 if (!args
) SWIG_fail
;
12262 swig_obj
[0] = args
;
12263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12264 if (!SWIG_IsOK(res1
)) {
12265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12267 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12283 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12286 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12287 return SWIG_Py_Void();
12290 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12291 return SWIG_Python_InitShadowInstance(args
);
12294 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 PyObject
*resultobj
= 0;
12296 wxNativeFontInfo
*result
= 0 ;
12298 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12312 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12313 PyObject
*resultobj
= 0;
12314 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12317 PyObject
*swig_obj
[1] ;
12319 if (!args
) SWIG_fail
;
12320 swig_obj
[0] = args
;
12321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12322 if (!SWIG_IsOK(res1
)) {
12323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12325 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 resultobj
= SWIG_Py_Void();
12340 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12341 PyObject
*resultobj
= 0;
12342 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12345 PyObject
*swig_obj
[1] ;
12347 if (!args
) SWIG_fail
;
12348 swig_obj
[0] = args
;
12349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12350 if (!SWIG_IsOK(res1
)) {
12351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12353 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_Py_Void();
12367 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
= 0;
12369 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 char * kwnames
[] = {
12378 (char *) "self",(char *) "font", NULL
12381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12383 if (!SWIG_IsOK(res1
)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12386 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12387 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12388 if (!SWIG_IsOK(res2
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12394 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= SWIG_Py_Void();
12408 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12409 PyObject
*resultobj
= 0;
12410 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12414 PyObject
*swig_obj
[1] ;
12416 if (!args
) SWIG_fail
;
12417 swig_obj
[0] = args
;
12418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12419 if (!SWIG_IsOK(res1
)) {
12420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12422 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_From_int(static_cast< int >(result
));
12436 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12437 PyObject
*resultobj
= 0;
12438 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12442 PyObject
*swig_obj
[1] ;
12444 if (!args
) SWIG_fail
;
12445 swig_obj
[0] = args
;
12446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12447 if (!SWIG_IsOK(res1
)) {
12448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12450 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12464 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12465 PyObject
*resultobj
= 0;
12466 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12467 wxFontStyle result
;
12470 PyObject
*swig_obj
[1] ;
12472 if (!args
) SWIG_fail
;
12473 swig_obj
[0] = args
;
12474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12475 if (!SWIG_IsOK(res1
)) {
12476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12478 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_From_int(static_cast< int >(result
));
12492 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12493 PyObject
*resultobj
= 0;
12494 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12495 wxFontWeight result
;
12498 PyObject
*swig_obj
[1] ;
12500 if (!args
) SWIG_fail
;
12501 swig_obj
[0] = args
;
12502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12503 if (!SWIG_IsOK(res1
)) {
12504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12506 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_From_int(static_cast< int >(result
));
12520 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12521 PyObject
*resultobj
= 0;
12522 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12526 PyObject
*swig_obj
[1] ;
12528 if (!args
) SWIG_fail
;
12529 swig_obj
[0] = args
;
12530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12531 if (!SWIG_IsOK(res1
)) {
12532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12534 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12550 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12551 PyObject
*resultobj
= 0;
12552 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12556 PyObject
*swig_obj
[1] ;
12558 if (!args
) SWIG_fail
;
12559 swig_obj
[0] = args
;
12560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12561 if (!SWIG_IsOK(res1
)) {
12562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12564 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12584 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12585 PyObject
*resultobj
= 0;
12586 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12587 wxFontFamily result
;
12590 PyObject
*swig_obj
[1] ;
12592 if (!args
) SWIG_fail
;
12593 swig_obj
[0] = args
;
12594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12595 if (!SWIG_IsOK(res1
)) {
12596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12598 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_From_int(static_cast< int >(result
));
12612 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12615 wxFontEncoding result
;
12618 PyObject
*swig_obj
[1] ;
12620 if (!args
) SWIG_fail
;
12621 swig_obj
[0] = args
;
12622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12626 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= SWIG_From_int(static_cast< int >(result
));
12640 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
= 0;
12642 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char * kwnames
[] = {
12651 (char *) "self",(char *) "pointsize", NULL
12654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12659 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12661 if (!SWIG_IsOK(ecode2
)) {
12662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12664 arg2
= static_cast< int >(val2
);
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->SetPointSize(arg2
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= SWIG_Py_Void();
12678 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
= 0;
12680 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12685 PyObject
* obj0
= 0 ;
12686 PyObject
* obj1
= 0 ;
12687 char * kwnames
[] = {
12688 (char *) "self",(char *) "pixelSize", NULL
12691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12693 if (!SWIG_IsOK(res1
)) {
12694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12696 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12699 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
= 0;
12716 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 PyObject
* obj1
= 0 ;
12724 char * kwnames
[] = {
12725 (char *) "self",(char *) "style", NULL
12728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12730 if (!SWIG_IsOK(res1
)) {
12731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12733 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12735 if (!SWIG_IsOK(ecode2
)) {
12736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12738 arg2
= static_cast< wxFontStyle
>(val2
);
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 (arg1
)->SetStyle(arg2
);
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= SWIG_Py_Void();
12752 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
= 0;
12754 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12755 wxFontWeight arg2
;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 char * kwnames
[] = {
12763 (char *) "self",(char *) "weight", NULL
12766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12768 if (!SWIG_IsOK(res1
)) {
12769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12771 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12773 if (!SWIG_IsOK(ecode2
)) {
12774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12776 arg2
= static_cast< wxFontWeight
>(val2
);
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 (arg1
)->SetWeight(arg2
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_Py_Void();
12790 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= 0;
12792 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 char * kwnames
[] = {
12801 (char *) "self",(char *) "underlined", NULL
12804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12806 if (!SWIG_IsOK(res1
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12809 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12810 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12811 if (!SWIG_IsOK(ecode2
)) {
12812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12814 arg2
= static_cast< bool >(val2
);
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->SetUnderlined(arg2
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_Py_Void();
12828 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
= 0;
12830 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12835 PyObject
* obj0
= 0 ;
12836 PyObject
* obj1
= 0 ;
12837 char * kwnames
[] = {
12838 (char *) "self",(char *) "facename", NULL
12841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12843 if (!SWIG_IsOK(res1
)) {
12844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12846 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12848 wxString
* sptr
= wxString_in_helper(obj1
);
12849 if (sptr
== NULL
) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (bool)(arg1
)->SetFaceName(arg2
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12868 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
= 0;
12870 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12871 wxFontFamily arg2
;
12876 PyObject
* obj0
= 0 ;
12877 PyObject
* obj1
= 0 ;
12878 char * kwnames
[] = {
12879 (char *) "self",(char *) "family", NULL
12882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12884 if (!SWIG_IsOK(res1
)) {
12885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12887 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12889 if (!SWIG_IsOK(ecode2
)) {
12890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12892 arg2
= static_cast< wxFontFamily
>(val2
);
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 (arg1
)->SetFamily(arg2
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= SWIG_Py_Void();
12906 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
= 0;
12908 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12909 wxFontEncoding arg2
;
12914 PyObject
* obj0
= 0 ;
12915 PyObject
* obj1
= 0 ;
12916 char * kwnames
[] = {
12917 (char *) "self",(char *) "encoding", NULL
12920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12922 if (!SWIG_IsOK(res1
)) {
12923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12925 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12927 if (!SWIG_IsOK(ecode2
)) {
12928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12930 arg2
= static_cast< wxFontEncoding
>(val2
);
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 (arg1
)->SetEncoding(arg2
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_Py_Void();
12944 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
= 0;
12946 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12947 wxString
*arg2
= 0 ;
12951 bool temp2
= false ;
12952 PyObject
* obj0
= 0 ;
12953 PyObject
* obj1
= 0 ;
12954 char * kwnames
[] = {
12955 (char *) "self",(char *) "s", NULL
12958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12960 if (!SWIG_IsOK(res1
)) {
12961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12963 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12965 arg2
= wxString_in_helper(obj1
);
12966 if (arg2
== NULL
) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12992 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12993 PyObject
*resultobj
= 0;
12994 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12998 PyObject
*swig_obj
[1] ;
13000 if (!args
) SWIG_fail
;
13001 swig_obj
[0] = args
;
13002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13003 if (!SWIG_IsOK(res1
)) {
13004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13006 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13026 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13027 PyObject
*resultobj
= 0;
13028 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13032 PyObject
*swig_obj
[1] ;
13034 if (!args
) SWIG_fail
;
13035 swig_obj
[0] = args
;
13036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13037 if (!SWIG_IsOK(res1
)) {
13038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13040 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= wxNativeFontInfo___str__(arg1
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13060 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
= 0;
13062 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13063 wxString
*arg2
= 0 ;
13067 bool temp2
= false ;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 char * kwnames
[] = {
13071 (char *) "self",(char *) "s", NULL
13074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13076 if (!SWIG_IsOK(res1
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13079 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13081 arg2
= wxString_in_helper(obj1
);
13082 if (arg2
== NULL
) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13108 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 PyObject
*resultobj
= 0;
13110 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13114 PyObject
*swig_obj
[1] ;
13116 if (!args
) SWIG_fail
;
13117 swig_obj
[0] = args
;
13118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13122 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13142 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13145 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13146 return SWIG_Py_Void();
13149 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13150 return SWIG_Python_InitShadowInstance(args
);
13153 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13154 PyObject
*resultobj
= 0;
13155 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13156 wxString
*arg2
= (wxString
*) 0 ;
13159 bool temp2
= false ;
13160 PyObject
*swig_obj
[2] ;
13162 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13164 if (!SWIG_IsOK(res1
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13167 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13169 arg2
= wxString_in_helper(swig_obj
[1]);
13170 if (arg2
== NULL
) SWIG_fail
;
13173 if (arg1
) (arg1
)->facename
= *arg2
;
13175 resultobj
= SWIG_Py_Void();
13190 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13191 PyObject
*resultobj
= 0;
13192 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13193 wxString
*result
= 0 ;
13196 PyObject
*swig_obj
[1] ;
13198 if (!args
) SWIG_fail
;
13199 swig_obj
[0] = args
;
13200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13201 if (!SWIG_IsOK(res1
)) {
13202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13204 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13205 result
= (wxString
*)& ((arg1
)->facename
);
13208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13219 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13220 PyObject
*resultobj
= 0;
13221 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13222 wxFontEncoding arg2
;
13227 PyObject
*swig_obj
[2] ;
13229 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13231 if (!SWIG_IsOK(res1
)) {
13232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13234 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13235 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13236 if (!SWIG_IsOK(ecode2
)) {
13237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13239 arg2
= static_cast< wxFontEncoding
>(val2
);
13240 if (arg1
) (arg1
)->encoding
= arg2
;
13242 resultobj
= SWIG_Py_Void();
13249 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13250 PyObject
*resultobj
= 0;
13251 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13252 wxFontEncoding result
;
13255 PyObject
*swig_obj
[1] ;
13257 if (!args
) SWIG_fail
;
13258 swig_obj
[0] = args
;
13259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13260 if (!SWIG_IsOK(res1
)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13263 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13264 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13265 resultobj
= SWIG_From_int(static_cast< int >(result
));
13272 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13273 PyObject
*resultobj
= 0;
13274 wxNativeEncodingInfo
*result
= 0 ;
13276 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13290 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13291 PyObject
*resultobj
= 0;
13292 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13295 PyObject
*swig_obj
[1] ;
13297 if (!args
) SWIG_fail
;
13298 swig_obj
[0] = args
;
13299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13300 if (!SWIG_IsOK(res1
)) {
13301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13303 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_Py_Void();
13318 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
= 0;
13320 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13321 wxString
*arg2
= 0 ;
13325 bool temp2
= false ;
13326 PyObject
* obj0
= 0 ;
13327 PyObject
* obj1
= 0 ;
13328 char * kwnames
[] = {
13329 (char *) "self",(char *) "s", NULL
13332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13334 if (!SWIG_IsOK(res1
)) {
13335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13337 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13339 arg2
= wxString_in_helper(obj1
);
13340 if (arg2
== NULL
) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13366 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13367 PyObject
*resultobj
= 0;
13368 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13372 PyObject
*swig_obj
[1] ;
13374 if (!args
) SWIG_fail
;
13375 swig_obj
[0] = args
;
13376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13377 if (!SWIG_IsOK(res1
)) {
13378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13380 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13400 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13403 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13404 return SWIG_Py_Void();
13407 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13408 return SWIG_Python_InitShadowInstance(args
);
13411 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
= 0;
13413 wxFontEncoding arg1
;
13414 wxNativeEncodingInfo
*result
= 0 ;
13417 PyObject
* obj0
= 0 ;
13418 char * kwnames
[] = {
13419 (char *) "encoding", NULL
13422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13424 if (!SWIG_IsOK(ecode1
)) {
13425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13427 arg1
= static_cast< wxFontEncoding
>(val1
);
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13441 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
= 0;
13443 wxNativeEncodingInfo
*arg1
= 0 ;
13447 PyObject
* obj0
= 0 ;
13448 char * kwnames
[] = {
13449 (char *) "info", NULL
13452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13453 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13454 if (!SWIG_IsOK(res1
)) {
13455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13460 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13476 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13477 PyObject
*resultobj
= 0;
13478 wxFontMapper
*result
= 0 ;
13480 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (wxFontMapper
*)new wxFontMapper();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13494 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13495 PyObject
*resultobj
= 0;
13496 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13499 PyObject
*swig_obj
[1] ;
13501 if (!args
) SWIG_fail
;
13502 swig_obj
[0] = args
;
13503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13504 if (!SWIG_IsOK(res1
)) {
13505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13507 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= SWIG_Py_Void();
13522 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13523 PyObject
*resultobj
= 0;
13524 wxFontMapper
*result
= 0 ;
13526 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= (wxFontMapper
*)wxFontMapper::Get();
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13540 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
= 0;
13542 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13543 wxFontMapper
*result
= 0 ;
13546 PyObject
* obj0
= 0 ;
13547 char * kwnames
[] = {
13548 (char *) "mapper", NULL
13551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13553 if (!SWIG_IsOK(res1
)) {
13554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13556 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13570 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
= 0;
13572 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13573 wxString
*arg2
= 0 ;
13574 bool arg3
= (bool) true ;
13575 wxFontEncoding result
;
13578 bool temp2
= false ;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 PyObject
* obj2
= 0 ;
13584 char * kwnames
[] = {
13585 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13590 if (!SWIG_IsOK(res1
)) {
13591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13593 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13595 arg2
= wxString_in_helper(obj1
);
13596 if (arg2
== NULL
) SWIG_fail
;
13600 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13601 if (!SWIG_IsOK(ecode3
)) {
13602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13604 arg3
= static_cast< bool >(val3
);
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_From_int(static_cast< int >(result
));
13627 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13628 PyObject
*resultobj
= 0;
13631 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13645 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
= 0;
13648 wxFontEncoding result
;
13651 PyObject
* obj0
= 0 ;
13652 char * kwnames
[] = {
13656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13657 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13658 if (!SWIG_IsOK(ecode1
)) {
13659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13661 arg1
= static_cast< size_t >(val1
);
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= SWIG_From_int(static_cast< int >(result
));
13675 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
= 0;
13677 wxFontEncoding arg1
;
13681 PyObject
* obj0
= 0 ;
13682 char * kwnames
[] = {
13683 (char *) "encoding", NULL
13686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13688 if (!SWIG_IsOK(ecode1
)) {
13689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13691 arg1
= static_cast< wxFontEncoding
>(val1
);
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= wxFontMapper::GetEncodingName(arg1
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13711 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
= 0;
13713 wxFontEncoding arg1
;
13717 PyObject
* obj0
= 0 ;
13718 char * kwnames
[] = {
13719 (char *) "encoding", NULL
13722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13723 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13724 if (!SWIG_IsOK(ecode1
)) {
13725 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13727 arg1
= static_cast< wxFontEncoding
>(val1
);
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= wxFontMapper::GetEncodingDescription(arg1
);
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13747 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
= 0;
13749 wxString
*arg1
= 0 ;
13750 wxFontEncoding result
;
13751 bool temp1
= false ;
13752 PyObject
* obj0
= 0 ;
13753 char * kwnames
[] = {
13754 (char *) "name", NULL
13757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13759 arg1
= wxString_in_helper(obj0
);
13760 if (arg1
== NULL
) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= SWIG_From_int(static_cast< int >(result
));
13784 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
= 0;
13786 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13787 wxString
*arg2
= 0 ;
13790 bool temp2
= false ;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 char * kwnames
[] = {
13794 (char *) "self",(char *) "prefix", NULL
13797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13799 if (!SWIG_IsOK(res1
)) {
13800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13802 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13804 arg2
= wxString_in_helper(obj1
);
13805 if (arg2
== NULL
) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13814 resultobj
= SWIG_Py_Void();
13829 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13830 PyObject
*resultobj
= 0;
13833 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= wxFontMapper::GetDefaultConfigPath();
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13853 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
= 0;
13855 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13856 wxFontEncoding arg2
;
13857 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13858 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13859 bool arg4
= (bool) true ;
13860 PyObject
*result
= 0 ;
13865 bool temp3
= false ;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 PyObject
* obj2
= 0 ;
13871 PyObject
* obj3
= 0 ;
13872 char * kwnames
[] = {
13873 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13878 if (!SWIG_IsOK(res1
)) {
13879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13881 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13883 if (!SWIG_IsOK(ecode2
)) {
13884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13886 arg2
= static_cast< wxFontEncoding
>(val2
);
13889 arg3
= wxString_in_helper(obj2
);
13890 if (arg3
== NULL
) SWIG_fail
;
13895 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13896 if (!SWIG_IsOK(ecode4
)) {
13897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13899 arg4
= static_cast< bool >(val4
);
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= result
;
13922 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
= 0;
13924 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13925 wxFontEncoding arg2
;
13926 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13927 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13933 bool temp3
= false ;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 PyObject
* obj2
= 0 ;
13937 char * kwnames
[] = {
13938 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13943 if (!SWIG_IsOK(res1
)) {
13944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13946 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13948 if (!SWIG_IsOK(ecode2
)) {
13949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13951 arg2
= static_cast< wxFontEncoding
>(val2
);
13954 arg3
= wxString_in_helper(obj2
);
13955 if (arg3
== NULL
) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13982 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
= 0;
13984 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13985 wxWindow
*arg2
= (wxWindow
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 char * kwnames
[] = {
13993 (char *) "self",(char *) "parent", NULL
13996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13998 if (!SWIG_IsOK(res1
)) {
13999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14001 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14003 if (!SWIG_IsOK(res2
)) {
14004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14006 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 (arg1
)->SetDialogParent(arg2
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= SWIG_Py_Void();
14020 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
= 0;
14022 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14023 wxString
*arg2
= 0 ;
14026 bool temp2
= false ;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 char * kwnames
[] = {
14030 (char *) "self",(char *) "title", NULL
14033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14035 if (!SWIG_IsOK(res1
)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14038 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14040 arg2
= wxString_in_helper(obj1
);
14041 if (arg2
== NULL
) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14047 wxPyEndAllowThreads(__tstate
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14050 resultobj
= SWIG_Py_Void();
14065 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14068 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14069 return SWIG_Py_Void();
14072 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14073 return SWIG_Python_InitShadowInstance(args
);
14076 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
= 0;
14082 bool arg5
= (bool) false ;
14083 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14084 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14085 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14086 wxFont
*result
= 0 ;
14097 bool temp6
= false ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 PyObject
* obj2
= 0 ;
14103 PyObject
* obj3
= 0 ;
14104 PyObject
* obj4
= 0 ;
14105 PyObject
* obj5
= 0 ;
14106 PyObject
* obj6
= 0 ;
14107 char * kwnames
[] = {
14108 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14112 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14113 if (!SWIG_IsOK(ecode1
)) {
14114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14116 arg1
= static_cast< int >(val1
);
14117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14118 if (!SWIG_IsOK(ecode2
)) {
14119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14121 arg2
= static_cast< int >(val2
);
14122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14123 if (!SWIG_IsOK(ecode3
)) {
14124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14126 arg3
= static_cast< int >(val3
);
14127 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14128 if (!SWIG_IsOK(ecode4
)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14131 arg4
= static_cast< int >(val4
);
14133 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14134 if (!SWIG_IsOK(ecode5
)) {
14135 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14137 arg5
= static_cast< bool >(val5
);
14141 arg6
= wxString_in_helper(obj5
);
14142 if (arg6
== NULL
) SWIG_fail
;
14147 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14148 if (!SWIG_IsOK(ecode7
)) {
14149 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14151 arg7
= static_cast< wxFontEncoding
>(val7
);
14154 if (!wxPyCheckForApp()) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14175 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14176 PyObject
*resultobj
= 0;
14177 wxFont
*arg1
= (wxFont
*) 0 ;
14180 PyObject
*swig_obj
[1] ;
14182 if (!args
) SWIG_fail
;
14183 swig_obj
[0] = args
;
14184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14185 if (!SWIG_IsOK(res1
)) {
14186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14188 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_Py_Void();
14203 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
= 0;
14205 wxNativeFontInfo
*arg1
= 0 ;
14206 wxFont
*result
= 0 ;
14209 PyObject
* obj0
= 0 ;
14210 char * kwnames
[] = {
14211 (char *) "info", NULL
14214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14215 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14216 if (!SWIG_IsOK(res1
)) {
14217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14222 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14224 if (!wxPyCheckForApp()) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14237 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
= 0;
14239 wxString
*arg1
= 0 ;
14240 wxFont
*result
= 0 ;
14241 bool temp1
= false ;
14242 PyObject
* obj0
= 0 ;
14243 char * kwnames
[] = {
14244 (char *) "info", NULL
14247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14249 arg1
= wxString_in_helper(obj0
);
14250 if (arg1
== NULL
) SWIG_fail
;
14254 if (!wxPyCheckForApp()) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14275 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
= 0;
14278 wxFontFamily arg2
;
14279 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14280 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14281 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14282 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14283 wxFont
*result
= 0 ;
14290 bool temp4
= false ;
14293 PyObject
* obj0
= 0 ;
14294 PyObject
* obj1
= 0 ;
14295 PyObject
* obj2
= 0 ;
14296 PyObject
* obj3
= 0 ;
14297 PyObject
* obj4
= 0 ;
14298 char * kwnames
[] = {
14299 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14303 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14304 if (!SWIG_IsOK(ecode1
)) {
14305 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14307 arg1
= static_cast< int >(val1
);
14308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14309 if (!SWIG_IsOK(ecode2
)) {
14310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14312 arg2
= static_cast< wxFontFamily
>(val2
);
14314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14315 if (!SWIG_IsOK(ecode3
)) {
14316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14318 arg3
= static_cast< int >(val3
);
14322 arg4
= wxString_in_helper(obj3
);
14323 if (arg4
== NULL
) SWIG_fail
;
14328 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14329 if (!SWIG_IsOK(ecode5
)) {
14330 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14332 arg5
= static_cast< wxFontEncoding
>(val5
);
14335 if (!wxPyCheckForApp()) SWIG_fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14356 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
= 0;
14362 bool arg5
= (bool) false ;
14363 wxString
const &arg6_defvalue
= wxEmptyString
;
14364 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14365 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14366 wxFont
*result
= 0 ;
14376 bool temp6
= false ;
14379 PyObject
* obj0
= 0 ;
14380 PyObject
* obj1
= 0 ;
14381 PyObject
* obj2
= 0 ;
14382 PyObject
* obj3
= 0 ;
14383 PyObject
* obj4
= 0 ;
14384 PyObject
* obj5
= 0 ;
14385 PyObject
* obj6
= 0 ;
14386 char * kwnames
[] = {
14387 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14393 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14396 if (!SWIG_IsOK(ecode2
)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14399 arg2
= static_cast< int >(val2
);
14400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14401 if (!SWIG_IsOK(ecode3
)) {
14402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14404 arg3
= static_cast< int >(val3
);
14405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14406 if (!SWIG_IsOK(ecode4
)) {
14407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14409 arg4
= static_cast< int >(val4
);
14411 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14412 if (!SWIG_IsOK(ecode5
)) {
14413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14415 arg5
= static_cast< bool >(val5
);
14419 arg6
= wxString_in_helper(obj5
);
14420 if (arg6
== NULL
) SWIG_fail
;
14425 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14426 if (!SWIG_IsOK(ecode7
)) {
14427 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14429 arg7
= static_cast< wxFontEncoding
>(val7
);
14432 if (!wxPyCheckForApp()) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14453 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
= 0;
14456 wxFontFamily arg2
;
14457 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14458 wxString
const &arg4_defvalue
= wxEmptyString
;
14459 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14460 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14461 wxFont
*result
= 0 ;
14467 bool temp4
= false ;
14470 PyObject
* obj0
= 0 ;
14471 PyObject
* obj1
= 0 ;
14472 PyObject
* obj2
= 0 ;
14473 PyObject
* obj3
= 0 ;
14474 PyObject
* obj4
= 0 ;
14475 char * kwnames
[] = {
14476 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14482 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14485 if (!SWIG_IsOK(ecode2
)) {
14486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14488 arg2
= static_cast< wxFontFamily
>(val2
);
14490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14491 if (!SWIG_IsOK(ecode3
)) {
14492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14494 arg3
= static_cast< int >(val3
);
14498 arg4
= wxString_in_helper(obj3
);
14499 if (arg4
== NULL
) SWIG_fail
;
14504 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14505 if (!SWIG_IsOK(ecode5
)) {
14506 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14508 arg5
= static_cast< wxFontEncoding
>(val5
);
14511 if (!wxPyCheckForApp()) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14532 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14533 PyObject
*resultobj
= 0;
14534 wxFont
*arg1
= (wxFont
*) 0 ;
14538 PyObject
*swig_obj
[1] ;
14540 if (!args
) SWIG_fail
;
14541 swig_obj
[0] = args
;
14542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14543 if (!SWIG_IsOK(res1
)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14546 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14562 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
= 0;
14564 wxFont
*arg1
= (wxFont
*) 0 ;
14565 wxFont
*arg2
= (wxFont
*) 0 ;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 char * kwnames
[] = {
14574 (char *) "self",(char *) "other", NULL
14577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14579 if (!SWIG_IsOK(res1
)) {
14580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14582 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14584 if (!SWIG_IsOK(res2
)) {
14585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14587 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14603 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
= 0;
14605 wxFont
*arg1
= (wxFont
*) 0 ;
14606 wxFont
*arg2
= (wxFont
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 PyObject
* obj1
= 0 ;
14614 char * kwnames
[] = {
14615 (char *) "self",(char *) "other", NULL
14618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14620 if (!SWIG_IsOK(res1
)) {
14621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14623 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14625 if (!SWIG_IsOK(res2
)) {
14626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14628 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14644 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14645 PyObject
*resultobj
= 0;
14646 wxFont
*arg1
= (wxFont
*) 0 ;
14650 PyObject
*swig_obj
[1] ;
14652 if (!args
) SWIG_fail
;
14653 swig_obj
[0] = args
;
14654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14655 if (!SWIG_IsOK(res1
)) {
14656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14658 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= SWIG_From_int(static_cast< int >(result
));
14672 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14673 PyObject
*resultobj
= 0;
14674 wxFont
*arg1
= (wxFont
*) 0 ;
14678 PyObject
*swig_obj
[1] ;
14680 if (!args
) SWIG_fail
;
14681 swig_obj
[0] = args
;
14682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14683 if (!SWIG_IsOK(res1
)) {
14684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14686 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14700 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14701 PyObject
*resultobj
= 0;
14702 wxFont
*arg1
= (wxFont
*) 0 ;
14706 PyObject
*swig_obj
[1] ;
14708 if (!args
) SWIG_fail
;
14709 swig_obj
[0] = args
;
14710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14711 if (!SWIG_IsOK(res1
)) {
14712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14714 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14730 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14731 PyObject
*resultobj
= 0;
14732 wxFont
*arg1
= (wxFont
*) 0 ;
14736 PyObject
*swig_obj
[1] ;
14738 if (!args
) SWIG_fail
;
14739 swig_obj
[0] = args
;
14740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14741 if (!SWIG_IsOK(res1
)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14744 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_From_int(static_cast< int >(result
));
14758 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14759 PyObject
*resultobj
= 0;
14760 wxFont
*arg1
= (wxFont
*) 0 ;
14764 PyObject
*swig_obj
[1] ;
14766 if (!args
) SWIG_fail
;
14767 swig_obj
[0] = args
;
14768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14769 if (!SWIG_IsOK(res1
)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14772 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= SWIG_From_int(static_cast< int >(result
));
14786 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14787 PyObject
*resultobj
= 0;
14788 wxFont
*arg1
= (wxFont
*) 0 ;
14792 PyObject
*swig_obj
[1] ;
14794 if (!args
) SWIG_fail
;
14795 swig_obj
[0] = args
;
14796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14797 if (!SWIG_IsOK(res1
)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14800 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= SWIG_From_int(static_cast< int >(result
));
14814 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14815 PyObject
*resultobj
= 0;
14816 wxFont
*arg1
= (wxFont
*) 0 ;
14820 PyObject
*swig_obj
[1] ;
14822 if (!args
) SWIG_fail
;
14823 swig_obj
[0] = args
;
14824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14825 if (!SWIG_IsOK(res1
)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14828 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14844 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(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_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14858 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= ((wxFont
const *)arg1
)->GetFaceName();
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_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14879 PyObject
*resultobj
= 0;
14880 wxFont
*arg1
= (wxFont
*) 0 ;
14881 wxFontEncoding result
;
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_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14892 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_From_int(static_cast< int >(result
));
14906 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14907 PyObject
*resultobj
= 0;
14908 wxFont
*arg1
= (wxFont
*) 0 ;
14909 wxNativeFontInfo
*result
= 0 ;
14912 PyObject
*swig_obj
[1] ;
14914 if (!args
) SWIG_fail
;
14915 swig_obj
[0] = args
;
14916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14917 if (!SWIG_IsOK(res1
)) {
14918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14920 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14934 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14935 PyObject
*resultobj
= 0;
14936 wxFont
*arg1
= (wxFont
*) 0 ;
14940 PyObject
*swig_obj
[1] ;
14942 if (!args
) SWIG_fail
;
14943 swig_obj
[0] = args
;
14944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14945 if (!SWIG_IsOK(res1
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14948 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14964 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14965 PyObject
*resultobj
= 0;
14966 wxFont
*arg1
= (wxFont
*) 0 ;
14970 PyObject
*swig_obj
[1] ;
14972 if (!args
) SWIG_fail
;
14973 swig_obj
[0] = args
;
14974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14975 if (!SWIG_IsOK(res1
)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14978 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14998 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14999 PyObject
*resultobj
= 0;
15000 wxFont
*arg1
= (wxFont
*) 0 ;
15004 PyObject
*swig_obj
[1] ;
15006 if (!args
) SWIG_fail
;
15007 swig_obj
[0] = args
;
15008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15009 if (!SWIG_IsOK(res1
)) {
15010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15012 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15032 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
= 0;
15034 wxFont
*arg1
= (wxFont
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 PyObject
* obj1
= 0 ;
15042 char * kwnames
[] = {
15043 (char *) "self",(char *) "pointSize", NULL
15046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15048 if (!SWIG_IsOK(res1
)) {
15049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15051 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15053 if (!SWIG_IsOK(ecode2
)) {
15054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15056 arg2
= static_cast< int >(val2
);
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 (arg1
)->SetPointSize(arg2
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_Py_Void();
15070 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
= 0;
15072 wxFont
*arg1
= (wxFont
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char * kwnames
[] = {
15080 (char *) "self",(char *) "pixelSize", NULL
15083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15085 if (!SWIG_IsOK(res1
)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15088 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15091 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_Py_Void();
15106 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
= 0;
15108 wxFont
*arg1
= (wxFont
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 char * kwnames
[] = {
15117 (char *) "self",(char *) "family", NULL
15120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15122 if (!SWIG_IsOK(res1
)) {
15123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15125 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15127 if (!SWIG_IsOK(ecode2
)) {
15128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15130 arg2
= static_cast< int >(val2
);
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 (arg1
)->SetFamily(arg2
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_Py_Void();
15144 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
= 0;
15146 wxFont
*arg1
= (wxFont
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char * kwnames
[] = {
15155 (char *) "self",(char *) "style", NULL
15158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15160 if (!SWIG_IsOK(res1
)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15163 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15165 if (!SWIG_IsOK(ecode2
)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15168 arg2
= static_cast< int >(val2
);
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 (arg1
)->SetStyle(arg2
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_Py_Void();
15182 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
= 0;
15184 wxFont
*arg1
= (wxFont
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 char * kwnames
[] = {
15193 (char *) "self",(char *) "weight", NULL
15196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15198 if (!SWIG_IsOK(res1
)) {
15199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15201 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15203 if (!SWIG_IsOK(ecode2
)) {
15204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15206 arg2
= static_cast< int >(val2
);
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 (arg1
)->SetWeight(arg2
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= SWIG_Py_Void();
15220 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
= 0;
15222 wxFont
*arg1
= (wxFont
*) 0 ;
15223 wxString
*arg2
= 0 ;
15227 bool temp2
= false ;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 char * kwnames
[] = {
15231 (char *) "self",(char *) "faceName", NULL
15234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15236 if (!SWIG_IsOK(res1
)) {
15237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15239 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15241 arg2
= wxString_in_helper(obj1
);
15242 if (arg2
== NULL
) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15268 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
= 0;
15270 wxFont
*arg1
= (wxFont
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 char * kwnames
[] = {
15279 (char *) "self",(char *) "underlined", NULL
15282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15284 if (!SWIG_IsOK(res1
)) {
15285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15287 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15288 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15289 if (!SWIG_IsOK(ecode2
)) {
15290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15292 arg2
= static_cast< bool >(val2
);
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 (arg1
)->SetUnderlined(arg2
);
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 resultobj
= SWIG_Py_Void();
15306 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
= 0;
15308 wxFont
*arg1
= (wxFont
*) 0 ;
15309 wxFontEncoding arg2
;
15314 PyObject
* obj0
= 0 ;
15315 PyObject
* obj1
= 0 ;
15316 char * kwnames
[] = {
15317 (char *) "self",(char *) "encoding", NULL
15320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15322 if (!SWIG_IsOK(res1
)) {
15323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15325 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15327 if (!SWIG_IsOK(ecode2
)) {
15328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15330 arg2
= static_cast< wxFontEncoding
>(val2
);
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 (arg1
)->SetEncoding(arg2
);
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= SWIG_Py_Void();
15344 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
= 0;
15346 wxFont
*arg1
= (wxFont
*) 0 ;
15347 wxNativeFontInfo
*arg2
= 0 ;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15354 char * kwnames
[] = {
15355 (char *) "self",(char *) "info", NULL
15358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15360 if (!SWIG_IsOK(res1
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15363 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15365 if (!SWIG_IsOK(res2
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15371 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_Py_Void();
15385 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
= 0;
15387 wxFont
*arg1
= (wxFont
*) 0 ;
15388 wxString
*arg2
= 0 ;
15392 bool temp2
= false ;
15393 PyObject
* obj0
= 0 ;
15394 PyObject
* obj1
= 0 ;
15395 char * kwnames
[] = {
15396 (char *) "self",(char *) "info", NULL
15399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15401 if (!SWIG_IsOK(res1
)) {
15402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15404 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15406 arg2
= wxString_in_helper(obj1
);
15407 if (arg2
== NULL
) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15433 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
= 0;
15435 wxFont
*arg1
= (wxFont
*) 0 ;
15436 wxString
*arg2
= 0 ;
15440 bool temp2
= false ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 char * kwnames
[] = {
15444 (char *) "self",(char *) "info", NULL
15447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15449 if (!SWIG_IsOK(res1
)) {
15450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15452 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15454 arg2
= wxString_in_helper(obj1
);
15455 if (arg2
== NULL
) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15481 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15482 PyObject
*resultobj
= 0;
15483 wxFont
*arg1
= (wxFont
*) 0 ;
15487 PyObject
*swig_obj
[1] ;
15489 if (!args
) SWIG_fail
;
15490 swig_obj
[0] = args
;
15491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15492 if (!SWIG_IsOK(res1
)) {
15493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15495 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15515 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15516 PyObject
*resultobj
= 0;
15517 wxFont
*arg1
= (wxFont
*) 0 ;
15521 PyObject
*swig_obj
[1] ;
15523 if (!args
) SWIG_fail
;
15524 swig_obj
[0] = args
;
15525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15526 if (!SWIG_IsOK(res1
)) {
15527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15529 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= ((wxFont
const *)arg1
)->GetStyleString();
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15549 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15550 PyObject
*resultobj
= 0;
15551 wxFont
*arg1
= (wxFont
*) 0 ;
15555 PyObject
*swig_obj
[1] ;
15557 if (!args
) SWIG_fail
;
15558 swig_obj
[0] = args
;
15559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15560 if (!SWIG_IsOK(res1
)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15563 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= ((wxFont
const *)arg1
)->GetWeightString();
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15583 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
= 0;
15585 wxFont
*arg1
= (wxFont
*) 0 ;
15586 bool arg2
= (bool) true ;
15591 PyObject
* obj0
= 0 ;
15592 PyObject
* obj1
= 0 ;
15593 char * kwnames
[] = {
15594 (char *) "self",(char *) "no", NULL
15597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15599 if (!SWIG_IsOK(res1
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15602 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15604 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15605 if (!SWIG_IsOK(ecode2
)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15608 arg2
= static_cast< bool >(val2
);
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 (arg1
)->SetNoAntiAliasing(arg2
);
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= SWIG_Py_Void();
15623 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15624 PyObject
*resultobj
= 0;
15625 wxFont
*arg1
= (wxFont
*) 0 ;
15629 PyObject
*swig_obj
[1] ;
15631 if (!args
) SWIG_fail
;
15632 swig_obj
[0] = args
;
15633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15634 if (!SWIG_IsOK(res1
)) {
15635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15637 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15653 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15654 PyObject
*resultobj
= 0;
15655 wxFontEncoding result
;
15657 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15659 if (!wxPyCheckForApp()) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15665 resultobj
= SWIG_From_int(static_cast< int >(result
));
15672 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
= 0;
15674 wxFontEncoding arg1
;
15677 PyObject
* obj0
= 0 ;
15678 char * kwnames
[] = {
15679 (char *) "encoding", NULL
15682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15683 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15684 if (!SWIG_IsOK(ecode1
)) {
15685 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15687 arg1
= static_cast< wxFontEncoding
>(val1
);
15689 if (!wxPyCheckForApp()) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 wxFont::SetDefaultEncoding(arg1
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= SWIG_Py_Void();
15702 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15705 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15706 return SWIG_Py_Void();
15709 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15710 return SWIG_Python_InitShadowInstance(args
);
15713 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15714 PyObject
*resultobj
= 0;
15715 wxPyFontEnumerator
*result
= 0 ;
15717 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15719 if (!wxPyCheckForApp()) SWIG_fail
;
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15732 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15733 PyObject
*resultobj
= 0;
15734 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15737 PyObject
*swig_obj
[1] ;
15739 if (!args
) SWIG_fail
;
15740 swig_obj
[0] = args
;
15741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15742 if (!SWIG_IsOK(res1
)) {
15743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15745 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= SWIG_Py_Void();
15760 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
= 0;
15762 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15763 PyObject
*arg2
= (PyObject
*) 0 ;
15764 PyObject
*arg3
= (PyObject
*) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 PyObject
* obj2
= 0 ;
15773 PyObject
* obj3
= 0 ;
15774 char * kwnames
[] = {
15775 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15780 if (!SWIG_IsOK(res1
)) {
15781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15783 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15786 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15787 if (!SWIG_IsOK(ecode4
)) {
15788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15790 arg4
= static_cast< bool >(val4
);
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= SWIG_Py_Void();
15804 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
= 0;
15806 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15807 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15808 bool arg3
= (bool) false ;
15816 PyObject
* obj0
= 0 ;
15817 PyObject
* obj1
= 0 ;
15818 PyObject
* obj2
= 0 ;
15819 char * kwnames
[] = {
15820 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15825 if (!SWIG_IsOK(res1
)) {
15826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15828 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15831 if (!SWIG_IsOK(ecode2
)) {
15832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15834 arg2
= static_cast< wxFontEncoding
>(val2
);
15837 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15838 if (!SWIG_IsOK(ecode3
)) {
15839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15841 arg3
= static_cast< bool >(val3
);
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15858 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15859 PyObject
*resultobj
= 0;
15860 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15861 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15862 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15866 bool temp2
= false ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 char * kwnames
[] = {
15870 (char *) "self",(char *) "facename", NULL
15873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15875 if (!SWIG_IsOK(res1
)) {
15876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15878 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15881 arg2
= wxString_in_helper(obj1
);
15882 if (arg2
== NULL
) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15909 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15910 PyObject
*resultobj
= 0;
15911 PyObject
*result
= 0 ;
15913 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= result
;
15927 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15928 PyObject
*resultobj
= 0;
15929 PyObject
*result
= 0 ;
15931 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= result
;
15945 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
= 0;
15947 wxString
*arg1
= 0 ;
15949 bool temp1
= false ;
15950 PyObject
* obj0
= 0 ;
15951 char * kwnames
[] = {
15952 (char *) "str", NULL
15955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15957 arg1
= wxString_in_helper(obj0
);
15958 if (arg1
== NULL
) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15984 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15987 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15988 return SWIG_Py_Void();
15991 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15992 return SWIG_Python_InitShadowInstance(args
);
15995 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15996 PyObject
*resultobj
= 0;
15997 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16003 PyObject
*swig_obj
[2] ;
16005 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16007 if (!SWIG_IsOK(res1
)) {
16008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16010 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16011 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16012 if (!SWIG_IsOK(ecode2
)) {
16013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16015 arg2
= static_cast< int >(val2
);
16016 if (arg1
) (arg1
)->Language
= arg2
;
16018 resultobj
= SWIG_Py_Void();
16025 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16026 PyObject
*resultobj
= 0;
16027 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16031 PyObject
*swig_obj
[1] ;
16033 if (!args
) SWIG_fail
;
16034 swig_obj
[0] = args
;
16035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16036 if (!SWIG_IsOK(res1
)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16039 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16040 result
= (int) ((arg1
)->Language
);
16041 resultobj
= SWIG_From_int(static_cast< int >(result
));
16048 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16049 PyObject
*resultobj
= 0;
16050 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16051 wxString
*arg2
= (wxString
*) 0 ;
16054 bool temp2
= false ;
16055 PyObject
*swig_obj
[2] ;
16057 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16059 if (!SWIG_IsOK(res1
)) {
16060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16062 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16064 arg2
= wxString_in_helper(swig_obj
[1]);
16065 if (arg2
== NULL
) SWIG_fail
;
16068 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16070 resultobj
= SWIG_Py_Void();
16085 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16086 PyObject
*resultobj
= 0;
16087 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16088 wxString
*result
= 0 ;
16091 PyObject
*swig_obj
[1] ;
16093 if (!args
) SWIG_fail
;
16094 swig_obj
[0] = args
;
16095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16096 if (!SWIG_IsOK(res1
)) {
16097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16099 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16100 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16103 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16105 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16114 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16115 PyObject
*resultobj
= 0;
16116 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16117 wxString
*arg2
= (wxString
*) 0 ;
16120 bool temp2
= false ;
16121 PyObject
*swig_obj
[2] ;
16123 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16125 if (!SWIG_IsOK(res1
)) {
16126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16128 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16130 arg2
= wxString_in_helper(swig_obj
[1]);
16131 if (arg2
== NULL
) SWIG_fail
;
16134 if (arg1
) (arg1
)->Description
= *arg2
;
16136 resultobj
= SWIG_Py_Void();
16151 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16152 PyObject
*resultobj
= 0;
16153 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16154 wxString
*result
= 0 ;
16157 PyObject
*swig_obj
[1] ;
16159 if (!args
) SWIG_fail
;
16160 swig_obj
[0] = args
;
16161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16162 if (!SWIG_IsOK(res1
)) {
16163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16165 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16166 result
= (wxString
*)& ((arg1
)->Description
);
16169 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16171 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16180 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16183 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16184 return SWIG_Py_Void();
16187 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
= 0;
16189 int arg1
= (int) -1 ;
16190 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16191 wxLocale
*result
= 0 ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char * kwnames
[] = {
16199 (char *) "language",(char *) "flags", NULL
16202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16204 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16205 if (!SWIG_IsOK(ecode1
)) {
16206 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16208 arg1
= static_cast< int >(val1
);
16211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16212 if (!SWIG_IsOK(ecode2
)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16215 arg2
= static_cast< int >(val2
);
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16230 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16231 PyObject
*resultobj
= 0;
16232 wxLocale
*arg1
= (wxLocale
*) 0 ;
16235 PyObject
*swig_obj
[1] ;
16237 if (!args
) SWIG_fail
;
16238 swig_obj
[0] = args
;
16239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16240 if (!SWIG_IsOK(res1
)) {
16241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16243 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= SWIG_Py_Void();
16258 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
= 0;
16260 wxLocale
*arg1
= (wxLocale
*) 0 ;
16261 wxString
*arg2
= 0 ;
16262 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16264 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16265 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16266 bool arg5
= (bool) true ;
16267 bool arg6
= (bool) false ;
16271 bool temp2
= false ;
16272 bool temp3
= false ;
16273 bool temp4
= false ;
16278 PyObject
* obj0
= 0 ;
16279 PyObject
* obj1
= 0 ;
16280 PyObject
* obj2
= 0 ;
16281 PyObject
* obj3
= 0 ;
16282 PyObject
* obj4
= 0 ;
16283 PyObject
* obj5
= 0 ;
16284 char * kwnames
[] = {
16285 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16290 if (!SWIG_IsOK(res1
)) {
16291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16293 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16295 arg2
= wxString_in_helper(obj1
);
16296 if (arg2
== NULL
) SWIG_fail
;
16301 arg3
= wxString_in_helper(obj2
);
16302 if (arg3
== NULL
) SWIG_fail
;
16308 arg4
= wxString_in_helper(obj3
);
16309 if (arg4
== NULL
) SWIG_fail
;
16314 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16315 if (!SWIG_IsOK(ecode5
)) {
16316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16318 arg5
= static_cast< bool >(val5
);
16321 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16322 if (!SWIG_IsOK(ecode6
)) {
16323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16325 arg6
= static_cast< bool >(val6
);
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16366 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
= 0;
16368 wxLocale
*arg1
= (wxLocale
*) 0 ;
16369 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16370 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16378 PyObject
* obj0
= 0 ;
16379 PyObject
* obj1
= 0 ;
16380 PyObject
* obj2
= 0 ;
16381 char * kwnames
[] = {
16382 (char *) "self",(char *) "language",(char *) "flags", NULL
16385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16387 if (!SWIG_IsOK(res1
)) {
16388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16390 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16393 if (!SWIG_IsOK(ecode2
)) {
16394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16396 arg2
= static_cast< int >(val2
);
16399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16400 if (!SWIG_IsOK(ecode3
)) {
16401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16403 arg3
= static_cast< int >(val3
);
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16420 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16421 PyObject
*resultobj
= 0;
16424 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (int)wxLocale::GetSystemLanguage();
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= SWIG_From_int(static_cast< int >(result
));
16438 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16439 PyObject
*resultobj
= 0;
16440 wxFontEncoding result
;
16442 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= SWIG_From_int(static_cast< int >(result
));
16456 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16457 PyObject
*resultobj
= 0;
16460 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= wxLocale::GetSystemEncodingName();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16480 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16481 PyObject
*resultobj
= 0;
16482 wxLocale
*arg1
= (wxLocale
*) 0 ;
16486 PyObject
*swig_obj
[1] ;
16488 if (!args
) SWIG_fail
;
16489 swig_obj
[0] = args
;
16490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16491 if (!SWIG_IsOK(res1
)) {
16492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16494 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16510 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16511 PyObject
*resultobj
= 0;
16512 wxLocale
*arg1
= (wxLocale
*) 0 ;
16516 PyObject
*swig_obj
[1] ;
16518 if (!args
) SWIG_fail
;
16519 swig_obj
[0] = args
;
16520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16521 if (!SWIG_IsOK(res1
)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16524 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= ((wxLocale
const *)arg1
)->GetLocale();
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16544 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16545 PyObject
*resultobj
= 0;
16546 wxLocale
*arg1
= (wxLocale
*) 0 ;
16550 PyObject
*swig_obj
[1] ;
16552 if (!args
) SWIG_fail
;
16553 swig_obj
[0] = args
;
16554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16555 if (!SWIG_IsOK(res1
)) {
16556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16558 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= SWIG_From_int(static_cast< int >(result
));
16572 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16573 PyObject
*resultobj
= 0;
16574 wxLocale
*arg1
= (wxLocale
*) 0 ;
16578 PyObject
*swig_obj
[1] ;
16580 if (!args
) SWIG_fail
;
16581 swig_obj
[0] = args
;
16582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16583 if (!SWIG_IsOK(res1
)) {
16584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16586 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= ((wxLocale
const *)arg1
)->GetSysName();
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16606 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16607 PyObject
*resultobj
= 0;
16608 wxLocale
*arg1
= (wxLocale
*) 0 ;
16612 PyObject
*swig_obj
[1] ;
16614 if (!args
) SWIG_fail
;
16615 swig_obj
[0] = args
;
16616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16617 if (!SWIG_IsOK(res1
)) {
16618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16620 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16640 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
= 0;
16642 wxString
*arg1
= 0 ;
16643 bool temp1
= false ;
16644 PyObject
* obj0
= 0 ;
16645 char * kwnames
[] = {
16646 (char *) "prefix", NULL
16649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16651 arg1
= wxString_in_helper(obj0
);
16652 if (arg1
== NULL
) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16661 resultobj
= SWIG_Py_Void();
16676 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
= 0;
16678 wxLocale
*arg1
= (wxLocale
*) 0 ;
16679 wxString
*arg2
= 0 ;
16683 bool temp2
= false ;
16684 PyObject
* obj0
= 0 ;
16685 PyObject
* obj1
= 0 ;
16686 char * kwnames
[] = {
16687 (char *) "self",(char *) "szDomain", NULL
16690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16692 if (!SWIG_IsOK(res1
)) {
16693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16695 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16697 arg2
= wxString_in_helper(obj1
);
16698 if (arg2
== NULL
) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16724 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
= 0;
16730 PyObject
* obj0
= 0 ;
16731 char * kwnames
[] = {
16732 (char *) "lang", NULL
16735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16737 if (!SWIG_IsOK(ecode1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16740 arg1
= static_cast< int >(val1
);
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 result
= (bool)wxLocale::IsAvailable(arg1
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16756 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
= 0;
16758 wxLocale
*arg1
= (wxLocale
*) 0 ;
16759 wxString
*arg2
= 0 ;
16763 bool temp2
= false ;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 char * kwnames
[] = {
16767 (char *) "self",(char *) "szDomain", NULL
16770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16772 if (!SWIG_IsOK(res1
)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16775 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16777 arg2
= wxString_in_helper(obj1
);
16778 if (arg2
== NULL
) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16804 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
= 0;
16807 wxLanguageInfo
*result
= 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char * kwnames
[] = {
16812 (char *) "lang", NULL
16815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16816 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16817 if (!SWIG_IsOK(ecode1
)) {
16818 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16820 arg1
= static_cast< int >(val1
);
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16834 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
= 0;
16840 PyObject
* obj0
= 0 ;
16841 char * kwnames
[] = {
16842 (char *) "lang", NULL
16845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16846 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16847 if (!SWIG_IsOK(ecode1
)) {
16848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16850 arg1
= static_cast< int >(val1
);
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= wxLocale::GetLanguageName(arg1
);
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16870 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
= 0;
16872 wxString
*arg1
= 0 ;
16873 wxLanguageInfo
*result
= 0 ;
16874 bool temp1
= false ;
16875 PyObject
* obj0
= 0 ;
16876 char * kwnames
[] = {
16877 (char *) "locale", NULL
16880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16882 arg1
= wxString_in_helper(obj0
);
16883 if (arg1
== NULL
) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16907 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
= 0;
16909 wxLanguageInfo
*arg1
= 0 ;
16912 PyObject
* obj0
= 0 ;
16913 char * kwnames
[] = {
16914 (char *) "info", NULL
16917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16918 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16919 if (!SWIG_IsOK(res1
)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16925 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= SWIG_Py_Void();
16939 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
= 0;
16941 wxLocale
*arg1
= (wxLocale
*) 0 ;
16942 wxString
*arg2
= 0 ;
16943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16948 bool temp2
= false ;
16949 bool temp3
= false ;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 PyObject
* obj2
= 0 ;
16953 char * kwnames
[] = {
16954 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16959 if (!SWIG_IsOK(res1
)) {
16960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16962 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16964 arg2
= wxString_in_helper(obj1
);
16965 if (arg2
== NULL
) SWIG_fail
;
16970 arg3
= wxString_in_helper(obj2
);
16971 if (arg3
== NULL
) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17010 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17011 PyObject
*resultobj
= 0;
17012 wxLocale
*arg1
= (wxLocale
*) 0 ;
17013 wxString
*result
= 0 ;
17016 PyObject
*swig_obj
[1] ;
17018 if (!args
) SWIG_fail
;
17019 swig_obj
[0] = args
;
17020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17021 if (!SWIG_IsOK(res1
)) {
17022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17024 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17029 result
= (wxString
*) &_result_ref
;
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17038 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17047 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17050 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17051 return SWIG_Py_Void();
17054 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17055 return SWIG_Python_InitShadowInstance(args
);
17058 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
= 0;
17060 int arg1
= (int) -1 ;
17061 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17062 wxPyLocale
*result
= 0 ;
17067 PyObject
* obj0
= 0 ;
17068 PyObject
* obj1
= 0 ;
17069 char * kwnames
[] = {
17070 (char *) "language",(char *) "flags", NULL
17073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17075 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17076 if (!SWIG_IsOK(ecode1
)) {
17077 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17079 arg1
= static_cast< int >(val1
);
17082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17083 if (!SWIG_IsOK(ecode2
)) {
17084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17086 arg2
= static_cast< int >(val2
);
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17101 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17102 PyObject
*resultobj
= 0;
17103 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17106 PyObject
*swig_obj
[1] ;
17108 if (!args
) SWIG_fail
;
17109 swig_obj
[0] = args
;
17110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17111 if (!SWIG_IsOK(res1
)) {
17112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17114 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_Py_Void();
17129 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
= 0;
17131 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17132 PyObject
*arg2
= (PyObject
*) 0 ;
17133 PyObject
*arg3
= (PyObject
*) 0 ;
17136 PyObject
* obj0
= 0 ;
17137 PyObject
* obj1
= 0 ;
17138 PyObject
* obj2
= 0 ;
17139 char * kwnames
[] = {
17140 (char *) "self",(char *) "self",(char *) "_class", NULL
17143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17145 if (!SWIG_IsOK(res1
)) {
17146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17148 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= SWIG_Py_Void();
17164 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
= 0;
17166 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17167 wxChar
*arg2
= (wxChar
*) 0 ;
17168 wxChar
*arg3
= (wxChar
*) NULL
;
17169 wxChar
*result
= 0 ;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 PyObject
* obj2
= 0 ;
17179 char * kwnames
[] = {
17180 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17185 if (!SWIG_IsOK(res1
)) {
17186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17188 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17190 if (!SWIG_IsOK(res2
)) {
17191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17193 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17195 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17196 if (!SWIG_IsOK(res3
)) {
17197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17199 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17214 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
= 0;
17216 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17217 wxChar
*arg2
= (wxChar
*) 0 ;
17218 wxChar
*arg3
= (wxChar
*) 0 ;
17220 wxChar
*arg5
= (wxChar
*) NULL
;
17221 wxChar
*result
= 0 ;
17232 PyObject
* obj0
= 0 ;
17233 PyObject
* obj1
= 0 ;
17234 PyObject
* obj2
= 0 ;
17235 PyObject
* obj3
= 0 ;
17236 PyObject
* obj4
= 0 ;
17237 char * kwnames
[] = {
17238 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17243 if (!SWIG_IsOK(res1
)) {
17244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17246 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17248 if (!SWIG_IsOK(res2
)) {
17249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17251 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17252 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17253 if (!SWIG_IsOK(res3
)) {
17254 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17256 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17257 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17258 if (!SWIG_IsOK(ecode4
)) {
17259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17261 arg4
= static_cast< size_t >(val4
);
17263 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17264 if (!SWIG_IsOK(res5
)) {
17265 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17267 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17282 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17285 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17286 return SWIG_Py_Void();
17289 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17290 return SWIG_Python_InitShadowInstance(args
);
17293 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17294 PyObject
*resultobj
= 0;
17295 wxLocale
*result
= 0 ;
17297 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (wxLocale
*)wxGetLocale();
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17311 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17312 PyObject
*resultobj
= 0;
17313 wxString
*arg1
= 0 ;
17315 bool temp1
= false ;
17317 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17319 arg1
= wxString_in_helper(swig_obj
[0]);
17320 if (arg1
== NULL
) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= wxGetTranslation((wxString
const &)*arg1
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17350 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17351 PyObject
*resultobj
= 0;
17352 wxString
*arg1
= 0 ;
17353 wxString
*arg2
= 0 ;
17355 bool temp1
= false ;
17356 bool temp2
= false ;
17358 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17360 arg1
= wxString_in_helper(swig_obj
[0]);
17361 if (arg1
== NULL
) SWIG_fail
;
17365 arg2
= wxString_in_helper(swig_obj
[1]);
17366 if (arg2
== NULL
) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17404 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17405 PyObject
*resultobj
= 0;
17406 wxString
*arg1
= 0 ;
17407 wxString
*arg2
= 0 ;
17410 bool temp1
= false ;
17411 bool temp2
= false ;
17415 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17417 arg1
= wxString_in_helper(swig_obj
[0]);
17418 if (arg1
== NULL
) SWIG_fail
;
17422 arg2
= wxString_in_helper(swig_obj
[1]);
17423 if (arg2
== NULL
) SWIG_fail
;
17426 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17427 if (!SWIG_IsOK(ecode3
)) {
17428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17430 arg3
= static_cast< size_t >(val3
);
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17466 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17467 PyObject
*resultobj
= 0;
17468 wxString
*arg1
= 0 ;
17469 wxString
*arg2
= 0 ;
17471 wxString
*arg4
= 0 ;
17473 bool temp1
= false ;
17474 bool temp2
= false ;
17477 bool temp4
= false ;
17479 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17481 arg1
= wxString_in_helper(swig_obj
[0]);
17482 if (arg1
== NULL
) SWIG_fail
;
17486 arg2
= wxString_in_helper(swig_obj
[1]);
17487 if (arg2
== NULL
) SWIG_fail
;
17490 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17491 if (!SWIG_IsOK(ecode3
)) {
17492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17494 arg3
= static_cast< size_t >(val3
);
17496 arg4
= wxString_in_helper(swig_obj
[3]);
17497 if (arg4
== NULL
) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17543 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17547 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17550 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17553 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17556 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17559 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17563 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17568 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17569 PyObject
*resultobj
= 0;
17570 wxEncodingConverter
*result
= 0 ;
17572 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17586 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17587 PyObject
*resultobj
= 0;
17588 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17591 PyObject
*swig_obj
[1] ;
17593 if (!args
) SWIG_fail
;
17594 swig_obj
[0] = args
;
17595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17596 if (!SWIG_IsOK(res1
)) {
17597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17599 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= SWIG_Py_Void();
17614 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
= 0;
17616 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17617 wxFontEncoding arg2
;
17618 wxFontEncoding arg3
;
17619 int arg4
= (int) wxCONVERT_STRICT
;
17629 PyObject
* obj0
= 0 ;
17630 PyObject
* obj1
= 0 ;
17631 PyObject
* obj2
= 0 ;
17632 PyObject
* obj3
= 0 ;
17633 char * kwnames
[] = {
17634 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17639 if (!SWIG_IsOK(res1
)) {
17640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17642 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17644 if (!SWIG_IsOK(ecode2
)) {
17645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17647 arg2
= static_cast< wxFontEncoding
>(val2
);
17648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17649 if (!SWIG_IsOK(ecode3
)) {
17650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17652 arg3
= static_cast< wxFontEncoding
>(val3
);
17654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17655 if (!SWIG_IsOK(ecode4
)) {
17656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17658 arg4
= static_cast< int >(val4
);
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17675 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
= 0;
17677 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17678 wxString
*arg2
= 0 ;
17682 bool temp2
= false ;
17683 PyObject
* obj0
= 0 ;
17684 PyObject
* obj1
= 0 ;
17685 char * kwnames
[] = {
17686 (char *) "self",(char *) "input", NULL
17689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17691 if (!SWIG_IsOK(res1
)) {
17692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17694 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17696 arg2
= wxString_in_helper(obj1
);
17697 if (arg2
== NULL
) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17727 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
= 0;
17729 wxFontEncoding arg1
;
17730 int arg2
= (int) wxPLATFORM_CURRENT
;
17731 wxFontEncodingArray result
;
17736 PyObject
* obj0
= 0 ;
17737 PyObject
* obj1
= 0 ;
17738 char * kwnames
[] = {
17739 (char *) "enc",(char *) "platform", NULL
17742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17743 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17744 if (!SWIG_IsOK(ecode1
)) {
17745 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17747 arg1
= static_cast< wxFontEncoding
>(val1
);
17749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17750 if (!SWIG_IsOK(ecode2
)) {
17751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17753 arg2
= static_cast< int >(val2
);
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17762 resultobj
= PyList_New(0);
17763 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17764 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17765 PyList_Append(resultobj
, number
);
17775 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
= 0;
17777 wxFontEncoding arg1
;
17778 wxFontEncodingArray result
;
17781 PyObject
* obj0
= 0 ;
17782 char * kwnames
[] = {
17783 (char *) "enc", NULL
17786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17787 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17788 if (!SWIG_IsOK(ecode1
)) {
17789 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17791 arg1
= static_cast< wxFontEncoding
>(val1
);
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17799 resultobj
= PyList_New(0);
17800 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17801 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17802 PyList_Append(resultobj
, number
);
17812 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
= 0;
17814 wxFontEncoding arg1
;
17815 wxFontEncoding arg2
;
17821 PyObject
* obj0
= 0 ;
17822 PyObject
* obj1
= 0 ;
17823 char * kwnames
[] = {
17824 (char *) "encIn",(char *) "encOut", NULL
17827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17828 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17829 if (!SWIG_IsOK(ecode1
)) {
17830 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17832 arg1
= static_cast< wxFontEncoding
>(val1
);
17833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17834 if (!SWIG_IsOK(ecode2
)) {
17835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17837 arg2
= static_cast< wxFontEncoding
>(val2
);
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17853 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17855 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17856 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17857 return SWIG_Py_Void();
17860 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17861 return SWIG_Python_InitShadowInstance(args
);
17864 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17865 PyObject
*resultobj
= 0;
17866 wxDC
*arg1
= (wxDC
*) 0 ;
17869 PyObject
*swig_obj
[1] ;
17871 if (!args
) SWIG_fail
;
17872 swig_obj
[0] = args
;
17873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17874 if (!SWIG_IsOK(res1
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17877 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 resultobj
= SWIG_Py_Void();
17892 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
= 0;
17894 wxDC
*arg1
= (wxDC
*) 0 ;
17897 wxColour
*arg4
= 0 ;
17898 int arg5
= (int) wxFLOOD_SURFACE
;
17909 PyObject
* obj0
= 0 ;
17910 PyObject
* obj1
= 0 ;
17911 PyObject
* obj2
= 0 ;
17912 PyObject
* obj3
= 0 ;
17913 PyObject
* obj4
= 0 ;
17914 char * kwnames
[] = {
17915 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17920 if (!SWIG_IsOK(res1
)) {
17921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17925 if (!SWIG_IsOK(ecode2
)) {
17926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17928 arg2
= static_cast< int >(val2
);
17929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17930 if (!SWIG_IsOK(ecode3
)) {
17931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17933 arg3
= static_cast< int >(val3
);
17936 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17940 if (!SWIG_IsOK(ecode5
)) {
17941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17943 arg5
= static_cast< int >(val5
);
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17960 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
= 0;
17962 wxDC
*arg1
= (wxDC
*) 0 ;
17963 wxPoint
*arg2
= 0 ;
17964 wxColour
*arg3
= 0 ;
17965 int arg4
= (int) wxFLOOD_SURFACE
;
17973 PyObject
* obj0
= 0 ;
17974 PyObject
* obj1
= 0 ;
17975 PyObject
* obj2
= 0 ;
17976 PyObject
* obj3
= 0 ;
17977 char * kwnames
[] = {
17978 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17983 if (!SWIG_IsOK(res1
)) {
17984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17993 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17996 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17997 if (!SWIG_IsOK(ecode4
)) {
17998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18000 arg4
= static_cast< int >(val4
);
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18017 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
= 0;
18019 wxDC
*arg1
= (wxDC
*) 0 ;
18021 wxColour
*arg3
= 0 ;
18022 wxColour
*arg4
= 0 ;
18023 wxPoint
*arg5
= 0 ;
18030 PyObject
* obj0
= 0 ;
18031 PyObject
* obj1
= 0 ;
18032 PyObject
* obj2
= 0 ;
18033 PyObject
* obj3
= 0 ;
18034 PyObject
* obj4
= 0 ;
18035 char * kwnames
[] = {
18036 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18041 if (!SWIG_IsOK(res1
)) {
18042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18047 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18051 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18055 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18059 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= SWIG_Py_Void();
18074 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18075 PyObject
*resultobj
= 0;
18076 wxDC
*arg1
= (wxDC
*) 0 ;
18078 wxColour
*arg3
= 0 ;
18079 wxColour
*arg4
= 0 ;
18080 wxDirection arg5
= (wxDirection
) wxEAST
;
18088 PyObject
* obj0
= 0 ;
18089 PyObject
* obj1
= 0 ;
18090 PyObject
* obj2
= 0 ;
18091 PyObject
* obj3
= 0 ;
18092 PyObject
* obj4
= 0 ;
18093 char * kwnames
[] = {
18094 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18099 if (!SWIG_IsOK(res1
)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18102 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18105 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18109 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18113 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18116 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18117 if (!SWIG_IsOK(ecode5
)) {
18118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18120 arg5
= static_cast< wxDirection
>(val5
);
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= SWIG_Py_Void();
18135 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
= 0;
18137 wxDC
*arg1
= (wxDC
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 PyObject
* obj1
= 0 ;
18149 PyObject
* obj2
= 0 ;
18150 char * kwnames
[] = {
18151 (char *) "self",(char *) "x",(char *) "y", NULL
18154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18156 if (!SWIG_IsOK(res1
)) {
18157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18161 if (!SWIG_IsOK(ecode2
)) {
18162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18164 arg2
= static_cast< int >(val2
);
18165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18166 if (!SWIG_IsOK(ecode3
)) {
18167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18169 arg3
= static_cast< int >(val3
);
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18183 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
= 0;
18185 wxDC
*arg1
= (wxDC
*) 0 ;
18186 wxPoint
*arg2
= 0 ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 char * kwnames
[] = {
18194 (char *) "self",(char *) "pt", NULL
18197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18199 if (!SWIG_IsOK(res1
)) {
18200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18220 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
= 0;
18222 wxDC
*arg1
= (wxDC
*) 0 ;
18237 PyObject
* obj0
= 0 ;
18238 PyObject
* obj1
= 0 ;
18239 PyObject
* obj2
= 0 ;
18240 PyObject
* obj3
= 0 ;
18241 PyObject
* obj4
= 0 ;
18242 char * kwnames
[] = {
18243 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18248 if (!SWIG_IsOK(res1
)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18253 if (!SWIG_IsOK(ecode2
)) {
18254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18256 arg2
= static_cast< int >(val2
);
18257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18258 if (!SWIG_IsOK(ecode3
)) {
18259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18261 arg3
= static_cast< int >(val3
);
18262 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18263 if (!SWIG_IsOK(ecode4
)) {
18264 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18266 arg4
= static_cast< int >(val4
);
18267 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18268 if (!SWIG_IsOK(ecode5
)) {
18269 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18271 arg5
= static_cast< int >(val5
);
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= SWIG_Py_Void();
18285 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
= 0;
18287 wxDC
*arg1
= (wxDC
*) 0 ;
18288 wxPoint
*arg2
= 0 ;
18289 wxPoint
*arg3
= 0 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 PyObject
* obj2
= 0 ;
18297 char * kwnames
[] = {
18298 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18303 if (!SWIG_IsOK(res1
)) {
18304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18313 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_Py_Void();
18328 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
= 0;
18330 wxDC
*arg1
= (wxDC
*) 0 ;
18339 PyObject
* obj0
= 0 ;
18340 PyObject
* obj1
= 0 ;
18341 PyObject
* obj2
= 0 ;
18342 char * kwnames
[] = {
18343 (char *) "self",(char *) "x",(char *) "y", NULL
18346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18348 if (!SWIG_IsOK(res1
)) {
18349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18353 if (!SWIG_IsOK(ecode2
)) {
18354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18356 arg2
= static_cast< int >(val2
);
18357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18358 if (!SWIG_IsOK(ecode3
)) {
18359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18361 arg3
= static_cast< int >(val3
);
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 (arg1
)->CrossHair(arg2
,arg3
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= SWIG_Py_Void();
18375 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
= 0;
18377 wxDC
*arg1
= (wxDC
*) 0 ;
18378 wxPoint
*arg2
= 0 ;
18382 PyObject
* obj0
= 0 ;
18383 PyObject
* obj1
= 0 ;
18384 char * kwnames
[] = {
18385 (char *) "self",(char *) "pt", NULL
18388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18390 if (!SWIG_IsOK(res1
)) {
18391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18396 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= SWIG_Py_Void();
18411 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
= 0;
18413 wxDC
*arg1
= (wxDC
*) 0 ;
18434 PyObject
* obj0
= 0 ;
18435 PyObject
* obj1
= 0 ;
18436 PyObject
* obj2
= 0 ;
18437 PyObject
* obj3
= 0 ;
18438 PyObject
* obj4
= 0 ;
18439 PyObject
* obj5
= 0 ;
18440 PyObject
* obj6
= 0 ;
18441 char * kwnames
[] = {
18442 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18447 if (!SWIG_IsOK(res1
)) {
18448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18452 if (!SWIG_IsOK(ecode2
)) {
18453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18455 arg2
= static_cast< int >(val2
);
18456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18457 if (!SWIG_IsOK(ecode3
)) {
18458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18460 arg3
= static_cast< int >(val3
);
18461 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18462 if (!SWIG_IsOK(ecode4
)) {
18463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18465 arg4
= static_cast< int >(val4
);
18466 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18467 if (!SWIG_IsOK(ecode5
)) {
18468 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18470 arg5
= static_cast< int >(val5
);
18471 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18472 if (!SWIG_IsOK(ecode6
)) {
18473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18475 arg6
= static_cast< int >(val6
);
18476 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18477 if (!SWIG_IsOK(ecode7
)) {
18478 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18480 arg7
= static_cast< int >(val7
);
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= SWIG_Py_Void();
18494 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
= 0;
18496 wxDC
*arg1
= (wxDC
*) 0 ;
18497 wxPoint
*arg2
= 0 ;
18498 wxPoint
*arg3
= 0 ;
18499 wxPoint
*arg4
= 0 ;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 PyObject
* obj2
= 0 ;
18508 PyObject
* obj3
= 0 ;
18509 char * kwnames
[] = {
18510 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18515 if (!SWIG_IsOK(res1
)) {
18516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18518 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18529 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_Py_Void();
18544 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
= 0;
18546 wxDC
*arg1
= (wxDC
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 PyObject
* obj1
= 0 ;
18563 PyObject
* obj2
= 0 ;
18564 PyObject
* obj3
= 0 ;
18565 PyObject
* obj4
= 0 ;
18566 char * kwnames
[] = {
18567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18572 if (!SWIG_IsOK(res1
)) {
18573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18577 if (!SWIG_IsOK(ecode2
)) {
18578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18580 arg2
= static_cast< int >(val2
);
18581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18582 if (!SWIG_IsOK(ecode3
)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18585 arg3
= static_cast< int >(val3
);
18586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18587 if (!SWIG_IsOK(ecode4
)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18590 arg4
= static_cast< int >(val4
);
18591 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18592 if (!SWIG_IsOK(ecode5
)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18595 arg5
= static_cast< int >(val5
);
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_Py_Void();
18609 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
= 0;
18611 wxDC
*arg1
= (wxDC
*) 0 ;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 char * kwnames
[] = {
18619 (char *) "self",(char *) "rect", NULL
18622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18624 if (!SWIG_IsOK(res1
)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18630 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_Py_Void();
18645 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
= 0;
18647 wxDC
*arg1
= (wxDC
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 PyObject
* obj2
= 0 ;
18671 PyObject
* obj3
= 0 ;
18672 PyObject
* obj4
= 0 ;
18673 PyObject
* obj5
= 0 ;
18674 PyObject
* obj6
= 0 ;
18675 char * kwnames
[] = {
18676 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18681 if (!SWIG_IsOK(res1
)) {
18682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18684 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18686 if (!SWIG_IsOK(ecode2
)) {
18687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18689 arg2
= static_cast< int >(val2
);
18690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18691 if (!SWIG_IsOK(ecode3
)) {
18692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18694 arg3
= static_cast< int >(val3
);
18695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18696 if (!SWIG_IsOK(ecode4
)) {
18697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18699 arg4
= static_cast< int >(val4
);
18700 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18701 if (!SWIG_IsOK(ecode5
)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18704 arg5
= static_cast< int >(val5
);
18705 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18706 if (!SWIG_IsOK(ecode6
)) {
18707 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18709 arg6
= static_cast< double >(val6
);
18710 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18711 if (!SWIG_IsOK(ecode7
)) {
18712 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18714 arg7
= static_cast< double >(val7
);
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_Py_Void();
18728 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
= 0;
18730 wxDC
*arg1
= (wxDC
*) 0 ;
18731 wxPoint
*arg2
= 0 ;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 PyObject
* obj2
= 0 ;
18746 PyObject
* obj3
= 0 ;
18747 PyObject
* obj4
= 0 ;
18748 char * kwnames
[] = {
18749 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18754 if (!SWIG_IsOK(res1
)) {
18755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18764 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18766 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18767 if (!SWIG_IsOK(ecode4
)) {
18768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18770 arg4
= static_cast< double >(val4
);
18771 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18772 if (!SWIG_IsOK(ecode5
)) {
18773 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18775 arg5
= static_cast< double >(val5
);
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= SWIG_Py_Void();
18789 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
= 0;
18791 wxDC
*arg1
= (wxDC
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 PyObject
* obj1
= 0 ;
18802 PyObject
* obj2
= 0 ;
18803 char * kwnames
[] = {
18804 (char *) "self",(char *) "x",(char *) "y", NULL
18807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18809 if (!SWIG_IsOK(res1
)) {
18810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18814 if (!SWIG_IsOK(ecode2
)) {
18815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18817 arg2
= static_cast< int >(val2
);
18818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18819 if (!SWIG_IsOK(ecode3
)) {
18820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18822 arg3
= static_cast< int >(val3
);
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 (arg1
)->DrawPoint(arg2
,arg3
);
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= SWIG_Py_Void();
18836 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
= 0;
18838 wxDC
*arg1
= (wxDC
*) 0 ;
18839 wxPoint
*arg2
= 0 ;
18843 PyObject
* obj0
= 0 ;
18844 PyObject
* obj1
= 0 ;
18845 char * kwnames
[] = {
18846 (char *) "self",(char *) "pt", NULL
18849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18851 if (!SWIG_IsOK(res1
)) {
18852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18854 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18857 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= SWIG_Py_Void();
18872 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
= 0;
18874 wxDC
*arg1
= (wxDC
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 PyObject
* obj2
= 0 ;
18892 PyObject
* obj3
= 0 ;
18893 PyObject
* obj4
= 0 ;
18894 char * kwnames
[] = {
18895 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18900 if (!SWIG_IsOK(res1
)) {
18901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18905 if (!SWIG_IsOK(ecode2
)) {
18906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18908 arg2
= static_cast< int >(val2
);
18909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18910 if (!SWIG_IsOK(ecode3
)) {
18911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18913 arg3
= static_cast< int >(val3
);
18914 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18915 if (!SWIG_IsOK(ecode4
)) {
18916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18918 arg4
= static_cast< int >(val4
);
18919 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18920 if (!SWIG_IsOK(ecode5
)) {
18921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18923 arg5
= static_cast< int >(val5
);
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= SWIG_Py_Void();
18937 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
= 0;
18939 wxDC
*arg1
= (wxDC
*) 0 ;
18944 PyObject
* obj0
= 0 ;
18945 PyObject
* obj1
= 0 ;
18946 char * kwnames
[] = {
18947 (char *) "self",(char *) "rect", NULL
18950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18952 if (!SWIG_IsOK(res1
)) {
18953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18958 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_Py_Void();
18973 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
= 0;
18975 wxDC
*arg1
= (wxDC
*) 0 ;
18976 wxPoint
*arg2
= 0 ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 PyObject
* obj2
= 0 ;
18985 char * kwnames
[] = {
18986 (char *) "self",(char *) "pt",(char *) "sz", NULL
18989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18991 if (!SWIG_IsOK(res1
)) {
18992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19001 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= SWIG_Py_Void();
19016 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
= 0;
19018 wxDC
*arg1
= (wxDC
*) 0 ;
19036 PyObject
* obj0
= 0 ;
19037 PyObject
* obj1
= 0 ;
19038 PyObject
* obj2
= 0 ;
19039 PyObject
* obj3
= 0 ;
19040 PyObject
* obj4
= 0 ;
19041 PyObject
* obj5
= 0 ;
19042 char * kwnames
[] = {
19043 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19048 if (!SWIG_IsOK(res1
)) {
19049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19053 if (!SWIG_IsOK(ecode2
)) {
19054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19056 arg2
= static_cast< int >(val2
);
19057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19058 if (!SWIG_IsOK(ecode3
)) {
19059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19061 arg3
= static_cast< int >(val3
);
19062 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19063 if (!SWIG_IsOK(ecode4
)) {
19064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19066 arg4
= static_cast< int >(val4
);
19067 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19068 if (!SWIG_IsOK(ecode5
)) {
19069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19071 arg5
= static_cast< int >(val5
);
19072 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19073 if (!SWIG_IsOK(ecode6
)) {
19074 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19076 arg6
= static_cast< double >(val6
);
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_Py_Void();
19090 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
= 0;
19092 wxDC
*arg1
= (wxDC
*) 0 ;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 PyObject
* obj2
= 0 ;
19103 char * kwnames
[] = {
19104 (char *) "self",(char *) "r",(char *) "radius", NULL
19107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19109 if (!SWIG_IsOK(res1
)) {
19110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19115 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19117 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19118 if (!SWIG_IsOK(ecode3
)) {
19119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19121 arg3
= static_cast< double >(val3
);
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_Py_Void();
19135 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxDC
*arg1
= (wxDC
*) 0 ;
19138 wxPoint
*arg2
= 0 ;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 PyObject
* obj2
= 0 ;
19150 PyObject
* obj3
= 0 ;
19151 char * kwnames
[] = {
19152 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19157 if (!SWIG_IsOK(res1
)) {
19158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19167 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19169 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19170 if (!SWIG_IsOK(ecode4
)) {
19171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19173 arg4
= static_cast< double >(val4
);
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= SWIG_Py_Void();
19187 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
= 0;
19189 wxDC
*arg1
= (wxDC
*) 0 ;
19201 PyObject
* obj0
= 0 ;
19202 PyObject
* obj1
= 0 ;
19203 PyObject
* obj2
= 0 ;
19204 PyObject
* obj3
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19216 if (!SWIG_IsOK(ecode2
)) {
19217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19219 arg2
= static_cast< int >(val2
);
19220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19221 if (!SWIG_IsOK(ecode3
)) {
19222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19224 arg3
= static_cast< int >(val3
);
19225 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19226 if (!SWIG_IsOK(ecode4
)) {
19227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19229 arg4
= static_cast< int >(val4
);
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= SWIG_Py_Void();
19243 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
= 0;
19245 wxDC
*arg1
= (wxDC
*) 0 ;
19246 wxPoint
*arg2
= 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 PyObject
* obj2
= 0 ;
19256 char * kwnames
[] = {
19257 (char *) "self",(char *) "pt",(char *) "radius", NULL
19260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19262 if (!SWIG_IsOK(res1
)) {
19263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19268 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19271 if (!SWIG_IsOK(ecode3
)) {
19272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19274 arg3
= static_cast< int >(val3
);
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 resultobj
= SWIG_Py_Void();
19288 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
= 0;
19290 wxDC
*arg1
= (wxDC
*) 0 ;
19305 PyObject
* obj0
= 0 ;
19306 PyObject
* obj1
= 0 ;
19307 PyObject
* obj2
= 0 ;
19308 PyObject
* obj3
= 0 ;
19309 PyObject
* obj4
= 0 ;
19310 char * kwnames
[] = {
19311 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19316 if (!SWIG_IsOK(res1
)) {
19317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19321 if (!SWIG_IsOK(ecode2
)) {
19322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19324 arg2
= static_cast< int >(val2
);
19325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19326 if (!SWIG_IsOK(ecode3
)) {
19327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19329 arg3
= static_cast< int >(val3
);
19330 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19331 if (!SWIG_IsOK(ecode4
)) {
19332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19334 arg4
= static_cast< int >(val4
);
19335 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19336 if (!SWIG_IsOK(ecode5
)) {
19337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19339 arg5
= static_cast< int >(val5
);
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_Py_Void();
19353 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxDC
*arg1
= (wxDC
*) 0 ;
19360 PyObject
* obj0
= 0 ;
19361 PyObject
* obj1
= 0 ;
19362 char * kwnames
[] = {
19363 (char *) "self",(char *) "rect", NULL
19366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19368 if (!SWIG_IsOK(res1
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19374 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 resultobj
= SWIG_Py_Void();
19389 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
= 0;
19391 wxDC
*arg1
= (wxDC
*) 0 ;
19392 wxPoint
*arg2
= 0 ;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 PyObject
* obj2
= 0 ;
19401 char * kwnames
[] = {
19402 (char *) "self",(char *) "pt",(char *) "sz", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19413 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19417 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= SWIG_Py_Void();
19432 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= 0;
19434 wxDC
*arg1
= (wxDC
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 PyObject
* obj2
= 0 ;
19449 PyObject
* obj3
= 0 ;
19450 char * kwnames
[] = {
19451 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19456 if (!SWIG_IsOK(res1
)) {
19457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19461 if (!SWIG_IsOK(res2
)) {
19462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19467 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19469 if (!SWIG_IsOK(ecode3
)) {
19470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19472 arg3
= static_cast< int >(val3
);
19473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19474 if (!SWIG_IsOK(ecode4
)) {
19475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19477 arg4
= static_cast< int >(val4
);
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 resultobj
= SWIG_Py_Void();
19491 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
= 0;
19493 wxDC
*arg1
= (wxDC
*) 0 ;
19495 wxPoint
*arg3
= 0 ;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 PyObject
* obj2
= 0 ;
19504 char * kwnames
[] = {
19505 (char *) "self",(char *) "icon",(char *) "pt", NULL
19508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19510 if (!SWIG_IsOK(res1
)) {
19511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19513 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19515 if (!SWIG_IsOK(res2
)) {
19516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19521 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_Py_Void();
19539 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
= 0;
19541 wxDC
*arg1
= (wxDC
*) 0 ;
19542 wxBitmap
*arg2
= 0 ;
19545 bool arg5
= (bool) false ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 PyObject
* obj2
= 0 ;
19559 PyObject
* obj3
= 0 ;
19560 PyObject
* obj4
= 0 ;
19561 char * kwnames
[] = {
19562 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19567 if (!SWIG_IsOK(res1
)) {
19568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19572 if (!SWIG_IsOK(res2
)) {
19573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19578 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19580 if (!SWIG_IsOK(ecode3
)) {
19581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19583 arg3
= static_cast< int >(val3
);
19584 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19585 if (!SWIG_IsOK(ecode4
)) {
19586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19588 arg4
= static_cast< int >(val4
);
19590 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19591 if (!SWIG_IsOK(ecode5
)) {
19592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19594 arg5
= static_cast< bool >(val5
);
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_Py_Void();
19609 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
= 0;
19611 wxDC
*arg1
= (wxDC
*) 0 ;
19612 wxBitmap
*arg2
= 0 ;
19613 wxPoint
*arg3
= 0 ;
19614 bool arg4
= (bool) false ;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 PyObject
* obj2
= 0 ;
19625 PyObject
* obj3
= 0 ;
19626 char * kwnames
[] = {
19627 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19632 if (!SWIG_IsOK(res1
)) {
19633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19637 if (!SWIG_IsOK(res2
)) {
19638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19643 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19649 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19650 if (!SWIG_IsOK(ecode4
)) {
19651 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19653 arg4
= static_cast< bool >(val4
);
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 resultobj
= SWIG_Py_Void();
19668 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
= 0;
19670 wxDC
*arg1
= (wxDC
*) 0 ;
19671 wxString
*arg2
= 0 ;
19676 bool temp2
= false ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 PyObject
* obj2
= 0 ;
19684 PyObject
* obj3
= 0 ;
19685 char * kwnames
[] = {
19686 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19691 if (!SWIG_IsOK(res1
)) {
19692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19696 arg2
= wxString_in_helper(obj1
);
19697 if (arg2
== NULL
) SWIG_fail
;
19700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19701 if (!SWIG_IsOK(ecode3
)) {
19702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19704 arg3
= static_cast< int >(val3
);
19705 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19706 if (!SWIG_IsOK(ecode4
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19709 arg4
= static_cast< int >(val4
);
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_Py_Void();
19731 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
= 0;
19733 wxDC
*arg1
= (wxDC
*) 0 ;
19734 wxString
*arg2
= 0 ;
19735 wxPoint
*arg3
= 0 ;
19738 bool temp2
= false ;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 PyObject
* obj2
= 0 ;
19743 char * kwnames
[] = {
19744 (char *) "self",(char *) "text",(char *) "pt", NULL
19747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19754 arg2
= wxString_in_helper(obj1
);
19755 if (arg2
== NULL
) SWIG_fail
;
19760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= SWIG_Py_Void();
19783 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
= 0;
19785 wxDC
*arg1
= (wxDC
*) 0 ;
19786 wxString
*arg2
= 0 ;
19792 bool temp2
= false ;
19799 PyObject
* obj0
= 0 ;
19800 PyObject
* obj1
= 0 ;
19801 PyObject
* obj2
= 0 ;
19802 PyObject
* obj3
= 0 ;
19803 PyObject
* obj4
= 0 ;
19804 char * kwnames
[] = {
19805 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19810 if (!SWIG_IsOK(res1
)) {
19811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19815 arg2
= wxString_in_helper(obj1
);
19816 if (arg2
== NULL
) SWIG_fail
;
19819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19820 if (!SWIG_IsOK(ecode3
)) {
19821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19823 arg3
= static_cast< int >(val3
);
19824 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19825 if (!SWIG_IsOK(ecode4
)) {
19826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19828 arg4
= static_cast< int >(val4
);
19829 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19830 if (!SWIG_IsOK(ecode5
)) {
19831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19833 arg5
= static_cast< double >(val5
);
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= SWIG_Py_Void();
19855 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
= 0;
19857 wxDC
*arg1
= (wxDC
*) 0 ;
19858 wxString
*arg2
= 0 ;
19859 wxPoint
*arg3
= 0 ;
19863 bool temp2
= false ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 PyObject
* obj2
= 0 ;
19870 PyObject
* obj3
= 0 ;
19871 char * kwnames
[] = {
19872 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19877 if (!SWIG_IsOK(res1
)) {
19878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19882 arg2
= wxString_in_helper(obj1
);
19883 if (arg2
== NULL
) SWIG_fail
;
19888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19890 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19891 if (!SWIG_IsOK(ecode4
)) {
19892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19894 arg4
= static_cast< double >(val4
);
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 resultobj
= SWIG_Py_Void();
19916 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
= 0;
19918 wxDC
*arg1
= (wxDC
*) 0 ;
19923 wxDC
*arg6
= (wxDC
*) 0 ;
19926 int arg9
= (int) wxCOPY
;
19927 bool arg10
= (bool) false ;
19928 int arg11
= (int) -1 ;
19929 int arg12
= (int) -1 ;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19957 PyObject
* obj2
= 0 ;
19958 PyObject
* obj3
= 0 ;
19959 PyObject
* obj4
= 0 ;
19960 PyObject
* obj5
= 0 ;
19961 PyObject
* obj6
= 0 ;
19962 PyObject
* obj7
= 0 ;
19963 PyObject
* obj8
= 0 ;
19964 PyObject
* obj9
= 0 ;
19965 PyObject
* obj10
= 0 ;
19966 PyObject
* obj11
= 0 ;
19967 char * kwnames
[] = {
19968 (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
19971 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
;
19972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19973 if (!SWIG_IsOK(res1
)) {
19974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19978 if (!SWIG_IsOK(ecode2
)) {
19979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19981 arg2
= static_cast< int >(val2
);
19982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19983 if (!SWIG_IsOK(ecode3
)) {
19984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19986 arg3
= static_cast< int >(val3
);
19987 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19988 if (!SWIG_IsOK(ecode4
)) {
19989 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19991 arg4
= static_cast< int >(val4
);
19992 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19993 if (!SWIG_IsOK(ecode5
)) {
19994 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19996 arg5
= static_cast< int >(val5
);
19997 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19998 if (!SWIG_IsOK(res6
)) {
19999 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20001 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20002 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20003 if (!SWIG_IsOK(ecode7
)) {
20004 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20006 arg7
= static_cast< int >(val7
);
20007 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20008 if (!SWIG_IsOK(ecode8
)) {
20009 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20011 arg8
= static_cast< int >(val8
);
20013 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20014 if (!SWIG_IsOK(ecode9
)) {
20015 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20017 arg9
= static_cast< int >(val9
);
20020 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20021 if (!SWIG_IsOK(ecode10
)) {
20022 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20024 arg10
= static_cast< bool >(val10
);
20027 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20028 if (!SWIG_IsOK(ecode11
)) {
20029 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20031 arg11
= static_cast< int >(val11
);
20034 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20035 if (!SWIG_IsOK(ecode12
)) {
20036 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20038 arg12
= static_cast< int >(val12
);
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20055 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
= 0;
20057 wxDC
*arg1
= (wxDC
*) 0 ;
20058 wxPoint
*arg2
= 0 ;
20060 wxDC
*arg4
= (wxDC
*) 0 ;
20061 wxPoint
*arg5
= 0 ;
20062 int arg6
= (int) wxCOPY
;
20063 bool arg7
= (bool) false ;
20064 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20065 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20079 PyObject
* obj0
= 0 ;
20080 PyObject
* obj1
= 0 ;
20081 PyObject
* obj2
= 0 ;
20082 PyObject
* obj3
= 0 ;
20083 PyObject
* obj4
= 0 ;
20084 PyObject
* obj5
= 0 ;
20085 PyObject
* obj6
= 0 ;
20086 PyObject
* obj7
= 0 ;
20087 char * kwnames
[] = {
20088 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20093 if (!SWIG_IsOK(res1
)) {
20094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20103 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20105 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20106 if (!SWIG_IsOK(res4
)) {
20107 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20109 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20112 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20115 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20116 if (!SWIG_IsOK(ecode6
)) {
20117 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20119 arg6
= static_cast< int >(val6
);
20122 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20123 if (!SWIG_IsOK(ecode7
)) {
20124 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20126 arg7
= static_cast< bool >(val7
);
20131 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20149 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20150 PyObject
*resultobj
= 0;
20151 wxDC
*arg1
= (wxDC
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 PyObject
* obj2
= 0 ;
20169 PyObject
* obj3
= 0 ;
20170 PyObject
* obj4
= 0 ;
20171 char * kwnames
[] = {
20172 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20182 if (!SWIG_IsOK(ecode2
)) {
20183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20185 arg2
= static_cast< int >(val2
);
20186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20187 if (!SWIG_IsOK(ecode3
)) {
20188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20190 arg3
= static_cast< int >(val3
);
20191 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20192 if (!SWIG_IsOK(ecode4
)) {
20193 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20195 arg4
= static_cast< int >(val4
);
20196 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20197 if (!SWIG_IsOK(ecode5
)) {
20198 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20200 arg5
= static_cast< int >(val5
);
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20204 wxPyEndAllowThreads(__tstate
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20207 resultobj
= SWIG_Py_Void();
20214 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
= 0;
20216 wxDC
*arg1
= (wxDC
*) 0 ;
20217 wxPoint
*arg2
= 0 ;
20223 PyObject
* obj0
= 0 ;
20224 PyObject
* obj1
= 0 ;
20225 PyObject
* obj2
= 0 ;
20226 char * kwnames
[] = {
20227 (char *) "self",(char *) "pt",(char *) "sz", NULL
20230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20232 if (!SWIG_IsOK(res1
)) {
20233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20238 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20242 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 resultobj
= SWIG_Py_Void();
20257 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
= 0;
20259 wxDC
*arg1
= (wxDC
*) 0 ;
20260 wxRegion
*arg2
= 0 ;
20265 PyObject
* obj0
= 0 ;
20266 PyObject
* obj1
= 0 ;
20267 char * kwnames
[] = {
20268 (char *) "self",(char *) "region", NULL
20271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20273 if (!SWIG_IsOK(res1
)) {
20274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20277 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20278 if (!SWIG_IsOK(res2
)) {
20279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20284 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= SWIG_Py_Void();
20298 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
= 0;
20300 wxDC
*arg1
= (wxDC
*) 0 ;
20305 PyObject
* obj0
= 0 ;
20306 PyObject
* obj1
= 0 ;
20307 char * kwnames
[] = {
20308 (char *) "self",(char *) "rect", NULL
20311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20313 if (!SWIG_IsOK(res1
)) {
20314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20319 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= SWIG_Py_Void();
20334 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
= 0;
20336 wxDC
*arg1
= (wxDC
*) 0 ;
20338 wxPoint
*arg3
= (wxPoint
*) 0 ;
20339 int arg4
= (int) 0 ;
20340 int arg5
= (int) 0 ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 PyObject
* obj2
= 0 ;
20350 PyObject
* obj3
= 0 ;
20351 char * kwnames
[] = {
20352 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20357 if (!SWIG_IsOK(res1
)) {
20358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20362 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20363 if (arg3
== NULL
) SWIG_fail
;
20366 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20367 if (!SWIG_IsOK(ecode4
)) {
20368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20370 arg4
= static_cast< int >(val4
);
20373 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20374 if (!SWIG_IsOK(ecode5
)) {
20375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20377 arg5
= static_cast< int >(val5
);
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= SWIG_Py_Void();
20387 if (arg3
) delete [] arg3
;
20392 if (arg3
) delete [] arg3
;
20398 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
= 0;
20400 wxDC
*arg1
= (wxDC
*) 0 ;
20402 wxPoint
*arg3
= (wxPoint
*) 0 ;
20403 int arg4
= (int) 0 ;
20404 int arg5
= (int) 0 ;
20405 int arg6
= (int) wxODDEVEN_RULE
;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 PyObject
* obj2
= 0 ;
20417 PyObject
* obj3
= 0 ;
20418 PyObject
* obj4
= 0 ;
20419 char * kwnames
[] = {
20420 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20425 if (!SWIG_IsOK(res1
)) {
20426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20430 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20431 if (arg3
== NULL
) SWIG_fail
;
20434 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20435 if (!SWIG_IsOK(ecode4
)) {
20436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20438 arg4
= static_cast< int >(val4
);
20441 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20442 if (!SWIG_IsOK(ecode5
)) {
20443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20445 arg5
= static_cast< int >(val5
);
20448 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20449 if (!SWIG_IsOK(ecode6
)) {
20450 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20452 arg6
= static_cast< int >(val6
);
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= SWIG_Py_Void();
20462 if (arg3
) delete [] arg3
;
20467 if (arg3
) delete [] arg3
;
20473 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
= 0;
20475 wxDC
*arg1
= (wxDC
*) 0 ;
20476 wxString
*arg2
= 0 ;
20478 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20479 int arg5
= (int) -1 ;
20482 bool temp2
= false ;
20488 PyObject
* obj0
= 0 ;
20489 PyObject
* obj1
= 0 ;
20490 PyObject
* obj2
= 0 ;
20491 PyObject
* obj3
= 0 ;
20492 PyObject
* obj4
= 0 ;
20493 char * kwnames
[] = {
20494 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20499 if (!SWIG_IsOK(res1
)) {
20500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20504 arg2
= wxString_in_helper(obj1
);
20505 if (arg2
== NULL
) SWIG_fail
;
20510 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20513 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20514 if (!SWIG_IsOK(ecode4
)) {
20515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20517 arg4
= static_cast< int >(val4
);
20520 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20521 if (!SWIG_IsOK(ecode5
)) {
20522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20524 arg5
= static_cast< int >(val5
);
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_Py_Void();
20547 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxDC
*arg1
= (wxDC
*) 0 ;
20550 wxString
*arg2
= 0 ;
20551 wxBitmap
*arg3
= 0 ;
20553 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20554 int arg6
= (int) -1 ;
20558 bool temp2
= false ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 PyObject
* obj2
= 0 ;
20569 PyObject
* obj3
= 0 ;
20570 PyObject
* obj4
= 0 ;
20571 PyObject
* obj5
= 0 ;
20572 char * kwnames
[] = {
20573 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20578 if (!SWIG_IsOK(res1
)) {
20579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20583 arg2
= wxString_in_helper(obj1
);
20584 if (arg2
== NULL
) SWIG_fail
;
20587 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20588 if (!SWIG_IsOK(res3
)) {
20589 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20594 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20597 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20601 if (!SWIG_IsOK(ecode5
)) {
20602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20604 arg5
= static_cast< int >(val5
);
20607 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20608 if (!SWIG_IsOK(ecode6
)) {
20609 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20611 arg6
= static_cast< int >(val6
);
20614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20615 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20619 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20634 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
= 0;
20636 wxDC
*arg1
= (wxDC
*) 0 ;
20638 wxPoint
*arg3
= (wxPoint
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 PyObject
* obj1
= 0 ;
20643 char * kwnames
[] = {
20644 (char *) "self",(char *) "points", NULL
20647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20649 if (!SWIG_IsOK(res1
)) {
20650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20654 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20655 if (arg3
== NULL
) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 (arg1
)->DrawSpline(arg2
,arg3
);
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= SWIG_Py_Void();
20665 if (arg3
) delete [] arg3
;
20670 if (arg3
) delete [] arg3
;
20676 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20677 PyObject
*resultobj
= 0;
20678 wxDC
*arg1
= (wxDC
*) 0 ;
20681 PyObject
*swig_obj
[1] ;
20683 if (!args
) SWIG_fail
;
20684 swig_obj
[0] = args
;
20685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20686 if (!SWIG_IsOK(res1
)) {
20687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= SWIG_Py_Void();
20703 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
= 0;
20705 wxDC
*arg1
= (wxDC
*) 0 ;
20706 wxString
*arg2
= 0 ;
20710 bool temp2
= false ;
20711 PyObject
* obj0
= 0 ;
20712 PyObject
* obj1
= 0 ;
20713 char * kwnames
[] = {
20714 (char *) "self",(char *) "message", NULL
20717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20719 if (!SWIG_IsOK(res1
)) {
20720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20724 arg2
= wxString_in_helper(obj1
);
20725 if (arg2
== NULL
) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20751 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20752 PyObject
*resultobj
= 0;
20753 wxDC
*arg1
= (wxDC
*) 0 ;
20756 PyObject
*swig_obj
[1] ;
20758 if (!args
) SWIG_fail
;
20759 swig_obj
[0] = args
;
20760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20761 if (!SWIG_IsOK(res1
)) {
20762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= SWIG_Py_Void();
20778 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20779 PyObject
*resultobj
= 0;
20780 wxDC
*arg1
= (wxDC
*) 0 ;
20783 PyObject
*swig_obj
[1] ;
20785 if (!args
) SWIG_fail
;
20786 swig_obj
[0] = args
;
20787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20788 if (!SWIG_IsOK(res1
)) {
20789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 (arg1
)->StartPage();
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 resultobj
= SWIG_Py_Void();
20805 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20806 PyObject
*resultobj
= 0;
20807 wxDC
*arg1
= (wxDC
*) 0 ;
20810 PyObject
*swig_obj
[1] ;
20812 if (!args
) SWIG_fail
;
20813 swig_obj
[0] = args
;
20814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20815 if (!SWIG_IsOK(res1
)) {
20816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= SWIG_Py_Void();
20832 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
= 0;
20834 wxDC
*arg1
= (wxDC
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 char * kwnames
[] = {
20843 (char *) "self",(char *) "font", NULL
20846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20848 if (!SWIG_IsOK(res1
)) {
20849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20851 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20853 if (!SWIG_IsOK(res2
)) {
20854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20859 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 (arg1
)->SetFont((wxFont
const &)*arg2
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 resultobj
= SWIG_Py_Void();
20873 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
= 0;
20875 wxDC
*arg1
= (wxDC
*) 0 ;
20881 PyObject
* obj0
= 0 ;
20882 PyObject
* obj1
= 0 ;
20883 char * kwnames
[] = {
20884 (char *) "self",(char *) "pen", NULL
20887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20889 if (!SWIG_IsOK(res1
)) {
20890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20892 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20894 if (!SWIG_IsOK(res2
)) {
20895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20900 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 (arg1
)->SetPen((wxPen
const &)*arg2
);
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= SWIG_Py_Void();
20914 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
= 0;
20916 wxDC
*arg1
= (wxDC
*) 0 ;
20917 wxBrush
*arg2
= 0 ;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 char * kwnames
[] = {
20925 (char *) "self",(char *) "brush", NULL
20928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20930 if (!SWIG_IsOK(res1
)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20935 if (!SWIG_IsOK(res2
)) {
20936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20941 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_Py_Void();
20955 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
= 0;
20957 wxDC
*arg1
= (wxDC
*) 0 ;
20958 wxBrush
*arg2
= 0 ;
20963 PyObject
* obj0
= 0 ;
20964 PyObject
* obj1
= 0 ;
20965 char * kwnames
[] = {
20966 (char *) "self",(char *) "brush", NULL
20969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20971 if (!SWIG_IsOK(res1
)) {
20972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20976 if (!SWIG_IsOK(res2
)) {
20977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20982 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_Py_Void();
20996 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
= 0;
20998 wxDC
*arg1
= (wxDC
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 PyObject
* obj1
= 0 ;
21006 char * kwnames
[] = {
21007 (char *) "self",(char *) "mode", NULL
21010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21012 if (!SWIG_IsOK(res1
)) {
21013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21015 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21017 if (!SWIG_IsOK(ecode2
)) {
21018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21020 arg2
= static_cast< int >(val2
);
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 (arg1
)->SetBackgroundMode(arg2
);
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= SWIG_Py_Void();
21034 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
= 0;
21036 wxDC
*arg1
= (wxDC
*) 0 ;
21037 wxPalette
*arg2
= 0 ;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 char * kwnames
[] = {
21045 (char *) "self",(char *) "palette", NULL
21048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21050 if (!SWIG_IsOK(res1
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21055 if (!SWIG_IsOK(res2
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21061 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= SWIG_Py_Void();
21075 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21076 PyObject
*resultobj
= 0;
21077 wxDC
*arg1
= (wxDC
*) 0 ;
21080 PyObject
*swig_obj
[1] ;
21082 if (!args
) SWIG_fail
;
21083 swig_obj
[0] = args
;
21084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21085 if (!SWIG_IsOK(res1
)) {
21086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 (arg1
)->DestroyClippingRegion();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= SWIG_Py_Void();
21102 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21103 PyObject
*resultobj
= 0;
21104 wxDC
*arg1
= (wxDC
*) 0 ;
21105 int *arg2
= (int *) 0 ;
21106 int *arg3
= (int *) 0 ;
21107 int *arg4
= (int *) 0 ;
21108 int *arg5
= (int *) 0 ;
21112 int res2
= SWIG_TMPOBJ
;
21114 int res3
= SWIG_TMPOBJ
;
21116 int res4
= SWIG_TMPOBJ
;
21118 int res5
= SWIG_TMPOBJ
;
21119 PyObject
*swig_obj
[1] ;
21125 if (!args
) SWIG_fail
;
21126 swig_obj
[0] = args
;
21127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21128 if (!SWIG_IsOK(res1
)) {
21129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_Py_Void();
21139 if (SWIG_IsTmpObj(res2
)) {
21140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21142 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21145 if (SWIG_IsTmpObj(res3
)) {
21146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21148 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21151 if (SWIG_IsTmpObj(res4
)) {
21152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21154 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21157 if (SWIG_IsTmpObj(res5
)) {
21158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21160 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21169 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21170 PyObject
*resultobj
= 0;
21171 wxDC
*arg1
= (wxDC
*) 0 ;
21175 PyObject
*swig_obj
[1] ;
21177 if (!args
) SWIG_fail
;
21178 swig_obj
[0] = args
;
21179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21180 if (!SWIG_IsOK(res1
)) {
21181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21183 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 result
= wxDC_GetClippingRect(arg1
);
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21197 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21198 PyObject
*resultobj
= 0;
21199 wxDC
*arg1
= (wxDC
*) 0 ;
21203 PyObject
*swig_obj
[1] ;
21205 if (!args
) SWIG_fail
;
21206 swig_obj
[0] = args
;
21207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21208 if (!SWIG_IsOK(res1
)) {
21209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21211 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= SWIG_From_int(static_cast< int >(result
));
21225 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21226 PyObject
*resultobj
= 0;
21227 wxDC
*arg1
= (wxDC
*) 0 ;
21231 PyObject
*swig_obj
[1] ;
21233 if (!args
) SWIG_fail
;
21234 swig_obj
[0] = args
;
21235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21236 if (!SWIG_IsOK(res1
)) {
21237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_From_int(static_cast< int >(result
));
21253 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
= 0;
21255 wxDC
*arg1
= (wxDC
*) 0 ;
21256 wxString
*arg2
= 0 ;
21257 int *arg3
= (int *) 0 ;
21258 int *arg4
= (int *) 0 ;
21261 bool temp2
= false ;
21263 int res3
= SWIG_TMPOBJ
;
21265 int res4
= SWIG_TMPOBJ
;
21266 PyObject
* obj0
= 0 ;
21267 PyObject
* obj1
= 0 ;
21268 char * kwnames
[] = {
21269 (char *) "self",(char *) "string", NULL
21274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21276 if (!SWIG_IsOK(res1
)) {
21277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21281 arg2
= wxString_in_helper(obj1
);
21282 if (arg2
== NULL
) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21291 resultobj
= SWIG_Py_Void();
21292 if (SWIG_IsTmpObj(res3
)) {
21293 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21295 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21296 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21298 if (SWIG_IsTmpObj(res4
)) {
21299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21301 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21318 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
= 0;
21320 wxDC
*arg1
= (wxDC
*) 0 ;
21321 wxString
*arg2
= 0 ;
21322 int *arg3
= (int *) 0 ;
21323 int *arg4
= (int *) 0 ;
21324 int *arg5
= (int *) 0 ;
21325 int *arg6
= (int *) 0 ;
21326 wxFont
*arg7
= (wxFont
*) NULL
;
21329 bool temp2
= false ;
21331 int res3
= SWIG_TMPOBJ
;
21333 int res4
= SWIG_TMPOBJ
;
21335 int res5
= SWIG_TMPOBJ
;
21337 int res6
= SWIG_TMPOBJ
;
21340 PyObject
* obj0
= 0 ;
21341 PyObject
* obj1
= 0 ;
21342 PyObject
* obj2
= 0 ;
21343 char * kwnames
[] = {
21344 (char *) "self",(char *) "string",(char *) "font", NULL
21351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21353 if (!SWIG_IsOK(res1
)) {
21354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21358 arg2
= wxString_in_helper(obj1
);
21359 if (arg2
== NULL
) SWIG_fail
;
21363 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21364 if (!SWIG_IsOK(res7
)) {
21365 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21367 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_Py_Void();
21376 if (SWIG_IsTmpObj(res3
)) {
21377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21379 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21382 if (SWIG_IsTmpObj(res4
)) {
21383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21385 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21388 if (SWIG_IsTmpObj(res5
)) {
21389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21391 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21394 if (SWIG_IsTmpObj(res6
)) {
21395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21397 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21414 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
= 0;
21416 wxDC
*arg1
= (wxDC
*) 0 ;
21417 wxString
*arg2
= 0 ;
21418 int *arg3
= (int *) 0 ;
21419 int *arg4
= (int *) 0 ;
21420 int *arg5
= (int *) 0 ;
21421 wxFont
*arg6
= (wxFont
*) NULL
;
21424 bool temp2
= false ;
21426 int res3
= SWIG_TMPOBJ
;
21428 int res4
= SWIG_TMPOBJ
;
21430 int res5
= SWIG_TMPOBJ
;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 PyObject
* obj2
= 0 ;
21436 char * kwnames
[] = {
21437 (char *) "self",(char *) "text",(char *) "font", NULL
21443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21445 if (!SWIG_IsOK(res1
)) {
21446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21450 arg2
= wxString_in_helper(obj1
);
21451 if (arg2
== NULL
) SWIG_fail
;
21455 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21456 if (!SWIG_IsOK(res6
)) {
21457 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21459 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= SWIG_Py_Void();
21468 if (SWIG_IsTmpObj(res3
)) {
21469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21471 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21474 if (SWIG_IsTmpObj(res4
)) {
21475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21477 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21480 if (SWIG_IsTmpObj(res5
)) {
21481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21483 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21500 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
= 0;
21502 wxDC
*arg1
= (wxDC
*) 0 ;
21503 wxString
*arg2
= 0 ;
21507 bool temp2
= false ;
21508 PyObject
* obj0
= 0 ;
21509 PyObject
* obj1
= 0 ;
21510 char * kwnames
[] = {
21511 (char *) "self",(char *) "text", NULL
21514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21516 if (!SWIG_IsOK(res1
)) {
21517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21521 arg2
= wxString_in_helper(obj1
);
21522 if (arg2
== NULL
) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= wxArrayInt2PyList_helper(result
);
21548 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21549 PyObject
*resultobj
= 0;
21550 wxDC
*arg1
= (wxDC
*) 0 ;
21554 PyObject
*swig_obj
[1] ;
21556 if (!args
) SWIG_fail
;
21557 swig_obj
[0] = args
;
21558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21559 if (!SWIG_IsOK(res1
)) {
21560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 result
= (arg1
)->GetSize();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21576 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21577 PyObject
*resultobj
= 0;
21578 wxDC
*arg1
= (wxDC
*) 0 ;
21579 int *arg2
= (int *) 0 ;
21580 int *arg3
= (int *) 0 ;
21584 int res2
= SWIG_TMPOBJ
;
21586 int res3
= SWIG_TMPOBJ
;
21587 PyObject
*swig_obj
[1] ;
21591 if (!args
) SWIG_fail
;
21592 swig_obj
[0] = args
;
21593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21594 if (!SWIG_IsOK(res1
)) {
21595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21597 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 (arg1
)->GetSize(arg2
,arg3
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= SWIG_Py_Void();
21605 if (SWIG_IsTmpObj(res2
)) {
21606 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21608 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21609 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21611 if (SWIG_IsTmpObj(res3
)) {
21612 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21614 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21623 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21624 PyObject
*resultobj
= 0;
21625 wxDC
*arg1
= (wxDC
*) 0 ;
21629 PyObject
*swig_obj
[1] ;
21631 if (!args
) SWIG_fail
;
21632 swig_obj
[0] = args
;
21633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21634 if (!SWIG_IsOK(res1
)) {
21635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21644 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21651 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21652 PyObject
*resultobj
= 0;
21653 wxDC
*arg1
= (wxDC
*) 0 ;
21654 int *arg2
= (int *) 0 ;
21655 int *arg3
= (int *) 0 ;
21659 int res2
= SWIG_TMPOBJ
;
21661 int res3
= SWIG_TMPOBJ
;
21662 PyObject
*swig_obj
[1] ;
21666 if (!args
) SWIG_fail
;
21667 swig_obj
[0] = args
;
21668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21669 if (!SWIG_IsOK(res1
)) {
21670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= SWIG_Py_Void();
21680 if (SWIG_IsTmpObj(res2
)) {
21681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21683 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21686 if (SWIG_IsTmpObj(res3
)) {
21687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21689 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21698 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
= 0;
21700 wxDC
*arg1
= (wxDC
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char * kwnames
[] = {
21710 (char *) "self",(char *) "x", NULL
21713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21715 if (!SWIG_IsOK(res1
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21720 if (!SWIG_IsOK(ecode2
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21723 arg2
= static_cast< int >(val2
);
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= SWIG_From_int(static_cast< int >(result
));
21737 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21738 PyObject
*resultobj
= 0;
21739 wxDC
*arg1
= (wxDC
*) 0 ;
21746 PyObject
* obj0
= 0 ;
21747 PyObject
* obj1
= 0 ;
21748 char * kwnames
[] = {
21749 (char *) "self",(char *) "y", NULL
21752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21754 if (!SWIG_IsOK(res1
)) {
21755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21759 if (!SWIG_IsOK(ecode2
)) {
21760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21762 arg2
= static_cast< int >(val2
);
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= SWIG_From_int(static_cast< int >(result
));
21776 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
= 0;
21778 wxDC
*arg1
= (wxDC
*) 0 ;
21785 PyObject
* obj0
= 0 ;
21786 PyObject
* obj1
= 0 ;
21787 char * kwnames
[] = {
21788 (char *) "self",(char *) "x", NULL
21791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21793 if (!SWIG_IsOK(res1
)) {
21794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21798 if (!SWIG_IsOK(ecode2
)) {
21799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21801 arg2
= static_cast< int >(val2
);
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 resultobj
= SWIG_From_int(static_cast< int >(result
));
21815 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
= 0;
21817 wxDC
*arg1
= (wxDC
*) 0 ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 char * kwnames
[] = {
21827 (char *) "self",(char *) "y", NULL
21830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21832 if (!SWIG_IsOK(res1
)) {
21833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21835 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21837 if (!SWIG_IsOK(ecode2
)) {
21838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21840 arg2
= static_cast< int >(val2
);
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= SWIG_From_int(static_cast< int >(result
));
21854 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
= 0;
21856 wxDC
*arg1
= (wxDC
*) 0 ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 char * kwnames
[] = {
21866 (char *) "self",(char *) "x", NULL
21869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21871 if (!SWIG_IsOK(res1
)) {
21872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21876 if (!SWIG_IsOK(ecode2
)) {
21877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21879 arg2
= static_cast< int >(val2
);
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= SWIG_From_int(static_cast< int >(result
));
21893 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
= 0;
21895 wxDC
*arg1
= (wxDC
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 PyObject
* obj1
= 0 ;
21904 char * kwnames
[] = {
21905 (char *) "self",(char *) "y", NULL
21908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21910 if (!SWIG_IsOK(res1
)) {
21911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21915 if (!SWIG_IsOK(ecode2
)) {
21916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21918 arg2
= static_cast< int >(val2
);
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 resultobj
= SWIG_From_int(static_cast< int >(result
));
21932 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
= 0;
21934 wxDC
*arg1
= (wxDC
*) 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char * kwnames
[] = {
21944 (char *) "self",(char *) "x", NULL
21947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21949 if (!SWIG_IsOK(res1
)) {
21950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21954 if (!SWIG_IsOK(ecode2
)) {
21955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21957 arg2
= static_cast< int >(val2
);
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_From_int(static_cast< int >(result
));
21971 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
= 0;
21973 wxDC
*arg1
= (wxDC
*) 0 ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 char * kwnames
[] = {
21983 (char *) "self",(char *) "y", NULL
21986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21988 if (!SWIG_IsOK(res1
)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21991 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21993 if (!SWIG_IsOK(ecode2
)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21996 arg2
= static_cast< int >(val2
);
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= SWIG_From_int(static_cast< int >(result
));
22010 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22011 PyObject
*resultobj
= 0;
22012 wxDC
*arg1
= (wxDC
*) 0 ;
22016 PyObject
*swig_obj
[1] ;
22018 if (!args
) SWIG_fail
;
22019 swig_obj
[0] = args
;
22020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22021 if (!SWIG_IsOK(res1
)) {
22022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22040 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22041 PyObject
*resultobj
= 0;
22042 wxDC
*arg1
= (wxDC
*) 0 ;
22046 PyObject
*swig_obj
[1] ;
22048 if (!args
) SWIG_fail
;
22049 swig_obj
[0] = args
;
22050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22051 if (!SWIG_IsOK(res1
)) {
22052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22070 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22071 PyObject
*resultobj
= 0;
22072 wxDC
*arg1
= (wxDC
*) 0 ;
22076 PyObject
*swig_obj
[1] ;
22078 if (!args
) SWIG_fail
;
22079 swig_obj
[0] = args
;
22080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22081 if (!SWIG_IsOK(res1
)) {
22082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= SWIG_From_int(static_cast< int >(result
));
22098 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22099 PyObject
*resultobj
= 0;
22100 wxDC
*arg1
= (wxDC
*) 0 ;
22104 PyObject
*swig_obj
[1] ;
22106 if (!args
) SWIG_fail
;
22107 swig_obj
[0] = args
;
22108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22109 if (!SWIG_IsOK(res1
)) {
22110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= ((wxDC
const *)arg1
)->GetPPI();
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22126 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22127 PyObject
*resultobj
= 0;
22128 wxDC
*arg1
= (wxDC
*) 0 ;
22132 PyObject
*swig_obj
[1] ;
22134 if (!args
) SWIG_fail
;
22135 swig_obj
[0] = args
;
22136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22137 if (!SWIG_IsOK(res1
)) {
22138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22156 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22157 PyObject
*resultobj
= 0;
22158 wxDC
*arg1
= (wxDC
*) 0 ;
22162 PyObject
*swig_obj
[1] ;
22164 if (!args
) SWIG_fail
;
22165 swig_obj
[0] = args
;
22166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22167 if (!SWIG_IsOK(res1
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_From_int(static_cast< int >(result
));
22184 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22185 PyObject
*resultobj
= 0;
22186 wxDC
*arg1
= (wxDC
*) 0 ;
22187 wxBrush
*result
= 0 ;
22190 PyObject
*swig_obj
[1] ;
22192 if (!args
) SWIG_fail
;
22193 swig_obj
[0] = args
;
22194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22195 if (!SWIG_IsOK(res1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22203 result
= (wxBrush
*) &_result_ref
;
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22209 wxBrush
* resultptr
= new wxBrush(*result
);
22210 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22218 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22219 PyObject
*resultobj
= 0;
22220 wxDC
*arg1
= (wxDC
*) 0 ;
22221 wxBrush
*result
= 0 ;
22224 PyObject
*swig_obj
[1] ;
22226 if (!args
) SWIG_fail
;
22227 swig_obj
[0] = args
;
22228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22229 if (!SWIG_IsOK(res1
)) {
22230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22232 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22237 result
= (wxBrush
*) &_result_ref
;
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 wxBrush
* resultptr
= new wxBrush(*result
);
22244 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22252 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22253 PyObject
*resultobj
= 0;
22254 wxDC
*arg1
= (wxDC
*) 0 ;
22255 wxFont
*result
= 0 ;
22258 PyObject
*swig_obj
[1] ;
22260 if (!args
) SWIG_fail
;
22261 swig_obj
[0] = args
;
22262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22263 if (!SWIG_IsOK(res1
)) {
22264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22266 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22270 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22271 result
= (wxFont
*) &_result_ref
;
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 wxFont
* resultptr
= new wxFont(*result
);
22278 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22286 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22287 PyObject
*resultobj
= 0;
22288 wxDC
*arg1
= (wxDC
*) 0 ;
22289 wxPen
*result
= 0 ;
22292 PyObject
*swig_obj
[1] ;
22294 if (!args
) SWIG_fail
;
22295 swig_obj
[0] = args
;
22296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22297 if (!SWIG_IsOK(res1
)) {
22298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22305 result
= (wxPen
*) &_result_ref
;
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 wxPen
* resultptr
= new wxPen(*result
);
22312 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22320 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22321 PyObject
*resultobj
= 0;
22322 wxDC
*arg1
= (wxDC
*) 0 ;
22323 wxColour
*result
= 0 ;
22326 PyObject
*swig_obj
[1] ;
22328 if (!args
) SWIG_fail
;
22329 swig_obj
[0] = args
;
22330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22331 if (!SWIG_IsOK(res1
)) {
22332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22339 result
= (wxColour
*) &_result_ref
;
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22351 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22352 PyObject
*resultobj
= 0;
22353 wxDC
*arg1
= (wxDC
*) 0 ;
22354 wxColour
*result
= 0 ;
22357 PyObject
*swig_obj
[1] ;
22359 if (!args
) SWIG_fail
;
22360 swig_obj
[0] = args
;
22361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22362 if (!SWIG_IsOK(res1
)) {
22363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22370 result
= (wxColour
*) &_result_ref
;
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22382 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
= 0;
22384 wxDC
*arg1
= (wxDC
*) 0 ;
22385 wxColour
*arg2
= 0 ;
22389 PyObject
* obj0
= 0 ;
22390 PyObject
* obj1
= 0 ;
22391 char * kwnames
[] = {
22392 (char *) "self",(char *) "colour", NULL
22395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22397 if (!SWIG_IsOK(res1
)) {
22398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 resultobj
= SWIG_Py_Void();
22418 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
= 0;
22420 wxDC
*arg1
= (wxDC
*) 0 ;
22421 wxColour
*arg2
= 0 ;
22425 PyObject
* obj0
= 0 ;
22426 PyObject
* obj1
= 0 ;
22427 char * kwnames
[] = {
22428 (char *) "self",(char *) "colour", NULL
22431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22433 if (!SWIG_IsOK(res1
)) {
22434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= SWIG_Py_Void();
22454 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22455 PyObject
*resultobj
= 0;
22456 wxDC
*arg1
= (wxDC
*) 0 ;
22460 PyObject
*swig_obj
[1] ;
22462 if (!args
) SWIG_fail
;
22463 swig_obj
[0] = args
;
22464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22465 if (!SWIG_IsOK(res1
)) {
22466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_From_int(static_cast< int >(result
));
22482 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
= 0;
22484 wxDC
*arg1
= (wxDC
*) 0 ;
22490 PyObject
* obj0
= 0 ;
22491 PyObject
* obj1
= 0 ;
22492 char * kwnames
[] = {
22493 (char *) "self",(char *) "mode", NULL
22496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22498 if (!SWIG_IsOK(res1
)) {
22499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22503 if (!SWIG_IsOK(ecode2
)) {
22504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22506 arg2
= static_cast< int >(val2
);
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 (arg1
)->SetMapMode(arg2
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= SWIG_Py_Void();
22520 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22521 PyObject
*resultobj
= 0;
22522 wxDC
*arg1
= (wxDC
*) 0 ;
22523 double *arg2
= (double *) 0 ;
22524 double *arg3
= (double *) 0 ;
22528 int res2
= SWIG_TMPOBJ
;
22530 int res3
= SWIG_TMPOBJ
;
22531 PyObject
*swig_obj
[1] ;
22535 if (!args
) SWIG_fail
;
22536 swig_obj
[0] = args
;
22537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22538 if (!SWIG_IsOK(res1
)) {
22539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_Py_Void();
22549 if (SWIG_IsTmpObj(res2
)) {
22550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22552 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22555 if (SWIG_IsTmpObj(res3
)) {
22556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22558 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22567 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
= 0;
22569 wxDC
*arg1
= (wxDC
*) 0 ;
22578 PyObject
* obj0
= 0 ;
22579 PyObject
* obj1
= 0 ;
22580 PyObject
* obj2
= 0 ;
22581 char * kwnames
[] = {
22582 (char *) "self",(char *) "x",(char *) "y", NULL
22585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22587 if (!SWIG_IsOK(res1
)) {
22588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22591 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22592 if (!SWIG_IsOK(ecode2
)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22595 arg2
= static_cast< double >(val2
);
22596 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22597 if (!SWIG_IsOK(ecode3
)) {
22598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22600 arg3
= static_cast< double >(val3
);
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 (arg1
)->SetUserScale(arg2
,arg3
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= SWIG_Py_Void();
22614 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22615 PyObject
*resultobj
= 0;
22616 wxDC
*arg1
= (wxDC
*) 0 ;
22617 double *arg2
= (double *) 0 ;
22618 double *arg3
= (double *) 0 ;
22622 int res2
= SWIG_TMPOBJ
;
22624 int res3
= SWIG_TMPOBJ
;
22625 PyObject
*swig_obj
[1] ;
22629 if (!args
) SWIG_fail
;
22630 swig_obj
[0] = args
;
22631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22632 if (!SWIG_IsOK(res1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 (arg1
)->GetLogicalScale(arg2
,arg3
);
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= SWIG_Py_Void();
22643 if (SWIG_IsTmpObj(res2
)) {
22644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22646 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22649 if (SWIG_IsTmpObj(res3
)) {
22650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22652 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22661 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
= 0;
22663 wxDC
*arg1
= (wxDC
*) 0 ;
22672 PyObject
* obj0
= 0 ;
22673 PyObject
* obj1
= 0 ;
22674 PyObject
* obj2
= 0 ;
22675 char * kwnames
[] = {
22676 (char *) "self",(char *) "x",(char *) "y", NULL
22679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22681 if (!SWIG_IsOK(res1
)) {
22682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22684 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22685 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22686 if (!SWIG_IsOK(ecode2
)) {
22687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22689 arg2
= static_cast< double >(val2
);
22690 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22691 if (!SWIG_IsOK(ecode3
)) {
22692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22694 arg3
= static_cast< double >(val3
);
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 (arg1
)->SetLogicalScale(arg2
,arg3
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_Py_Void();
22708 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22709 PyObject
*resultobj
= 0;
22710 wxDC
*arg1
= (wxDC
*) 0 ;
22714 PyObject
*swig_obj
[1] ;
22716 if (!args
) SWIG_fail
;
22717 swig_obj
[0] = args
;
22718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22719 if (!SWIG_IsOK(res1
)) {
22720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22736 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22737 PyObject
*resultobj
= 0;
22738 wxDC
*arg1
= (wxDC
*) 0 ;
22739 int *arg2
= (int *) 0 ;
22740 int *arg3
= (int *) 0 ;
22744 int res2
= SWIG_TMPOBJ
;
22746 int res3
= SWIG_TMPOBJ
;
22747 PyObject
*swig_obj
[1] ;
22751 if (!args
) SWIG_fail
;
22752 swig_obj
[0] = args
;
22753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22754 if (!SWIG_IsOK(res1
)) {
22755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= SWIG_Py_Void();
22765 if (SWIG_IsTmpObj(res2
)) {
22766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22768 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22771 if (SWIG_IsTmpObj(res3
)) {
22772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22774 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22783 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
= 0;
22785 wxDC
*arg1
= (wxDC
*) 0 ;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 PyObject
* obj2
= 0 ;
22797 char * kwnames
[] = {
22798 (char *) "self",(char *) "x",(char *) "y", NULL
22801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22803 if (!SWIG_IsOK(res1
)) {
22804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22808 if (!SWIG_IsOK(ecode2
)) {
22809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22811 arg2
= static_cast< int >(val2
);
22812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22813 if (!SWIG_IsOK(ecode3
)) {
22814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22816 arg3
= static_cast< int >(val3
);
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= SWIG_Py_Void();
22830 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
= 0;
22832 wxDC
*arg1
= (wxDC
*) 0 ;
22833 wxPoint
*arg2
= 0 ;
22837 PyObject
* obj0
= 0 ;
22838 PyObject
* obj1
= 0 ;
22839 char * kwnames
[] = {
22840 (char *) "self",(char *) "point", NULL
22843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22845 if (!SWIG_IsOK(res1
)) {
22846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22851 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_Py_Void();
22866 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22867 PyObject
*resultobj
= 0;
22868 wxDC
*arg1
= (wxDC
*) 0 ;
22872 PyObject
*swig_obj
[1] ;
22874 if (!args
) SWIG_fail
;
22875 swig_obj
[0] = args
;
22876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22877 if (!SWIG_IsOK(res1
)) {
22878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22894 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22895 PyObject
*resultobj
= 0;
22896 wxDC
*arg1
= (wxDC
*) 0 ;
22897 int *arg2
= (int *) 0 ;
22898 int *arg3
= (int *) 0 ;
22902 int res2
= SWIG_TMPOBJ
;
22904 int res3
= SWIG_TMPOBJ
;
22905 PyObject
*swig_obj
[1] ;
22909 if (!args
) SWIG_fail
;
22910 swig_obj
[0] = args
;
22911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22912 if (!SWIG_IsOK(res1
)) {
22913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 resultobj
= SWIG_Py_Void();
22923 if (SWIG_IsTmpObj(res2
)) {
22924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22926 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22929 if (SWIG_IsTmpObj(res3
)) {
22930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22932 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22941 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
= 0;
22943 wxDC
*arg1
= (wxDC
*) 0 ;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 PyObject
* obj2
= 0 ;
22955 char * kwnames
[] = {
22956 (char *) "self",(char *) "x",(char *) "y", NULL
22959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22961 if (!SWIG_IsOK(res1
)) {
22962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22966 if (!SWIG_IsOK(ecode2
)) {
22967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22969 arg2
= static_cast< int >(val2
);
22970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22971 if (!SWIG_IsOK(ecode3
)) {
22972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22974 arg3
= static_cast< int >(val3
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_Py_Void();
22988 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
= 0;
22990 wxDC
*arg1
= (wxDC
*) 0 ;
22991 wxPoint
*arg2
= 0 ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 char * kwnames
[] = {
22998 (char *) "self",(char *) "point", NULL
23001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23003 if (!SWIG_IsOK(res1
)) {
23004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= SWIG_Py_Void();
23024 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23025 PyObject
*resultobj
= 0;
23026 wxDC
*arg1
= (wxDC
*) 0 ;
23035 PyObject
* obj0
= 0 ;
23036 PyObject
* obj1
= 0 ;
23037 PyObject
* obj2
= 0 ;
23038 char * kwnames
[] = {
23039 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23044 if (!SWIG_IsOK(res1
)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23048 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23049 if (!SWIG_IsOK(ecode2
)) {
23050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23052 arg2
= static_cast< bool >(val2
);
23053 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23054 if (!SWIG_IsOK(ecode3
)) {
23055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23057 arg3
= static_cast< bool >(val3
);
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 resultobj
= SWIG_Py_Void();
23071 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23072 PyObject
*resultobj
= 0;
23073 wxDC
*arg1
= (wxDC
*) 0 ;
23077 PyObject
*swig_obj
[1] ;
23079 if (!args
) SWIG_fail
;
23080 swig_obj
[0] = args
;
23081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23082 if (!SWIG_IsOK(res1
)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 resultobj
= SWIG_From_int(static_cast< int >(result
));
23099 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
= 0;
23101 wxDC
*arg1
= (wxDC
*) 0 ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 char * kwnames
[] = {
23110 (char *) "self",(char *) "function", NULL
23113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23115 if (!SWIG_IsOK(res1
)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23120 if (!SWIG_IsOK(ecode2
)) {
23121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23123 arg2
= static_cast< int >(val2
);
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 (arg1
)->SetLogicalFunction(arg2
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_Py_Void();
23137 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23138 PyObject
*resultobj
= 0;
23139 wxDC
*arg1
= (wxDC
*) 0 ;
23142 PyObject
*swig_obj
[1] ;
23144 if (!args
) SWIG_fail
;
23145 swig_obj
[0] = args
;
23146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23147 if (!SWIG_IsOK(res1
)) {
23148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 (arg1
)->ComputeScaleAndOrigin();
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= SWIG_Py_Void();
23164 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
= 0;
23166 wxDC
*arg1
= (wxDC
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 PyObject
* obj2
= 0 ;
23178 char * kwnames
[] = {
23179 (char *) "self",(char *) "x",(char *) "y", NULL
23182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23184 if (!SWIG_IsOK(res1
)) {
23185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23187 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23189 if (!SWIG_IsOK(ecode2
)) {
23190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23192 arg2
= static_cast< int >(val2
);
23193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23194 if (!SWIG_IsOK(ecode3
)) {
23195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23197 arg3
= static_cast< int >(val3
);
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_Py_Void();
23211 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
= 0;
23213 wxDC
*arg1
= (wxDC
*) 0 ;
23214 wxPoint
*arg2
= 0 ;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 char * kwnames
[] = {
23221 (char *) "self",(char *) "point", NULL
23224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23226 if (!SWIG_IsOK(res1
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 resultobj
= SWIG_Py_Void();
23247 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23248 PyObject
*resultobj
= 0;
23249 wxDC
*arg1
= (wxDC
*) 0 ;
23252 PyObject
*swig_obj
[1] ;
23254 if (!args
) SWIG_fail
;
23255 swig_obj
[0] = args
;
23256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23257 if (!SWIG_IsOK(res1
)) {
23258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 (arg1
)->ResetBoundingBox();
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23267 resultobj
= SWIG_Py_Void();
23274 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23275 PyObject
*resultobj
= 0;
23276 wxDC
*arg1
= (wxDC
*) 0 ;
23280 PyObject
*swig_obj
[1] ;
23282 if (!args
) SWIG_fail
;
23283 swig_obj
[0] = args
;
23284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23285 if (!SWIG_IsOK(res1
)) {
23286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (int)((wxDC
const *)arg1
)->MinX();
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 resultobj
= SWIG_From_int(static_cast< int >(result
));
23302 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23303 PyObject
*resultobj
= 0;
23304 wxDC
*arg1
= (wxDC
*) 0 ;
23308 PyObject
*swig_obj
[1] ;
23310 if (!args
) SWIG_fail
;
23311 swig_obj
[0] = args
;
23312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23313 if (!SWIG_IsOK(res1
)) {
23314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (int)((wxDC
const *)arg1
)->MaxX();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_From_int(static_cast< int >(result
));
23330 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23331 PyObject
*resultobj
= 0;
23332 wxDC
*arg1
= (wxDC
*) 0 ;
23336 PyObject
*swig_obj
[1] ;
23338 if (!args
) SWIG_fail
;
23339 swig_obj
[0] = args
;
23340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23341 if (!SWIG_IsOK(res1
)) {
23342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= (int)((wxDC
const *)arg1
)->MinY();
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= SWIG_From_int(static_cast< int >(result
));
23358 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23359 PyObject
*resultobj
= 0;
23360 wxDC
*arg1
= (wxDC
*) 0 ;
23364 PyObject
*swig_obj
[1] ;
23366 if (!args
) SWIG_fail
;
23367 swig_obj
[0] = args
;
23368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23369 if (!SWIG_IsOK(res1
)) {
23370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= (int)((wxDC
const *)arg1
)->MaxY();
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= SWIG_From_int(static_cast< int >(result
));
23386 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23387 PyObject
*resultobj
= 0;
23388 wxDC
*arg1
= (wxDC
*) 0 ;
23389 int *arg2
= (int *) 0 ;
23390 int *arg3
= (int *) 0 ;
23391 int *arg4
= (int *) 0 ;
23392 int *arg5
= (int *) 0 ;
23396 int res2
= SWIG_TMPOBJ
;
23398 int res3
= SWIG_TMPOBJ
;
23400 int res4
= SWIG_TMPOBJ
;
23402 int res5
= SWIG_TMPOBJ
;
23403 PyObject
*swig_obj
[1] ;
23409 if (!args
) SWIG_fail
;
23410 swig_obj
[0] = args
;
23411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23412 if (!SWIG_IsOK(res1
)) {
23413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_Py_Void();
23423 if (SWIG_IsTmpObj(res2
)) {
23424 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23426 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23429 if (SWIG_IsTmpObj(res3
)) {
23430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23432 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23435 if (SWIG_IsTmpObj(res4
)) {
23436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23438 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23439 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23441 if (SWIG_IsTmpObj(res5
)) {
23442 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23444 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23453 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23454 PyObject
*resultobj
= 0;
23455 wxDC
*arg1
= (wxDC
*) 0 ;
23456 wxLayoutDirection result
;
23459 PyObject
*swig_obj
[1] ;
23461 if (!args
) SWIG_fail
;
23462 swig_obj
[0] = args
;
23463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23464 if (!SWIG_IsOK(res1
)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_From_int(static_cast< int >(result
));
23481 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
= 0;
23483 wxDC
*arg1
= (wxDC
*) 0 ;
23484 wxLayoutDirection arg2
;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 char * kwnames
[] = {
23492 (char *) "self",(char *) "dir", NULL
23495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23497 if (!SWIG_IsOK(res1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23502 if (!SWIG_IsOK(ecode2
)) {
23503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23505 arg2
= static_cast< wxLayoutDirection
>(val2
);
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 (arg1
)->SetLayoutDirection(arg2
);
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= SWIG_Py_Void();
23519 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23520 PyObject
*resultobj
= 0;
23521 wxDC
*arg1
= (wxDC
*) 0 ;
23525 PyObject
*swig_obj
[1] ;
23527 if (!args
) SWIG_fail
;
23528 swig_obj
[0] = args
;
23529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23530 if (!SWIG_IsOK(res1
)) {
23531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23533 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (long)(arg1
)->GetHDC();
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= SWIG_From_long(static_cast< long >(result
));
23547 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
= 0;
23549 wxDC
*arg1
= (wxDC
*) 0 ;
23550 PyObject
*arg2
= (PyObject
*) 0 ;
23551 PyObject
*arg3
= (PyObject
*) 0 ;
23552 PyObject
*arg4
= (PyObject
*) 0 ;
23553 PyObject
*result
= 0 ;
23556 PyObject
* obj0
= 0 ;
23557 PyObject
* obj1
= 0 ;
23558 PyObject
* obj2
= 0 ;
23559 PyObject
* obj3
= 0 ;
23560 char * kwnames
[] = {
23561 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23566 if (!SWIG_IsOK(res1
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= result
;
23586 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
= 0;
23588 wxDC
*arg1
= (wxDC
*) 0 ;
23589 PyObject
*arg2
= (PyObject
*) 0 ;
23590 PyObject
*arg3
= (PyObject
*) 0 ;
23591 PyObject
*arg4
= (PyObject
*) 0 ;
23592 PyObject
*result
= 0 ;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 PyObject
* obj2
= 0 ;
23598 PyObject
* obj3
= 0 ;
23599 char * kwnames
[] = {
23600 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23605 if (!SWIG_IsOK(res1
)) {
23606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23608 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= result
;
23625 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
= 0;
23627 wxDC
*arg1
= (wxDC
*) 0 ;
23628 PyObject
*arg2
= (PyObject
*) 0 ;
23629 PyObject
*arg3
= (PyObject
*) 0 ;
23630 PyObject
*arg4
= (PyObject
*) 0 ;
23631 PyObject
*result
= 0 ;
23634 PyObject
* obj0
= 0 ;
23635 PyObject
* obj1
= 0 ;
23636 PyObject
* obj2
= 0 ;
23637 PyObject
* obj3
= 0 ;
23638 char * kwnames
[] = {
23639 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23644 if (!SWIG_IsOK(res1
)) {
23645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= result
;
23664 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
= 0;
23666 wxDC
*arg1
= (wxDC
*) 0 ;
23667 PyObject
*arg2
= (PyObject
*) 0 ;
23668 PyObject
*arg3
= (PyObject
*) 0 ;
23669 PyObject
*arg4
= (PyObject
*) 0 ;
23670 PyObject
*result
= 0 ;
23673 PyObject
* obj0
= 0 ;
23674 PyObject
* obj1
= 0 ;
23675 PyObject
* obj2
= 0 ;
23676 PyObject
* obj3
= 0 ;
23677 char * kwnames
[] = {
23678 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23683 if (!SWIG_IsOK(res1
)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23686 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= result
;
23703 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
= 0;
23705 wxDC
*arg1
= (wxDC
*) 0 ;
23706 PyObject
*arg2
= (PyObject
*) 0 ;
23707 PyObject
*arg3
= (PyObject
*) 0 ;
23708 PyObject
*arg4
= (PyObject
*) 0 ;
23709 PyObject
*result
= 0 ;
23712 PyObject
* obj0
= 0 ;
23713 PyObject
* obj1
= 0 ;
23714 PyObject
* obj2
= 0 ;
23715 PyObject
* obj3
= 0 ;
23716 char * kwnames
[] = {
23717 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23722 if (!SWIG_IsOK(res1
)) {
23723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23725 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= result
;
23742 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
= 0;
23744 wxDC
*arg1
= (wxDC
*) 0 ;
23745 PyObject
*arg2
= (PyObject
*) 0 ;
23746 PyObject
*arg3
= (PyObject
*) 0 ;
23747 PyObject
*arg4
= (PyObject
*) 0 ;
23748 PyObject
*arg5
= (PyObject
*) 0 ;
23749 PyObject
*result
= 0 ;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 PyObject
* obj2
= 0 ;
23755 PyObject
* obj3
= 0 ;
23756 PyObject
* obj4
= 0 ;
23757 char * kwnames
[] = {
23758 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= result
;
23784 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23787 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23788 return SWIG_Py_Void();
23791 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
= 0;
23793 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23794 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23795 wxMemoryDC
*result
= 0 ;
23798 PyObject
* obj0
= 0 ;
23799 char * kwnames
[] = {
23800 (char *) "bitmap", NULL
23803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23805 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23806 if (!SWIG_IsOK(res1
)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23812 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23815 if (!wxPyCheckForApp()) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23828 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
= 0;
23830 wxDC
*arg1
= (wxDC
*) 0 ;
23831 wxMemoryDC
*result
= 0 ;
23834 PyObject
* obj0
= 0 ;
23835 char * kwnames
[] = {
23836 (char *) "oldDC", NULL
23839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23841 if (!SWIG_IsOK(res1
)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23846 if (!wxPyCheckForApp()) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23859 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
= 0;
23861 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23862 wxBitmap
*arg2
= 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char * kwnames
[] = {
23870 (char *) "self",(char *) "bitmap", NULL
23873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23878 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23880 if (!SWIG_IsOK(res2
)) {
23881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23886 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_Py_Void();
23900 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23903 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23904 return SWIG_Py_Void();
23907 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23908 return SWIG_Python_InitShadowInstance(args
);
23911 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23912 PyObject
*resultobj
= 0;
23913 wxScreenDC
*result
= 0 ;
23915 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23917 if (!wxPyCheckForApp()) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 result
= (wxScreenDC
*)new wxScreenDC();
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23930 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
= 0;
23932 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23933 wxWindow
*arg2
= (wxWindow
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 char * kwnames
[] = {
23942 (char *) "self",(char *) "window", NULL
23945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23950 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23952 if (!SWIG_IsOK(res2
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23955 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23971 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
= 0;
23973 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23974 wxRect
*arg2
= (wxRect
*) NULL
;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 char * kwnames
[] = {
23983 (char *) "self",(char *) "rect", NULL
23986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23988 if (!SWIG_IsOK(res1
)) {
23989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23991 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23994 if (!SWIG_IsOK(res2
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23997 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24014 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24015 PyObject
*resultobj
= 0;
24016 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24020 PyObject
*swig_obj
[1] ;
24022 if (!args
) SWIG_fail
;
24023 swig_obj
[0] = args
;
24024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24025 if (!SWIG_IsOK(res1
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24028 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (bool)(arg1
)->EndDrawingOnTop();
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24044 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24047 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24048 return SWIG_Py_Void();
24051 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24052 return SWIG_Python_InitShadowInstance(args
);
24055 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
= 0;
24057 wxWindow
*arg1
= (wxWindow
*) 0 ;
24058 wxWindowDC
*result
= 0 ;
24061 PyObject
* obj0
= 0 ;
24062 char * kwnames
[] = {
24063 (char *) "win", NULL
24066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24068 if (!SWIG_IsOK(res1
)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24073 if (!wxPyCheckForApp()) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24086 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24089 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24090 return SWIG_Py_Void();
24093 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 return SWIG_Python_InitShadowInstance(args
);
24097 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxWindow
*arg1
= (wxWindow
*) 0 ;
24100 wxClientDC
*result
= 0 ;
24103 PyObject
* obj0
= 0 ;
24104 char * kwnames
[] = {
24105 (char *) "win", NULL
24108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24110 if (!SWIG_IsOK(res1
)) {
24111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24115 if (!wxPyCheckForApp()) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (wxClientDC
*)new wxClientDC(arg1
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24128 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24131 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24132 return SWIG_Py_Void();
24135 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24136 return SWIG_Python_InitShadowInstance(args
);
24139 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
= 0;
24141 wxWindow
*arg1
= (wxWindow
*) 0 ;
24142 wxPaintDC
*result
= 0 ;
24145 PyObject
* obj0
= 0 ;
24146 char * kwnames
[] = {
24147 (char *) "win", NULL
24150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24152 if (!SWIG_IsOK(res1
)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24155 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24157 if (!wxPyCheckForApp()) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24170 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24174 return SWIG_Py_Void();
24177 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24178 return SWIG_Python_InitShadowInstance(args
);
24181 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24182 PyObject
*resultobj
= 0;
24183 wxDC
*arg1
= (wxDC
*) 0 ;
24184 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24185 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24186 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24187 wxBufferedDC
*result
= 0 ;
24195 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24197 if (!SWIG_IsOK(res1
)) {
24198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24202 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24203 if (!SWIG_IsOK(res2
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24209 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24212 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24213 if (!SWIG_IsOK(ecode3
)) {
24214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24216 arg3
= static_cast< int >(val3
);
24219 if (!wxPyCheckForApp()) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24232 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24233 PyObject
*resultobj
= 0;
24234 wxDC
*arg1
= (wxDC
*) 0 ;
24236 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24237 wxBufferedDC
*result
= 0 ;
24244 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24246 if (!SWIG_IsOK(res1
)) {
24247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24249 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24252 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24255 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24256 if (!SWIG_IsOK(ecode3
)) {
24257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24259 arg3
= static_cast< int >(val3
);
24262 if (!wxPyCheckForApp()) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24275 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24279 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24281 if ((argc
>= 1) && (argc
<= 3)) {
24285 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24286 _v
= SWIG_CheckState(res
);
24288 if (!_v
) goto check_1
;
24290 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24294 if ((argc
>= 2) && (argc
<= 3)) {
24295 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24299 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24304 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24305 PyObject
*resultobj
= 0;
24306 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24309 PyObject
*swig_obj
[1] ;
24311 if (!args
) SWIG_fail
;
24312 swig_obj
[0] = args
;
24313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24314 if (!SWIG_IsOK(res1
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24317 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= SWIG_Py_Void();
24332 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24333 PyObject
*resultobj
= 0;
24334 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24337 PyObject
*swig_obj
[1] ;
24339 if (!args
) SWIG_fail
;
24340 swig_obj
[0] = args
;
24341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24342 if (!SWIG_IsOK(res1
)) {
24343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24345 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= SWIG_Py_Void();
24359 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24362 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24363 return SWIG_Py_Void();
24366 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24367 return SWIG_Python_InitShadowInstance(args
);
24370 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
= 0;
24372 wxWindow
*arg1
= (wxWindow
*) 0 ;
24373 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24374 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24375 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24376 wxBufferedPaintDC
*result
= 0 ;
24383 PyObject
* obj0
= 0 ;
24384 PyObject
* obj1
= 0 ;
24385 PyObject
* obj2
= 0 ;
24386 char * kwnames
[] = {
24387 (char *) "window",(char *) "buffer",(char *) "style", NULL
24390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24392 if (!SWIG_IsOK(res1
)) {
24393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24395 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24398 if (!SWIG_IsOK(res2
)) {
24399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24404 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24408 if (!SWIG_IsOK(ecode3
)) {
24409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24411 arg3
= static_cast< int >(val3
);
24414 if (!wxPyCheckForApp()) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24427 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24430 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24431 return SWIG_Py_Void();
24434 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24435 return SWIG_Python_InitShadowInstance(args
);
24438 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
= 0;
24440 wxWindow
*arg1
= (wxWindow
*) 0 ;
24441 wxAutoBufferedPaintDC
*result
= 0 ;
24444 PyObject
* obj0
= 0 ;
24445 char * kwnames
[] = {
24446 (char *) "win", NULL
24449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24454 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24468 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24471 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24472 return SWIG_Py_Void();
24475 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24476 return SWIG_Python_InitShadowInstance(args
);
24479 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
= 0;
24481 wxWindow
*arg1
= (wxWindow
*) 0 ;
24485 PyObject
* obj0
= 0 ;
24486 char * kwnames
[] = {
24487 (char *) "window", NULL
24490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24492 if (!SWIG_IsOK(res1
)) {
24493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24495 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24511 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
= 0;
24515 wxMirrorDC
*result
= 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 char * kwnames
[] = {
24523 (char *) "dc",(char *) "mirror", NULL
24526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24527 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24528 if (!SWIG_IsOK(res1
)) {
24529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24535 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24536 if (!SWIG_IsOK(ecode2
)) {
24537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24539 arg2
= static_cast< bool >(val2
);
24541 if (!wxPyCheckForApp()) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24554 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24557 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24558 return SWIG_Py_Void();
24561 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24562 return SWIG_Python_InitShadowInstance(args
);
24565 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
= 0;
24567 wxPrintData
*arg1
= 0 ;
24568 wxPostScriptDC
*result
= 0 ;
24571 PyObject
* obj0
= 0 ;
24572 char * kwnames
[] = {
24573 (char *) "printData", NULL
24576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24577 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24578 if (!SWIG_IsOK(res1
)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24584 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24586 if (!wxPyCheckForApp()) SWIG_fail
;
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24599 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24600 PyObject
*resultobj
= 0;
24601 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24602 wxPrintData
*result
= 0 ;
24605 PyObject
*swig_obj
[1] ;
24607 if (!args
) SWIG_fail
;
24608 swig_obj
[0] = args
;
24609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24610 if (!SWIG_IsOK(res1
)) {
24611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24613 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24618 result
= (wxPrintData
*) &_result_ref
;
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24630 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
= 0;
24632 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24633 wxPrintData
*arg2
= 0 ;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 char * kwnames
[] = {
24641 (char *) "self",(char *) "data", NULL
24644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24646 if (!SWIG_IsOK(res1
)) {
24647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24649 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24651 if (!SWIG_IsOK(res2
)) {
24652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24657 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= SWIG_Py_Void();
24671 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
= 0;
24676 PyObject
* obj0
= 0 ;
24677 char * kwnames
[] = {
24678 (char *) "ppi", NULL
24681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24682 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24683 if (!SWIG_IsOK(ecode1
)) {
24684 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24686 arg1
= static_cast< int >(val1
);
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 wxPostScriptDC::SetResolution(arg1
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= SWIG_Py_Void();
24700 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24701 PyObject
*resultobj
= 0;
24704 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 result
= (int)wxPostScriptDC::GetResolution();
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= SWIG_From_int(static_cast< int >(result
));
24718 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24721 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24722 return SWIG_Py_Void();
24725 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24726 return SWIG_Python_InitShadowInstance(args
);
24729 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
= 0;
24731 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24732 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24733 wxMetaFile
*result
= 0 ;
24734 bool temp1
= false ;
24735 PyObject
* obj0
= 0 ;
24736 char * kwnames
[] = {
24737 (char *) "filename", NULL
24740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24743 arg1
= wxString_in_helper(obj0
);
24744 if (arg1
== NULL
) SWIG_fail
;
24749 if (!wxPyCheckForApp()) SWIG_fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24770 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24771 PyObject
*resultobj
= 0;
24772 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24775 PyObject
*swig_obj
[1] ;
24777 if (!args
) SWIG_fail
;
24778 swig_obj
[0] = args
;
24779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24780 if (!SWIG_IsOK(res1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24783 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= SWIG_Py_Void();
24798 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24799 PyObject
*resultobj
= 0;
24800 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24804 PyObject
*swig_obj
[1] ;
24806 if (!args
) SWIG_fail
;
24807 swig_obj
[0] = args
;
24808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24809 if (!SWIG_IsOK(res1
)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24812 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (bool)(arg1
)->IsOk();
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24828 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
= 0;
24830 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24831 int arg2
= (int) 0 ;
24832 int arg3
= (int) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 PyObject
* obj2
= 0 ;
24843 char * kwnames
[] = {
24844 (char *) "self",(char *) "width",(char *) "height", NULL
24847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24849 if (!SWIG_IsOK(res1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24852 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24855 if (!SWIG_IsOK(ecode2
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24858 arg2
= static_cast< int >(val2
);
24861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24862 if (!SWIG_IsOK(ecode3
)) {
24863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24865 arg3
= static_cast< int >(val3
);
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24882 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24883 PyObject
*resultobj
= 0;
24884 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24888 PyObject
*swig_obj
[1] ;
24890 if (!args
) SWIG_fail
;
24891 swig_obj
[0] = args
;
24892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24893 if (!SWIG_IsOK(res1
)) {
24894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24896 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 result
= (arg1
)->GetSize();
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24910 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24911 PyObject
*resultobj
= 0;
24912 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24916 PyObject
*swig_obj
[1] ;
24918 if (!args
) SWIG_fail
;
24919 swig_obj
[0] = args
;
24920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24921 if (!SWIG_IsOK(res1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24924 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (int)(arg1
)->GetWidth();
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24931 resultobj
= SWIG_From_int(static_cast< int >(result
));
24938 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24939 PyObject
*resultobj
= 0;
24940 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24944 PyObject
*swig_obj
[1] ;
24946 if (!args
) SWIG_fail
;
24947 swig_obj
[0] = args
;
24948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24949 if (!SWIG_IsOK(res1
)) {
24950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24952 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 result
= (int)(arg1
)->GetHeight();
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= SWIG_From_int(static_cast< int >(result
));
24966 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24967 PyObject
*resultobj
= 0;
24968 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24969 wxString
*result
= 0 ;
24972 PyObject
*swig_obj
[1] ;
24974 if (!args
) SWIG_fail
;
24975 swig_obj
[0] = args
;
24976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24977 if (!SWIG_IsOK(res1
)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24980 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
24985 result
= (wxString
*) &_result_ref
;
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24994 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25003 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25006 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25007 return SWIG_Py_Void();
25010 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25011 return SWIG_Python_InitShadowInstance(args
);
25014 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
= 0;
25016 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25017 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25018 int arg2
= (int) 0 ;
25019 int arg3
= (int) 0 ;
25020 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25021 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25022 wxMetaFileDC
*result
= 0 ;
25023 bool temp1
= false ;
25028 bool temp4
= false ;
25029 PyObject
* obj0
= 0 ;
25030 PyObject
* obj1
= 0 ;
25031 PyObject
* obj2
= 0 ;
25032 PyObject
* obj3
= 0 ;
25033 char * kwnames
[] = {
25034 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25040 arg1
= wxString_in_helper(obj0
);
25041 if (arg1
== NULL
) SWIG_fail
;
25046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25047 if (!SWIG_IsOK(ecode2
)) {
25048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25050 arg2
= static_cast< int >(val2
);
25053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25054 if (!SWIG_IsOK(ecode3
)) {
25055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25057 arg3
= static_cast< int >(val3
);
25061 arg4
= wxString_in_helper(obj3
);
25062 if (arg4
== NULL
) SWIG_fail
;
25067 if (!wxPyCheckForApp()) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25096 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25097 PyObject
*resultobj
= 0;
25098 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25099 wxMetaFile
*result
= 0 ;
25102 PyObject
*swig_obj
[1] ;
25104 if (!args
) SWIG_fail
;
25105 swig_obj
[0] = args
;
25106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25107 if (!SWIG_IsOK(res1
)) {
25108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25110 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (wxMetaFile
*)(arg1
)->Close();
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25124 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25127 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25128 return SWIG_Py_Void();
25131 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25132 return SWIG_Python_InitShadowInstance(args
);
25135 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
= 0;
25137 wxPrintData
*arg1
= 0 ;
25138 wxPrinterDC
*result
= 0 ;
25141 PyObject
* obj0
= 0 ;
25142 char * kwnames
[] = {
25143 (char *) "printData", NULL
25146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25147 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25148 if (!SWIG_IsOK(res1
)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25154 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25156 if (!wxPyCheckForApp()) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25169 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25171 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25172 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25173 return SWIG_Py_Void();
25176 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25177 return SWIG_Python_InitShadowInstance(args
);
25180 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25181 PyObject
*resultobj
= 0;
25182 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25185 PyObject
*swig_obj
[1] ;
25187 if (!args
) SWIG_fail
;
25188 swig_obj
[0] = args
;
25189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25190 if (!SWIG_IsOK(res1
)) {
25191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25193 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= SWIG_Py_Void();
25206 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
= 0;
25208 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 PyObject
* obj2
= 0 ;
25220 char * kwnames
[] = {
25221 (char *) "self",(char *) "x",(char *) "y", NULL
25224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25226 if (!SWIG_IsOK(res1
)) {
25227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25229 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25230 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25231 if (!SWIG_IsOK(ecode2
)) {
25232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25234 arg2
= static_cast< wxDouble
>(val2
);
25235 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25236 if (!SWIG_IsOK(ecode3
)) {
25237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25239 arg3
= static_cast< wxDouble
>(val3
);
25241 (arg1
)->MoveToPoint(arg2
,arg3
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= SWIG_Py_Void();
25251 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
= 0;
25253 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 PyObject
* obj2
= 0 ;
25265 char * kwnames
[] = {
25266 (char *) "self",(char *) "x",(char *) "y", NULL
25269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25271 if (!SWIG_IsOK(res1
)) {
25272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25274 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25275 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25276 if (!SWIG_IsOK(ecode2
)) {
25277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25279 arg2
= static_cast< wxDouble
>(val2
);
25280 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25281 if (!SWIG_IsOK(ecode3
)) {
25282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25284 arg3
= static_cast< wxDouble
>(val3
);
25286 (arg1
)->AddLineToPoint(arg2
,arg3
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 resultobj
= SWIG_Py_Void();
25296 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
= 0;
25298 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25319 PyObject
* obj0
= 0 ;
25320 PyObject
* obj1
= 0 ;
25321 PyObject
* obj2
= 0 ;
25322 PyObject
* obj3
= 0 ;
25323 PyObject
* obj4
= 0 ;
25324 PyObject
* obj5
= 0 ;
25325 PyObject
* obj6
= 0 ;
25326 char * kwnames
[] = {
25327 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
25330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25332 if (!SWIG_IsOK(res1
)) {
25333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25335 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25336 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25337 if (!SWIG_IsOK(ecode2
)) {
25338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25340 arg2
= static_cast< wxDouble
>(val2
);
25341 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25342 if (!SWIG_IsOK(ecode3
)) {
25343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25345 arg3
= static_cast< wxDouble
>(val3
);
25346 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25347 if (!SWIG_IsOK(ecode4
)) {
25348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25350 arg4
= static_cast< wxDouble
>(val4
);
25351 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25352 if (!SWIG_IsOK(ecode5
)) {
25353 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25355 arg5
= static_cast< wxDouble
>(val5
);
25356 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25357 if (!SWIG_IsOK(ecode6
)) {
25358 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25360 arg6
= static_cast< wxDouble
>(val6
);
25361 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25362 if (!SWIG_IsOK(ecode7
)) {
25363 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
25365 arg7
= static_cast< wxDouble
>(val7
);
25367 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25370 resultobj
= SWIG_Py_Void();
25377 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25378 PyObject
*resultobj
= 0;
25379 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25382 PyObject
*swig_obj
[1] ;
25384 if (!args
) SWIG_fail
;
25385 swig_obj
[0] = args
;
25386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25387 if (!SWIG_IsOK(res1
)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25390 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25392 (arg1
)->CloseSubpath();
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= SWIG_Py_Void();
25402 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25403 PyObject
*resultobj
= 0;
25404 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25408 PyObject
*swig_obj
[1] ;
25410 if (!args
) SWIG_fail
;
25411 swig_obj
[0] = args
;
25412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25413 if (!SWIG_IsOK(res1
)) {
25414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25416 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25418 result
= (arg1
)->GetCurrentPoint();
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
25428 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
= 0;
25430 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25451 PyObject
* obj0
= 0 ;
25452 PyObject
* obj1
= 0 ;
25453 PyObject
* obj2
= 0 ;
25454 PyObject
* obj3
= 0 ;
25455 PyObject
* obj4
= 0 ;
25456 PyObject
* obj5
= 0 ;
25457 PyObject
* obj6
= 0 ;
25458 char * kwnames
[] = {
25459 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
25462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25464 if (!SWIG_IsOK(res1
)) {
25465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25467 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25468 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25469 if (!SWIG_IsOK(ecode2
)) {
25470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
25472 arg2
= static_cast< wxDouble
>(val2
);
25473 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25474 if (!SWIG_IsOK(ecode3
)) {
25475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
25477 arg3
= static_cast< wxDouble
>(val3
);
25478 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25479 if (!SWIG_IsOK(ecode4
)) {
25480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
25482 arg4
= static_cast< wxDouble
>(val4
);
25483 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25484 if (!SWIG_IsOK(ecode5
)) {
25485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
25487 arg5
= static_cast< wxDouble
>(val5
);
25488 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25489 if (!SWIG_IsOK(ecode6
)) {
25490 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
25492 arg6
= static_cast< wxDouble
>(val6
);
25493 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25494 if (!SWIG_IsOK(ecode7
)) {
25495 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
25497 arg7
= static_cast< bool >(val7
);
25499 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25502 resultobj
= SWIG_Py_Void();
25509 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25510 PyObject
*resultobj
= 0;
25511 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 PyObject
* obj2
= 0 ;
25529 PyObject
* obj3
= 0 ;
25530 PyObject
* obj4
= 0 ;
25531 char * kwnames
[] = {
25532 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
25535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25537 if (!SWIG_IsOK(res1
)) {
25538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25540 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25541 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25542 if (!SWIG_IsOK(ecode2
)) {
25543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25545 arg2
= static_cast< wxDouble
>(val2
);
25546 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25547 if (!SWIG_IsOK(ecode3
)) {
25548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25550 arg3
= static_cast< wxDouble
>(val3
);
25551 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25552 if (!SWIG_IsOK(ecode4
)) {
25553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25555 arg4
= static_cast< wxDouble
>(val4
);
25556 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25557 if (!SWIG_IsOK(ecode5
)) {
25558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25560 arg5
= static_cast< wxDouble
>(val5
);
25562 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_Py_Void();
25572 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
= 0;
25574 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25589 PyObject
* obj0
= 0 ;
25590 PyObject
* obj1
= 0 ;
25591 PyObject
* obj2
= 0 ;
25592 PyObject
* obj3
= 0 ;
25593 PyObject
* obj4
= 0 ;
25594 char * kwnames
[] = {
25595 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25600 if (!SWIG_IsOK(res1
)) {
25601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25603 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25604 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25605 if (!SWIG_IsOK(ecode2
)) {
25606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
25608 arg2
= static_cast< wxDouble
>(val2
);
25609 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25610 if (!SWIG_IsOK(ecode3
)) {
25611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
25613 arg3
= static_cast< wxDouble
>(val3
);
25614 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25615 if (!SWIG_IsOK(ecode4
)) {
25616 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
25618 arg4
= static_cast< wxDouble
>(val4
);
25619 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25620 if (!SWIG_IsOK(ecode5
)) {
25621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
25623 arg5
= static_cast< wxDouble
>(val5
);
25625 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_Py_Void();
25635 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
= 0;
25637 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25649 PyObject
* obj0
= 0 ;
25650 PyObject
* obj1
= 0 ;
25651 PyObject
* obj2
= 0 ;
25652 PyObject
* obj3
= 0 ;
25653 char * kwnames
[] = {
25654 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
25657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25659 if (!SWIG_IsOK(res1
)) {
25660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25662 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25663 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25664 if (!SWIG_IsOK(ecode2
)) {
25665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
25667 arg2
= static_cast< wxDouble
>(val2
);
25668 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25669 if (!SWIG_IsOK(ecode3
)) {
25670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
25672 arg3
= static_cast< wxDouble
>(val3
);
25673 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25674 if (!SWIG_IsOK(ecode4
)) {
25675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
25677 arg4
= static_cast< wxDouble
>(val4
);
25679 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= SWIG_Py_Void();
25689 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25690 PyObject
*resultobj
= 0;
25691 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 PyObject
* obj2
= 0 ;
25712 PyObject
* obj3
= 0 ;
25713 PyObject
* obj4
= 0 ;
25714 PyObject
* obj5
= 0 ;
25715 char * kwnames
[] = {
25716 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
25719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25721 if (!SWIG_IsOK(res1
)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25724 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25725 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25726 if (!SWIG_IsOK(ecode2
)) {
25727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25729 arg2
= static_cast< wxDouble
>(val2
);
25730 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25731 if (!SWIG_IsOK(ecode3
)) {
25732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25734 arg3
= static_cast< wxDouble
>(val3
);
25735 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25736 if (!SWIG_IsOK(ecode4
)) {
25737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25739 arg4
= static_cast< wxDouble
>(val4
);
25740 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25741 if (!SWIG_IsOK(ecode5
)) {
25742 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25744 arg5
= static_cast< wxDouble
>(val5
);
25745 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25746 if (!SWIG_IsOK(ecode6
)) {
25747 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25749 arg6
= static_cast< wxDouble
>(val6
);
25751 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 resultobj
= SWIG_Py_Void();
25761 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25764 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25765 return SWIG_Py_Void();
25768 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25769 PyObject
*resultobj
= 0;
25770 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25773 PyObject
*swig_obj
[1] ;
25775 if (!args
) SWIG_fail
;
25776 swig_obj
[0] = args
;
25777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25778 if (!SWIG_IsOK(res1
)) {
25779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25781 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_Py_Void();
25794 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
= 0;
25796 wxWindowDC
*arg1
= 0 ;
25797 wxGraphicsContext
*result
= 0 ;
25800 PyObject
* obj0
= 0 ;
25801 char * kwnames
[] = {
25802 (char *) "dc", NULL
25805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
25806 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25807 if (!SWIG_IsOK(res1
)) {
25808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25813 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25815 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25825 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25826 PyObject
*resultobj
= 0;
25827 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25828 wxGraphicsPath
*result
= 0 ;
25831 PyObject
*swig_obj
[1] ;
25833 if (!args
) SWIG_fail
;
25834 swig_obj
[0] = args
;
25835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25836 if (!SWIG_IsOK(res1
)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25839 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25841 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25851 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25852 PyObject
*resultobj
= 0;
25853 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25856 PyObject
*swig_obj
[1] ;
25858 if (!args
) SWIG_fail
;
25859 swig_obj
[0] = args
;
25860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25861 if (!SWIG_IsOK(res1
)) {
25862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25864 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25866 (arg1
)->PushState();
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= SWIG_Py_Void();
25876 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25877 PyObject
*resultobj
= 0;
25878 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25881 PyObject
*swig_obj
[1] ;
25883 if (!args
) SWIG_fail
;
25884 swig_obj
[0] = args
;
25885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25886 if (!SWIG_IsOK(res1
)) {
25887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25889 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25891 (arg1
)->PopState();
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= SWIG_Py_Void();
25901 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
= 0;
25903 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25904 wxRegion
*arg2
= 0 ;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 char * kwnames
[] = {
25912 (char *) "self",(char *) "region", NULL
25915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25917 if (!SWIG_IsOK(res1
)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25920 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25922 if (!SWIG_IsOK(res2
)) {
25923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25928 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25930 (arg1
)->Clip((wxRegion
const &)*arg2
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 resultobj
= SWIG_Py_Void();
25940 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
= 0;
25942 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25951 PyObject
* obj0
= 0 ;
25952 PyObject
* obj1
= 0 ;
25953 PyObject
* obj2
= 0 ;
25954 char * kwnames
[] = {
25955 (char *) "self",(char *) "dx",(char *) "dy", NULL
25958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25960 if (!SWIG_IsOK(res1
)) {
25961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25963 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25964 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25965 if (!SWIG_IsOK(ecode2
)) {
25966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25968 arg2
= static_cast< wxDouble
>(val2
);
25969 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25970 if (!SWIG_IsOK(ecode3
)) {
25971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25973 arg3
= static_cast< wxDouble
>(val3
);
25975 (arg1
)->Translate(arg2
,arg3
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 resultobj
= SWIG_Py_Void();
25985 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
= 0;
25987 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 PyObject
* obj2
= 0 ;
25999 char * kwnames
[] = {
26000 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26005 if (!SWIG_IsOK(res1
)) {
26006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26008 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26009 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26010 if (!SWIG_IsOK(ecode2
)) {
26011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26013 arg2
= static_cast< wxDouble
>(val2
);
26014 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26015 if (!SWIG_IsOK(ecode3
)) {
26016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26018 arg3
= static_cast< wxDouble
>(val3
);
26020 (arg1
)->Scale(arg2
,arg3
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= SWIG_Py_Void();
26030 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
= 0;
26032 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26038 PyObject
* obj0
= 0 ;
26039 PyObject
* obj1
= 0 ;
26040 char * kwnames
[] = {
26041 (char *) "self",(char *) "angle", NULL
26044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26046 if (!SWIG_IsOK(res1
)) {
26047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26049 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26050 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26051 if (!SWIG_IsOK(ecode2
)) {
26052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26054 arg2
= static_cast< wxDouble
>(val2
);
26056 (arg1
)->Rotate(arg2
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= SWIG_Py_Void();
26066 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
= 0;
26068 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char * kwnames
[] = {
26077 (char *) "self",(char *) "pen", NULL
26080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26082 if (!SWIG_IsOK(res1
)) {
26083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26085 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26086 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
26087 if (!SWIG_IsOK(res2
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26093 arg2
= reinterpret_cast< wxPen
* >(argp2
);
26095 (arg1
)->SetPen((wxPen
const &)*arg2
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_Py_Void();
26105 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
= 0;
26107 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26108 wxBrush
*arg2
= 0 ;
26113 PyObject
* obj0
= 0 ;
26114 PyObject
* obj1
= 0 ;
26115 char * kwnames
[] = {
26116 (char *) "self",(char *) "brush", NULL
26119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26121 if (!SWIG_IsOK(res1
)) {
26122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26124 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
26126 if (!SWIG_IsOK(res2
)) {
26127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26132 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26134 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 resultobj
= SWIG_Py_Void();
26144 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
= 0;
26146 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26151 wxColour
*arg6
= 0 ;
26152 wxColour
*arg7
= 0 ;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 PyObject
* obj2
= 0 ;
26168 PyObject
* obj3
= 0 ;
26169 PyObject
* obj4
= 0 ;
26170 PyObject
* obj5
= 0 ;
26171 PyObject
* obj6
= 0 ;
26172 char * kwnames
[] = {
26173 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
26176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26178 if (!SWIG_IsOK(res1
)) {
26179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26181 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26182 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26183 if (!SWIG_IsOK(ecode2
)) {
26184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26186 arg2
= static_cast< wxDouble
>(val2
);
26187 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26188 if (!SWIG_IsOK(ecode3
)) {
26189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26191 arg3
= static_cast< wxDouble
>(val3
);
26192 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26193 if (!SWIG_IsOK(ecode4
)) {
26194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26196 arg4
= static_cast< wxDouble
>(val4
);
26197 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26198 if (!SWIG_IsOK(ecode5
)) {
26199 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26201 arg5
= static_cast< wxDouble
>(val5
);
26204 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26208 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26211 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= SWIG_Py_Void();
26221 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
= 0;
26223 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26229 wxColour
*arg7
= 0 ;
26230 wxColour
*arg8
= 0 ;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj1
= 0 ;
26247 PyObject
* obj2
= 0 ;
26248 PyObject
* obj3
= 0 ;
26249 PyObject
* obj4
= 0 ;
26250 PyObject
* obj5
= 0 ;
26251 PyObject
* obj6
= 0 ;
26252 PyObject
* obj7
= 0 ;
26253 char * kwnames
[] = {
26254 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
26257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26259 if (!SWIG_IsOK(res1
)) {
26260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26262 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26263 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26264 if (!SWIG_IsOK(ecode2
)) {
26265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26267 arg2
= static_cast< wxDouble
>(val2
);
26268 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26269 if (!SWIG_IsOK(ecode3
)) {
26270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26272 arg3
= static_cast< wxDouble
>(val3
);
26273 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26274 if (!SWIG_IsOK(ecode4
)) {
26275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26277 arg4
= static_cast< wxDouble
>(val4
);
26278 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26279 if (!SWIG_IsOK(ecode5
)) {
26280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26282 arg5
= static_cast< wxDouble
>(val5
);
26283 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26284 if (!SWIG_IsOK(ecode6
)) {
26285 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
26287 arg6
= static_cast< wxDouble
>(val6
);
26290 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26294 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
26297 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= SWIG_Py_Void();
26307 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
= 0;
26309 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26315 PyObject
* obj0
= 0 ;
26316 PyObject
* obj1
= 0 ;
26317 char * kwnames
[] = {
26318 (char *) "self",(char *) "font", NULL
26321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26323 if (!SWIG_IsOK(res1
)) {
26324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26326 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26328 if (!SWIG_IsOK(res2
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26334 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26336 (arg1
)->SetFont((wxFont
const &)*arg2
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 resultobj
= SWIG_Py_Void();
26346 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
= 0;
26348 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26349 wxColour
*arg2
= 0 ;
26353 PyObject
* obj0
= 0 ;
26354 PyObject
* obj1
= 0 ;
26355 char * kwnames
[] = {
26356 (char *) "self",(char *) "col", NULL
26359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26361 if (!SWIG_IsOK(res1
)) {
26362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26364 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26370 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_Py_Void();
26380 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
= 0;
26382 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26383 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26388 PyObject
* obj0
= 0 ;
26389 PyObject
* obj1
= 0 ;
26390 char * kwnames
[] = {
26391 (char *) "self",(char *) "path", NULL
26394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26396 if (!SWIG_IsOK(res1
)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26399 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26401 if (!SWIG_IsOK(res2
)) {
26402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26404 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26406 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_Py_Void();
26416 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
= 0;
26418 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26419 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26420 int arg3
= (int) wxWINDING_RULE
;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 PyObject
* obj2
= 0 ;
26430 char * kwnames
[] = {
26431 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26436 if (!SWIG_IsOK(res1
)) {
26437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26439 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26441 if (!SWIG_IsOK(res2
)) {
26442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26444 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26447 if (!SWIG_IsOK(ecode3
)) {
26448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
26450 arg3
= static_cast< int >(val3
);
26453 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_Py_Void();
26463 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
= 0;
26465 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26466 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26467 int arg3
= (int) wxWINDING_RULE
;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 PyObject
* obj2
= 0 ;
26477 char * kwnames
[] = {
26478 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26483 if (!SWIG_IsOK(res1
)) {
26484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26486 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26488 if (!SWIG_IsOK(res2
)) {
26489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26491 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26494 if (!SWIG_IsOK(ecode3
)) {
26495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
26497 arg3
= static_cast< int >(val3
);
26500 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= SWIG_Py_Void();
26510 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
= 0;
26512 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26513 wxString
*arg2
= 0 ;
26518 bool temp2
= false ;
26523 PyObject
* obj0
= 0 ;
26524 PyObject
* obj1
= 0 ;
26525 PyObject
* obj2
= 0 ;
26526 PyObject
* obj3
= 0 ;
26527 char * kwnames
[] = {
26528 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
26531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26533 if (!SWIG_IsOK(res1
)) {
26534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26536 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26538 arg2
= wxString_in_helper(obj1
);
26539 if (arg2
== NULL
) SWIG_fail
;
26542 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26543 if (!SWIG_IsOK(ecode3
)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
26546 arg3
= static_cast< wxDouble
>(val3
);
26547 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26548 if (!SWIG_IsOK(ecode4
)) {
26549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26551 arg4
= static_cast< wxDouble
>(val4
);
26553 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= SWIG_Py_Void();
26571 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
= 0;
26573 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26574 wxString
*arg2
= 0 ;
26580 bool temp2
= false ;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 PyObject
* obj2
= 0 ;
26590 PyObject
* obj3
= 0 ;
26591 PyObject
* obj4
= 0 ;
26592 char * kwnames
[] = {
26593 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
26596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26598 if (!SWIG_IsOK(res1
)) {
26599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26601 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26603 arg2
= wxString_in_helper(obj1
);
26604 if (arg2
== NULL
) SWIG_fail
;
26607 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26608 if (!SWIG_IsOK(ecode3
)) {
26609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
26611 arg3
= static_cast< wxDouble
>(val3
);
26612 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26613 if (!SWIG_IsOK(ecode4
)) {
26614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
26616 arg4
= static_cast< wxDouble
>(val4
);
26617 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26618 if (!SWIG_IsOK(ecode5
)) {
26619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
26621 arg5
= static_cast< wxDouble
>(val5
);
26623 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_Py_Void();
26641 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
= 0;
26643 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26644 wxString
*arg2
= 0 ;
26645 wxDouble
*arg3
= (wxDouble
*) 0 ;
26646 wxDouble
*arg4
= (wxDouble
*) 0 ;
26647 wxDouble
*arg5
= (wxDouble
*) 0 ;
26648 wxDouble
*arg6
= (wxDouble
*) 0 ;
26651 bool temp2
= false ;
26653 int res3
= SWIG_TMPOBJ
;
26655 int res4
= SWIG_TMPOBJ
;
26657 int res5
= SWIG_TMPOBJ
;
26659 int res6
= SWIG_TMPOBJ
;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 char * kwnames
[] = {
26663 (char *) "self",(char *) "text", NULL
26670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26672 if (!SWIG_IsOK(res1
)) {
26673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26675 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26677 arg2
= wxString_in_helper(obj1
);
26678 if (arg2
== NULL
) SWIG_fail
;
26682 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= SWIG_Py_Void();
26686 if (SWIG_IsTmpObj(res3
)) {
26687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26689 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26692 if (SWIG_IsTmpObj(res4
)) {
26693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26695 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26698 if (SWIG_IsTmpObj(res5
)) {
26699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26701 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26704 if (SWIG_IsTmpObj(res6
)) {
26705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26707 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26724 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26725 PyObject
*resultobj
= 0;
26726 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26727 wxString
*arg2
= 0 ;
26728 wxArrayDouble result
;
26731 bool temp2
= false ;
26732 PyObject
* obj0
= 0 ;
26733 PyObject
* obj1
= 0 ;
26734 char * kwnames
[] = {
26735 (char *) "self",(char *) "text", NULL
26738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26740 if (!SWIG_IsOK(res1
)) {
26741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26743 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26745 arg2
= wxString_in_helper(obj1
);
26746 if (arg2
== NULL
) SWIG_fail
;
26750 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= wxArrayDouble2PyList_helper(result
);
26770 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
= 0;
26772 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26773 wxBitmap
*arg2
= 0 ;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 PyObject
* obj2
= 0 ;
26793 PyObject
* obj3
= 0 ;
26794 PyObject
* obj4
= 0 ;
26795 PyObject
* obj5
= 0 ;
26796 char * kwnames
[] = {
26797 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26802 if (!SWIG_IsOK(res1
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26805 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26806 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26807 if (!SWIG_IsOK(res2
)) {
26808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26813 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26814 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26815 if (!SWIG_IsOK(ecode3
)) {
26816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26818 arg3
= static_cast< wxDouble
>(val3
);
26819 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26820 if (!SWIG_IsOK(ecode4
)) {
26821 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26823 arg4
= static_cast< wxDouble
>(val4
);
26824 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26825 if (!SWIG_IsOK(ecode5
)) {
26826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26828 arg5
= static_cast< wxDouble
>(val5
);
26829 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26830 if (!SWIG_IsOK(ecode6
)) {
26831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26833 arg6
= static_cast< wxDouble
>(val6
);
26835 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= SWIG_Py_Void();
26845 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
= 0;
26847 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26865 PyObject
* obj0
= 0 ;
26866 PyObject
* obj1
= 0 ;
26867 PyObject
* obj2
= 0 ;
26868 PyObject
* obj3
= 0 ;
26869 PyObject
* obj4
= 0 ;
26870 PyObject
* obj5
= 0 ;
26871 char * kwnames
[] = {
26872 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26877 if (!SWIG_IsOK(res1
)) {
26878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26880 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26882 if (!SWIG_IsOK(res2
)) {
26883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26888 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26889 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26890 if (!SWIG_IsOK(ecode3
)) {
26891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26893 arg3
= static_cast< wxDouble
>(val3
);
26894 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26895 if (!SWIG_IsOK(ecode4
)) {
26896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26898 arg4
= static_cast< wxDouble
>(val4
);
26899 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26900 if (!SWIG_IsOK(ecode5
)) {
26901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26903 arg5
= static_cast< wxDouble
>(val5
);
26904 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26905 if (!SWIG_IsOK(ecode6
)) {
26906 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26908 arg6
= static_cast< wxDouble
>(val6
);
26910 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 resultobj
= SWIG_Py_Void();
26920 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
= 0;
26922 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 PyObject
* obj2
= 0 ;
26940 PyObject
* obj3
= 0 ;
26941 PyObject
* obj4
= 0 ;
26942 char * kwnames
[] = {
26943 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26948 if (!SWIG_IsOK(res1
)) {
26949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26951 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26952 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26953 if (!SWIG_IsOK(ecode2
)) {
26954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26956 arg2
= static_cast< wxDouble
>(val2
);
26957 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26958 if (!SWIG_IsOK(ecode3
)) {
26959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26961 arg3
= static_cast< wxDouble
>(val3
);
26962 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26963 if (!SWIG_IsOK(ecode4
)) {
26964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26966 arg4
= static_cast< wxDouble
>(val4
);
26967 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26968 if (!SWIG_IsOK(ecode5
)) {
26969 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26971 arg5
= static_cast< wxDouble
>(val5
);
26973 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= SWIG_Py_Void();
26983 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
= 0;
26985 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26987 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 char * kwnames
[] = {
26993 (char *) "self",(char *) "points", NULL
26996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26998 if (!SWIG_IsOK(res1
)) {
26999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27001 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27003 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27004 if (arg3
== NULL
) SWIG_fail
;
27007 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 resultobj
= SWIG_Py_Void();
27012 if (arg3
) delete [] arg3
;
27017 if (arg3
) delete [] arg3
;
27023 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
= 0;
27025 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27026 PyObject
*arg2
= (PyObject
*) 0 ;
27027 PyObject
*arg3
= (PyObject
*) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 PyObject
* obj2
= 0 ;
27033 char * kwnames
[] = {
27034 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
27037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27039 if (!SWIG_IsOK(res1
)) {
27040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27042 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27046 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 resultobj
= SWIG_Py_Void();
27056 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
= 0;
27058 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27060 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27061 int arg4
= (int) wxWINDING_RULE
;
27066 PyObject
* obj0
= 0 ;
27067 PyObject
* obj1
= 0 ;
27068 PyObject
* obj2
= 0 ;
27069 char * kwnames
[] = {
27070 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
27073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27075 if (!SWIG_IsOK(res1
)) {
27076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27078 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27080 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27081 if (arg3
== NULL
) SWIG_fail
;
27084 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27085 if (!SWIG_IsOK(ecode4
)) {
27086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
27088 arg4
= static_cast< int >(val4
);
27091 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27094 resultobj
= SWIG_Py_Void();
27096 if (arg3
) delete [] arg3
;
27101 if (arg3
) delete [] arg3
;
27107 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
= 0;
27109 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27124 PyObject
* obj0
= 0 ;
27125 PyObject
* obj1
= 0 ;
27126 PyObject
* obj2
= 0 ;
27127 PyObject
* obj3
= 0 ;
27128 PyObject
* obj4
= 0 ;
27129 char * kwnames
[] = {
27130 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27135 if (!SWIG_IsOK(res1
)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27138 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27139 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27140 if (!SWIG_IsOK(ecode2
)) {
27141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27143 arg2
= static_cast< wxDouble
>(val2
);
27144 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27145 if (!SWIG_IsOK(ecode3
)) {
27146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27148 arg3
= static_cast< wxDouble
>(val3
);
27149 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27150 if (!SWIG_IsOK(ecode4
)) {
27151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27153 arg4
= static_cast< wxDouble
>(val4
);
27154 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27155 if (!SWIG_IsOK(ecode5
)) {
27156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27158 arg5
= static_cast< wxDouble
>(val5
);
27160 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 resultobj
= SWIG_Py_Void();
27170 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
= 0;
27172 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27187 PyObject
* obj0
= 0 ;
27188 PyObject
* obj1
= 0 ;
27189 PyObject
* obj2
= 0 ;
27190 PyObject
* obj3
= 0 ;
27191 PyObject
* obj4
= 0 ;
27192 char * kwnames
[] = {
27193 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27198 if (!SWIG_IsOK(res1
)) {
27199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27201 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27202 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27203 if (!SWIG_IsOK(ecode2
)) {
27204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27206 arg2
= static_cast< wxDouble
>(val2
);
27207 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27208 if (!SWIG_IsOK(ecode3
)) {
27209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27211 arg3
= static_cast< wxDouble
>(val3
);
27212 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27213 if (!SWIG_IsOK(ecode4
)) {
27214 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27216 arg4
= static_cast< wxDouble
>(val4
);
27217 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27218 if (!SWIG_IsOK(ecode5
)) {
27219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27221 arg5
= static_cast< wxDouble
>(val5
);
27223 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= SWIG_Py_Void();
27233 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
= 0;
27235 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27253 PyObject
* obj0
= 0 ;
27254 PyObject
* obj1
= 0 ;
27255 PyObject
* obj2
= 0 ;
27256 PyObject
* obj3
= 0 ;
27257 PyObject
* obj4
= 0 ;
27258 PyObject
* obj5
= 0 ;
27259 char * kwnames
[] = {
27260 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27265 if (!SWIG_IsOK(res1
)) {
27266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27268 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27269 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27270 if (!SWIG_IsOK(ecode2
)) {
27271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27273 arg2
= static_cast< wxDouble
>(val2
);
27274 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27275 if (!SWIG_IsOK(ecode3
)) {
27276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27278 arg3
= static_cast< wxDouble
>(val3
);
27279 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27280 if (!SWIG_IsOK(ecode4
)) {
27281 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27283 arg4
= static_cast< wxDouble
>(val4
);
27284 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27285 if (!SWIG_IsOK(ecode5
)) {
27286 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27288 arg5
= static_cast< wxDouble
>(val5
);
27289 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27290 if (!SWIG_IsOK(ecode6
)) {
27291 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27293 arg6
= static_cast< wxDouble
>(val6
);
27295 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27298 resultobj
= SWIG_Py_Void();
27305 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27308 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
27309 return SWIG_Py_Void();
27312 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27313 PyObject
*resultobj
= 0;
27314 wxWindowDC
*arg1
= 0 ;
27315 wxGCDC
*result
= 0 ;
27318 PyObject
* obj0
= 0 ;
27319 char * kwnames
[] = {
27320 (char *) "dc", NULL
27323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
27324 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27325 if (!SWIG_IsOK(res1
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27331 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27333 if (!wxPyCheckForApp()) SWIG_fail
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
27346 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27347 PyObject
*resultobj
= 0;
27348 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27351 PyObject
*swig_obj
[1] ;
27353 if (!args
) SWIG_fail
;
27354 swig_obj
[0] = args
;
27355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
27356 if (!SWIG_IsOK(res1
)) {
27357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
27359 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= SWIG_Py_Void();
27372 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 PyObject
*resultobj
= 0;
27374 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27375 wxGraphicsContext
*result
= 0 ;
27378 PyObject
*swig_obj
[1] ;
27380 if (!args
) SWIG_fail
;
27381 swig_obj
[0] = args
;
27382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27383 if (!SWIG_IsOK(res1
)) {
27384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27386 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27388 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
27389 if (PyErr_Occurred()) SWIG_fail
;
27391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27398 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27401 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
27402 return SWIG_Py_Void();
27405 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27406 return SWIG_Python_InitShadowInstance(args
);
27409 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27410 PyObject
*resultobj
= 0;
27411 wxOverlay
*result
= 0 ;
27413 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (wxOverlay
*)new wxOverlay();
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
27427 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27428 PyObject
*resultobj
= 0;
27429 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27432 PyObject
*swig_obj
[1] ;
27434 if (!args
) SWIG_fail
;
27435 swig_obj
[0] = args
;
27436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
27437 if (!SWIG_IsOK(res1
)) {
27438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
27440 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= SWIG_Py_Void();
27455 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27456 PyObject
*resultobj
= 0;
27457 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27460 PyObject
*swig_obj
[1] ;
27462 if (!args
) SWIG_fail
;
27463 swig_obj
[0] = args
;
27464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
27465 if (!SWIG_IsOK(res1
)) {
27466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
27468 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= SWIG_Py_Void();
27482 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27485 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
27486 return SWIG_Py_Void();
27489 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27490 return SWIG_Python_InitShadowInstance(args
);
27493 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27494 PyObject
*resultobj
= 0;
27495 wxOverlay
*arg1
= 0 ;
27496 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27501 wxDCOverlay
*result
= 0 ;
27515 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27517 if (!SWIG_IsOK(res1
)) {
27518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27523 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27524 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27525 if (!SWIG_IsOK(res2
)) {
27526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27528 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27529 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27530 if (!SWIG_IsOK(ecode3
)) {
27531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
27533 arg3
= static_cast< int >(val3
);
27534 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27535 if (!SWIG_IsOK(ecode4
)) {
27536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
27538 arg4
= static_cast< int >(val4
);
27539 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
27540 if (!SWIG_IsOK(ecode5
)) {
27541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
27543 arg5
= static_cast< int >(val5
);
27544 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
27545 if (!SWIG_IsOK(ecode6
)) {
27546 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
27548 arg6
= static_cast< int >(val6
);
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
27552 wxPyEndAllowThreads(__tstate
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27562 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27563 PyObject
*resultobj
= 0;
27564 wxOverlay
*arg1
= 0 ;
27565 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27566 wxDCOverlay
*result
= 0 ;
27572 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27574 if (!SWIG_IsOK(res1
)) {
27575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27580 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27581 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27582 if (!SWIG_IsOK(res2
)) {
27583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27585 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27599 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
27603 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
27606 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
27609 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
27613 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
27618 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27619 PyObject
*resultobj
= 0;
27620 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27623 PyObject
*swig_obj
[1] ;
27625 if (!args
) SWIG_fail
;
27626 swig_obj
[0] = args
;
27627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
27628 if (!SWIG_IsOK(res1
)) {
27629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27631 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= SWIG_Py_Void();
27646 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27647 PyObject
*resultobj
= 0;
27648 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27651 PyObject
*swig_obj
[1] ;
27653 if (!args
) SWIG_fail
;
27654 swig_obj
[0] = args
;
27655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
27656 if (!SWIG_IsOK(res1
)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27659 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= SWIG_Py_Void();
27673 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27676 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
27677 return SWIG_Py_Void();
27680 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27681 return SWIG_Python_InitShadowInstance(args
);
27684 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
= 0;
27688 int arg3
= (int) true ;
27689 int arg4
= (int) 1 ;
27690 wxImageList
*result
= 0 ;
27699 PyObject
* obj0
= 0 ;
27700 PyObject
* obj1
= 0 ;
27701 PyObject
* obj2
= 0 ;
27702 PyObject
* obj3
= 0 ;
27703 char * kwnames
[] = {
27704 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
27707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27708 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27709 if (!SWIG_IsOK(ecode1
)) {
27710 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
27712 arg1
= static_cast< int >(val1
);
27713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27714 if (!SWIG_IsOK(ecode2
)) {
27715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
27717 arg2
= static_cast< int >(val2
);
27719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27720 if (!SWIG_IsOK(ecode3
)) {
27721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27723 arg3
= static_cast< int >(val3
);
27726 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27727 if (!SWIG_IsOK(ecode4
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27730 arg4
= static_cast< int >(val4
);
27733 if (!wxPyCheckForApp()) SWIG_fail
;
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27740 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
27748 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27749 PyObject
*resultobj
= 0;
27750 wxImageList
*arg1
= (wxImageList
*) 0 ;
27753 PyObject
*swig_obj
[1] ;
27755 if (!args
) SWIG_fail
;
27756 swig_obj
[0] = args
;
27757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27761 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 resultobj
= SWIG_Py_Void();
27776 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27777 PyObject
*resultobj
= 0;
27778 wxImageList
*arg1
= (wxImageList
*) 0 ;
27779 wxBitmap
*arg2
= 0 ;
27780 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27781 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27789 PyObject
* obj0
= 0 ;
27790 PyObject
* obj1
= 0 ;
27791 PyObject
* obj2
= 0 ;
27792 char * kwnames
[] = {
27793 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27798 if (!SWIG_IsOK(res1
)) {
27799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27801 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27803 if (!SWIG_IsOK(res2
)) {
27804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27809 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27811 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27812 if (!SWIG_IsOK(res3
)) {
27813 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27818 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 resultobj
= SWIG_From_int(static_cast< int >(result
));
27833 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
= 0;
27835 wxImageList
*arg1
= (wxImageList
*) 0 ;
27836 wxBitmap
*arg2
= 0 ;
27837 wxColour
*arg3
= 0 ;
27844 PyObject
* obj0
= 0 ;
27845 PyObject
* obj1
= 0 ;
27846 PyObject
* obj2
= 0 ;
27847 char * kwnames
[] = {
27848 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27853 if (!SWIG_IsOK(res1
)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27856 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27858 if (!SWIG_IsOK(res2
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27864 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27867 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27875 resultobj
= SWIG_From_int(static_cast< int >(result
));
27882 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
= 0;
27884 wxImageList
*arg1
= (wxImageList
*) 0 ;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 char * kwnames
[] = {
27894 (char *) "self",(char *) "icon", NULL
27897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27902 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27904 if (!SWIG_IsOK(res2
)) {
27905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27910 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= SWIG_From_int(static_cast< int >(result
));
27924 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27925 PyObject
*resultobj
= 0;
27926 wxImageList
*arg1
= (wxImageList
*) 0 ;
27928 SwigValueWrapper
<wxBitmap
> result
;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 char * kwnames
[] = {
27936 (char *) "self",(char *) "index", NULL
27939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27941 if (!SWIG_IsOK(res1
)) {
27942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27944 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27946 if (!SWIG_IsOK(ecode2
)) {
27947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27949 arg2
= static_cast< int >(val2
);
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27963 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
= 0;
27965 wxImageList
*arg1
= (wxImageList
*) 0 ;
27972 PyObject
* obj0
= 0 ;
27973 PyObject
* obj1
= 0 ;
27974 char * kwnames
[] = {
27975 (char *) "self",(char *) "index", NULL
27978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27980 if (!SWIG_IsOK(res1
)) {
27981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27983 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27985 if (!SWIG_IsOK(ecode2
)) {
27986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27988 arg2
= static_cast< int >(val2
);
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
28002 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
= 0;
28004 wxImageList
*arg1
= (wxImageList
*) 0 ;
28006 wxBitmap
*arg3
= 0 ;
28007 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
28008 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
28018 PyObject
* obj0
= 0 ;
28019 PyObject
* obj1
= 0 ;
28020 PyObject
* obj2
= 0 ;
28021 PyObject
* obj3
= 0 ;
28022 char * kwnames
[] = {
28023 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
28026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28028 if (!SWIG_IsOK(res1
)) {
28029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
28031 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28033 if (!SWIG_IsOK(ecode2
)) {
28034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
28036 arg2
= static_cast< int >(val2
);
28037 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28038 if (!SWIG_IsOK(res3
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28044 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28046 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28047 if (!SWIG_IsOK(res4
)) {
28048 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28053 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28070 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
= 0;
28072 wxImageList
*arg1
= (wxImageList
*) 0 ;
28077 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
28078 bool arg7
= (bool) (bool)false ;
28094 PyObject
* obj0
= 0 ;
28095 PyObject
* obj1
= 0 ;
28096 PyObject
* obj2
= 0 ;
28097 PyObject
* obj3
= 0 ;
28098 PyObject
* obj4
= 0 ;
28099 PyObject
* obj5
= 0 ;
28100 PyObject
* obj6
= 0 ;
28101 char * kwnames
[] = {
28102 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
28105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28107 if (!SWIG_IsOK(res1
)) {
28108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
28110 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28112 if (!SWIG_IsOK(ecode2
)) {
28113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
28115 arg2
= static_cast< int >(val2
);
28116 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28117 if (!SWIG_IsOK(res3
)) {
28118 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28123 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28124 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28125 if (!SWIG_IsOK(ecode4
)) {
28126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
28128 arg4
= static_cast< int >(val4
);
28129 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28130 if (!SWIG_IsOK(ecode5
)) {
28131 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
28133 arg5
= static_cast< int >(val5
);
28135 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28136 if (!SWIG_IsOK(ecode6
)) {
28137 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
28139 arg6
= static_cast< int >(val6
);
28142 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
28143 if (!SWIG_IsOK(ecode7
)) {
28144 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
28146 arg7
= static_cast< bool >(val7
);
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28163 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28164 PyObject
*resultobj
= 0;
28165 wxImageList
*arg1
= (wxImageList
*) 0 ;
28169 PyObject
*swig_obj
[1] ;
28171 if (!args
) SWIG_fail
;
28172 swig_obj
[0] = args
;
28173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28174 if (!SWIG_IsOK(res1
)) {
28175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
28177 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 result
= (int)(arg1
)->GetImageCount();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= SWIG_From_int(static_cast< int >(result
));
28191 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
= 0;
28193 wxImageList
*arg1
= (wxImageList
*) 0 ;
28200 PyObject
* obj0
= 0 ;
28201 PyObject
* obj1
= 0 ;
28202 char * kwnames
[] = {
28203 (char *) "self",(char *) "index", NULL
28206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28208 if (!SWIG_IsOK(res1
)) {
28209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
28211 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28213 if (!SWIG_IsOK(ecode2
)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
28216 arg2
= static_cast< int >(val2
);
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 result
= (bool)(arg1
)->Remove(arg2
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28232 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28233 PyObject
*resultobj
= 0;
28234 wxImageList
*arg1
= (wxImageList
*) 0 ;
28238 PyObject
*swig_obj
[1] ;
28240 if (!args
) SWIG_fail
;
28241 swig_obj
[0] = args
;
28242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28243 if (!SWIG_IsOK(res1
)) {
28244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
28246 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 result
= (bool)(arg1
)->RemoveAll();
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28262 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
= 0;
28264 wxImageList
*arg1
= (wxImageList
*) 0 ;
28273 int res3
= SWIG_TMPOBJ
;
28275 int res4
= SWIG_TMPOBJ
;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 char * kwnames
[] = {
28279 (char *) "self",(char *) "index", NULL
28284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28286 if (!SWIG_IsOK(res1
)) {
28287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
28289 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28291 if (!SWIG_IsOK(ecode2
)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
28294 arg2
= static_cast< int >(val2
);
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28301 resultobj
= SWIG_Py_Void();
28302 if (SWIG_IsTmpObj(res3
)) {
28303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28305 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28308 if (SWIG_IsTmpObj(res4
)) {
28309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28311 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28320 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28323 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
28324 return SWIG_Py_Void();
28327 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28328 return SWIG_Python_InitShadowInstance(args
);
28331 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28332 PyObject
*resultobj
= 0;
28333 wxStockGDI
*result
= 0 ;
28335 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 result
= (wxStockGDI
*)new wxStockGDI();
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
28349 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28350 PyObject
*resultobj
= 0;
28351 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28354 PyObject
*swig_obj
[1] ;
28356 if (!args
) SWIG_fail
;
28357 swig_obj
[0] = args
;
28358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
28359 if (!SWIG_IsOK(res1
)) {
28360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28362 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 wxPyEndAllowThreads(__tstate
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= SWIG_Py_Void();
28377 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28378 PyObject
*resultobj
= 0;
28380 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 wxStockGDI::DeleteAll();
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_Py_Void();
28394 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28395 PyObject
*resultobj
= 0;
28396 wxStockGDI
*result
= 0 ;
28398 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 wxStockGDI
&_result_ref
= wxStockGDI::instance();
28403 result
= (wxStockGDI
*) &_result_ref
;
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28415 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
= 0;
28417 wxStockGDI::Item arg1
;
28418 wxBrush
*result
= 0 ;
28421 PyObject
* obj0
= 0 ;
28422 char * kwnames
[] = {
28423 (char *) "item", NULL
28426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
28427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28428 if (!SWIG_IsOK(ecode1
)) {
28429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28431 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28445 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28446 PyObject
*resultobj
= 0;
28447 wxStockGDI::Item arg1
;
28448 wxColour
*result
= 0 ;
28451 PyObject
* obj0
= 0 ;
28452 char * kwnames
[] = {
28453 (char *) "item", NULL
28456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
28457 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28458 if (!SWIG_IsOK(ecode1
)) {
28459 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28461 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
28475 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
= 0;
28477 wxStockGDI::Item arg1
;
28478 wxCursor
*result
= 0 ;
28481 PyObject
* obj0
= 0 ;
28482 char * kwnames
[] = {
28483 (char *) "item", NULL
28486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
28487 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28488 if (!SWIG_IsOK(ecode1
)) {
28489 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28491 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
28505 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28506 PyObject
*resultobj
= 0;
28507 wxStockGDI::Item arg1
;
28508 wxPen
*result
= 0 ;
28511 PyObject
* obj0
= 0 ;
28512 char * kwnames
[] = {
28513 (char *) "item", NULL
28516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
28517 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28518 if (!SWIG_IsOK(ecode1
)) {
28519 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28521 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28535 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28536 PyObject
*resultobj
= 0;
28537 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28538 wxStockGDI::Item arg2
;
28539 wxFont
*result
= 0 ;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 char * kwnames
[] = {
28547 (char *) "self",(char *) "item", NULL
28550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28552 if (!SWIG_IsOK(res1
)) {
28553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28555 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28557 if (!SWIG_IsOK(ecode2
)) {
28558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
28560 arg2
= static_cast< wxStockGDI::Item
>(val2
);
28562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28563 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28574 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28577 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
28578 return SWIG_Py_Void();
28581 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28582 return SWIG_Python_InitShadowInstance(args
);
28585 SWIGINTERN
int NullBitmap_set(PyObject
*) {
28586 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
28591 SWIGINTERN PyObject
*NullBitmap_get(void) {
28592 PyObject
*pyobj
= 0;
28594 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
28599 SWIGINTERN
int NullIcon_set(PyObject
*) {
28600 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
28605 SWIGINTERN PyObject
*NullIcon_get(void) {
28606 PyObject
*pyobj
= 0;
28608 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
28613 SWIGINTERN
int NullCursor_set(PyObject
*) {
28614 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
28619 SWIGINTERN PyObject
*NullCursor_get(void) {
28620 PyObject
*pyobj
= 0;
28622 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
28627 SWIGINTERN
int NullPen_set(PyObject
*) {
28628 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
28633 SWIGINTERN PyObject
*NullPen_get(void) {
28634 PyObject
*pyobj
= 0;
28636 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
28641 SWIGINTERN
int NullBrush_set(PyObject
*) {
28642 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
28647 SWIGINTERN PyObject
*NullBrush_get(void) {
28648 PyObject
*pyobj
= 0;
28650 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
28655 SWIGINTERN
int NullPalette_set(PyObject
*) {
28656 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
28661 SWIGINTERN PyObject
*NullPalette_get(void) {
28662 PyObject
*pyobj
= 0;
28664 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
28669 SWIGINTERN
int NullFont_set(PyObject
*) {
28670 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
28675 SWIGINTERN PyObject
*NullFont_get(void) {
28676 PyObject
*pyobj
= 0;
28678 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
28683 SWIGINTERN
int NullColour_set(PyObject
*) {
28684 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
28689 SWIGINTERN PyObject
*NullColour_get(void) {
28690 PyObject
*pyobj
= 0;
28692 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
28697 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28698 PyObject
*resultobj
= 0;
28699 wxGDIObjListBase
*result
= 0 ;
28701 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
28715 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28716 PyObject
*resultobj
= 0;
28717 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
28720 PyObject
*swig_obj
[1] ;
28722 if (!args
) SWIG_fail
;
28723 swig_obj
[0] = args
;
28724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28725 if (!SWIG_IsOK(res1
)) {
28726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28728 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 wxPyEndAllowThreads(__tstate
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= SWIG_Py_Void();
28743 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28746 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28747 return SWIG_Py_Void();
28750 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28751 return SWIG_Python_InitShadowInstance(args
);
28754 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28755 PyObject
*resultobj
= 0;
28756 wxPenList
*arg1
= (wxPenList
*) 0 ;
28757 wxColour
*arg2
= 0 ;
28760 wxPen
*result
= 0 ;
28768 PyObject
* obj0
= 0 ;
28769 PyObject
* obj1
= 0 ;
28770 PyObject
* obj2
= 0 ;
28771 PyObject
* obj3
= 0 ;
28772 char * kwnames
[] = {
28773 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28781 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28784 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28787 if (!SWIG_IsOK(ecode3
)) {
28788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28790 arg3
= static_cast< int >(val3
);
28791 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28792 if (!SWIG_IsOK(ecode4
)) {
28793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28795 arg4
= static_cast< int >(val4
);
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28809 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
= 0;
28811 wxPenList
*arg1
= (wxPenList
*) 0 ;
28812 wxPen
*arg2
= (wxPen
*) 0 ;
28817 PyObject
* obj0
= 0 ;
28818 PyObject
* obj1
= 0 ;
28819 char * kwnames
[] = {
28820 (char *) "self",(char *) "pen", NULL
28823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28825 if (!SWIG_IsOK(res1
)) {
28826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28828 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28830 if (!SWIG_IsOK(res2
)) {
28831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28833 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28836 (arg1
)->AddPen(arg2
);
28837 wxPyEndAllowThreads(__tstate
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= SWIG_Py_Void();
28847 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28848 PyObject
*resultobj
= 0;
28849 wxPenList
*arg1
= (wxPenList
*) 0 ;
28850 wxPen
*arg2
= (wxPen
*) 0 ;
28855 PyObject
* obj0
= 0 ;
28856 PyObject
* obj1
= 0 ;
28857 char * kwnames
[] = {
28858 (char *) "self",(char *) "pen", NULL
28861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28863 if (!SWIG_IsOK(res1
)) {
28864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28866 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28867 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28868 if (!SWIG_IsOK(res2
)) {
28869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28871 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 (arg1
)->RemovePen(arg2
);
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 resultobj
= SWIG_Py_Void();
28885 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28888 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28889 return SWIG_Py_Void();
28892 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28893 PyObject
*resultobj
= 0;
28894 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28895 wxColour
*arg2
= 0 ;
28896 int arg3
= (int) wxSOLID
;
28897 wxBrush
*result
= 0 ;
28903 PyObject
* obj0
= 0 ;
28904 PyObject
* obj1
= 0 ;
28905 PyObject
* obj2
= 0 ;
28906 char * kwnames
[] = {
28907 (char *) "self",(char *) "colour",(char *) "style", NULL
28910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28912 if (!SWIG_IsOK(res1
)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28915 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28918 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28922 if (!SWIG_IsOK(ecode3
)) {
28923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28925 arg3
= static_cast< int >(val3
);
28928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28929 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28940 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
= 0;
28942 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28943 wxBrush
*arg2
= (wxBrush
*) 0 ;
28948 PyObject
* obj0
= 0 ;
28949 PyObject
* obj1
= 0 ;
28950 char * kwnames
[] = {
28951 (char *) "self",(char *) "brush", NULL
28954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28956 if (!SWIG_IsOK(res1
)) {
28957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28959 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28961 if (!SWIG_IsOK(res2
)) {
28962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28964 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 (arg1
)->AddBrush(arg2
);
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28971 resultobj
= SWIG_Py_Void();
28978 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
= 0;
28980 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28981 wxBrush
*arg2
= (wxBrush
*) 0 ;
28986 PyObject
* obj0
= 0 ;
28987 PyObject
* obj1
= 0 ;
28988 char * kwnames
[] = {
28989 (char *) "self",(char *) "brush", NULL
28992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28994 if (!SWIG_IsOK(res1
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28997 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28999 if (!SWIG_IsOK(res2
)) {
29000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
29002 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 (arg1
)->RemoveBrush(arg2
);
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29009 resultobj
= SWIG_Py_Void();
29016 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29019 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
29020 return SWIG_Py_Void();
29023 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
= 0;
29025 wxFontList
*arg1
= (wxFontList
*) 0 ;
29030 bool arg6
= (bool) false ;
29031 wxString
const &arg7_defvalue
= wxPyEmptyString
;
29032 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29033 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
29034 wxFont
*result
= 0 ;
29047 bool temp7
= false ;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 PyObject
* obj2
= 0 ;
29053 PyObject
* obj3
= 0 ;
29054 PyObject
* obj4
= 0 ;
29055 PyObject
* obj5
= 0 ;
29056 PyObject
* obj6
= 0 ;
29057 PyObject
* obj7
= 0 ;
29058 char * kwnames
[] = {
29059 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
29062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29064 if (!SWIG_IsOK(res1
)) {
29065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29067 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29069 if (!SWIG_IsOK(ecode2
)) {
29070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
29072 arg2
= static_cast< int >(val2
);
29073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29074 if (!SWIG_IsOK(ecode3
)) {
29075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
29077 arg3
= static_cast< int >(val3
);
29078 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29079 if (!SWIG_IsOK(ecode4
)) {
29080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
29082 arg4
= static_cast< int >(val4
);
29083 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29084 if (!SWIG_IsOK(ecode5
)) {
29085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
29087 arg5
= static_cast< int >(val5
);
29089 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
29090 if (!SWIG_IsOK(ecode6
)) {
29091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
29093 arg6
= static_cast< bool >(val6
);
29097 arg7
= wxString_in_helper(obj6
);
29098 if (arg7
== NULL
) SWIG_fail
;
29103 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
29104 if (!SWIG_IsOK(ecode8
)) {
29105 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
29107 arg8
= static_cast< wxFontEncoding
>(val8
);
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29130 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
= 0;
29132 wxFontList
*arg1
= (wxFontList
*) 0 ;
29133 wxFont
*arg2
= (wxFont
*) 0 ;
29138 PyObject
* obj0
= 0 ;
29139 PyObject
* obj1
= 0 ;
29140 char * kwnames
[] = {
29141 (char *) "self",(char *) "font", NULL
29144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29146 if (!SWIG_IsOK(res1
)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29149 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29151 if (!SWIG_IsOK(res2
)) {
29152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
29154 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 (arg1
)->AddFont(arg2
);
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 resultobj
= SWIG_Py_Void();
29168 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
= 0;
29170 wxFontList
*arg1
= (wxFontList
*) 0 ;
29171 wxFont
*arg2
= (wxFont
*) 0 ;
29176 PyObject
* obj0
= 0 ;
29177 PyObject
* obj1
= 0 ;
29178 char * kwnames
[] = {
29179 (char *) "self",(char *) "font", NULL
29182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29184 if (!SWIG_IsOK(res1
)) {
29185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29187 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29189 if (!SWIG_IsOK(res2
)) {
29190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
29192 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 (arg1
)->RemoveFont(arg2
);
29196 wxPyEndAllowThreads(__tstate
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29199 resultobj
= SWIG_Py_Void();
29206 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29209 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
29210 return SWIG_Py_Void();
29213 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29214 PyObject
*resultobj
= 0;
29215 wxColourDatabase
*result
= 0 ;
29217 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
29219 if (!wxPyCheckForApp()) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 result
= (wxColourDatabase
*)new wxColourDatabase();
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
29232 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29233 PyObject
*resultobj
= 0;
29234 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29237 PyObject
*swig_obj
[1] ;
29239 if (!args
) SWIG_fail
;
29240 swig_obj
[0] = args
;
29241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
29242 if (!SWIG_IsOK(res1
)) {
29243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29245 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29253 resultobj
= SWIG_Py_Void();
29260 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
= 0;
29262 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29263 wxString
*arg2
= 0 ;
29267 bool temp2
= false ;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 char * kwnames
[] = {
29271 (char *) "self",(char *) "name", NULL
29274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29276 if (!SWIG_IsOK(res1
)) {
29277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29279 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29281 arg2
= wxString_in_helper(obj1
);
29282 if (arg2
== NULL
) SWIG_fail
;
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
29288 wxPyEndAllowThreads(__tstate
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29306 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29307 PyObject
*resultobj
= 0;
29308 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29309 wxColour
*arg2
= 0 ;
29314 PyObject
* obj0
= 0 ;
29315 PyObject
* obj1
= 0 ;
29316 char * kwnames
[] = {
29317 (char *) "self",(char *) "colour", NULL
29320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29322 if (!SWIG_IsOK(res1
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29325 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
29333 wxPyEndAllowThreads(__tstate
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29349 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
= 0;
29351 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29352 wxString
*arg2
= 0 ;
29353 wxColour
*arg3
= 0 ;
29356 bool temp2
= false ;
29358 PyObject
* obj0
= 0 ;
29359 PyObject
* obj1
= 0 ;
29360 PyObject
* obj2
= 0 ;
29361 char * kwnames
[] = {
29362 (char *) "self",(char *) "name",(char *) "colour", NULL
29365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29367 if (!SWIG_IsOK(res1
)) {
29368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29370 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29372 arg2
= wxString_in_helper(obj1
);
29373 if (arg2
== NULL
) SWIG_fail
;
29378 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= SWIG_Py_Void();
29401 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29402 PyObject
*resultobj
= 0;
29403 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29404 wxString
*arg2
= 0 ;
29410 bool temp2
= false ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 PyObject
* obj2
= 0 ;
29420 PyObject
* obj3
= 0 ;
29421 PyObject
* obj4
= 0 ;
29422 char * kwnames
[] = {
29423 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
29426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29428 if (!SWIG_IsOK(res1
)) {
29429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29431 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29433 arg2
= wxString_in_helper(obj1
);
29434 if (arg2
== NULL
) SWIG_fail
;
29437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29438 if (!SWIG_IsOK(ecode3
)) {
29439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
29441 arg3
= static_cast< int >(val3
);
29442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29443 if (!SWIG_IsOK(ecode4
)) {
29444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
29446 arg4
= static_cast< int >(val4
);
29447 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29448 if (!SWIG_IsOK(ecode5
)) {
29449 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
29451 arg5
= static_cast< int >(val5
);
29453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29455 wxPyEndAllowThreads(__tstate
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29458 resultobj
= SWIG_Py_Void();
29473 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29476 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
29477 return SWIG_Py_Void();
29480 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29481 return SWIG_Python_InitShadowInstance(args
);
29484 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29485 PyObject
*resultobj
= 0;
29486 wxFontList
*result
= 0 ;
29488 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= (wxFontList
*)_wxPyInitTheFontList();
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
29502 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29503 PyObject
*resultobj
= 0;
29504 wxPenList
*result
= 0 ;
29506 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
29508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29509 result
= (wxPenList
*)_wxPyInitThePenList();
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
29520 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29521 PyObject
*resultobj
= 0;
29522 wxBrushList
*result
= 0 ;
29524 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
29526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 result
= (wxBrushList
*)_wxPyInitTheBrushList();
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
29538 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29539 PyObject
*resultobj
= 0;
29540 wxColourDatabase
*result
= 0 ;
29542 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29556 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29557 PyObject
*resultobj
= 0;
29558 wxEffects
*result
= 0 ;
29560 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
29562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29563 result
= (wxEffects
*)new wxEffects();
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
29574 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29575 PyObject
*resultobj
= 0;
29576 wxEffects
*arg1
= (wxEffects
*) 0 ;
29580 PyObject
*swig_obj
[1] ;
29582 if (!args
) SWIG_fail
;
29583 swig_obj
[0] = args
;
29584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29585 if (!SWIG_IsOK(res1
)) {
29586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29588 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
29592 wxPyEndAllowThreads(__tstate
);
29593 if (PyErr_Occurred()) SWIG_fail
;
29595 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29602 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29603 PyObject
*resultobj
= 0;
29604 wxEffects
*arg1
= (wxEffects
*) 0 ;
29608 PyObject
*swig_obj
[1] ;
29610 if (!args
) SWIG_fail
;
29611 swig_obj
[0] = args
;
29612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29613 if (!SWIG_IsOK(res1
)) {
29614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29616 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29630 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29631 PyObject
*resultobj
= 0;
29632 wxEffects
*arg1
= (wxEffects
*) 0 ;
29636 PyObject
*swig_obj
[1] ;
29638 if (!args
) SWIG_fail
;
29639 swig_obj
[0] = args
;
29640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29641 if (!SWIG_IsOK(res1
)) {
29642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29644 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
29648 wxPyEndAllowThreads(__tstate
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29651 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29658 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29659 PyObject
*resultobj
= 0;
29660 wxEffects
*arg1
= (wxEffects
*) 0 ;
29664 PyObject
*swig_obj
[1] ;
29666 if (!args
) SWIG_fail
;
29667 swig_obj
[0] = args
;
29668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29669 if (!SWIG_IsOK(res1
)) {
29670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29672 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29675 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29679 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29686 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29687 PyObject
*resultobj
= 0;
29688 wxEffects
*arg1
= (wxEffects
*) 0 ;
29692 PyObject
*swig_obj
[1] ;
29694 if (!args
) SWIG_fail
;
29695 swig_obj
[0] = args
;
29696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29697 if (!SWIG_IsOK(res1
)) {
29698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29700 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
29704 wxPyEndAllowThreads(__tstate
);
29705 if (PyErr_Occurred()) SWIG_fail
;
29707 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29714 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29715 PyObject
*resultobj
= 0;
29716 wxEffects
*arg1
= (wxEffects
*) 0 ;
29717 wxColour
*arg2
= 0 ;
29721 PyObject
* obj0
= 0 ;
29722 PyObject
* obj1
= 0 ;
29723 char * kwnames
[] = {
29724 (char *) "self",(char *) "c", NULL
29727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29729 if (!SWIG_IsOK(res1
)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29732 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29739 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= SWIG_Py_Void();
29750 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
= 0;
29752 wxEffects
*arg1
= (wxEffects
*) 0 ;
29753 wxColour
*arg2
= 0 ;
29757 PyObject
* obj0
= 0 ;
29758 PyObject
* obj1
= 0 ;
29759 char * kwnames
[] = {
29760 (char *) "self",(char *) "c", NULL
29763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29765 if (!SWIG_IsOK(res1
)) {
29766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29768 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29771 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= SWIG_Py_Void();
29786 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
= 0;
29788 wxEffects
*arg1
= (wxEffects
*) 0 ;
29789 wxColour
*arg2
= 0 ;
29793 PyObject
* obj0
= 0 ;
29794 PyObject
* obj1
= 0 ;
29795 char * kwnames
[] = {
29796 (char *) "self",(char *) "c", NULL
29799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29801 if (!SWIG_IsOK(res1
)) {
29802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29804 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29807 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29815 resultobj
= SWIG_Py_Void();
29822 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
= 0;
29824 wxEffects
*arg1
= (wxEffects
*) 0 ;
29825 wxColour
*arg2
= 0 ;
29829 PyObject
* obj0
= 0 ;
29830 PyObject
* obj1
= 0 ;
29831 char * kwnames
[] = {
29832 (char *) "self",(char *) "c", NULL
29835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29837 if (!SWIG_IsOK(res1
)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29840 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29847 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= SWIG_Py_Void();
29858 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
= 0;
29860 wxEffects
*arg1
= (wxEffects
*) 0 ;
29861 wxColour
*arg2
= 0 ;
29865 PyObject
* obj0
= 0 ;
29866 PyObject
* obj1
= 0 ;
29867 char * kwnames
[] = {
29868 (char *) "self",(char *) "c", NULL
29871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29873 if (!SWIG_IsOK(res1
)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29876 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29884 wxPyEndAllowThreads(__tstate
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29887 resultobj
= SWIG_Py_Void();
29894 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29895 PyObject
*resultobj
= 0;
29896 wxEffects
*arg1
= (wxEffects
*) 0 ;
29897 wxColour
*arg2
= 0 ;
29898 wxColour
*arg3
= 0 ;
29899 wxColour
*arg4
= 0 ;
29900 wxColour
*arg5
= 0 ;
29901 wxColour
*arg6
= 0 ;
29909 PyObject
* obj0
= 0 ;
29910 PyObject
* obj1
= 0 ;
29911 PyObject
* obj2
= 0 ;
29912 PyObject
* obj3
= 0 ;
29913 PyObject
* obj4
= 0 ;
29914 PyObject
* obj5
= 0 ;
29915 char * kwnames
[] = {
29916 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29921 if (!SWIG_IsOK(res1
)) {
29922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29924 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29927 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29931 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29935 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29939 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29943 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29947 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29948 wxPyEndAllowThreads(__tstate
);
29949 if (PyErr_Occurred()) SWIG_fail
;
29951 resultobj
= SWIG_Py_Void();
29958 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29959 PyObject
*resultobj
= 0;
29960 wxEffects
*arg1
= (wxEffects
*) 0 ;
29963 int arg4
= (int) 1 ;
29971 PyObject
* obj0
= 0 ;
29972 PyObject
* obj1
= 0 ;
29973 PyObject
* obj2
= 0 ;
29974 PyObject
* obj3
= 0 ;
29975 char * kwnames
[] = {
29976 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29981 if (!SWIG_IsOK(res1
)) {
29982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29984 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29986 if (!SWIG_IsOK(res2
)) {
29987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29992 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29995 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29999 if (!SWIG_IsOK(ecode4
)) {
30000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
30002 arg4
= static_cast< int >(val4
);
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 resultobj
= SWIG_Py_Void();
30017 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
= 0;
30019 wxEffects
*arg1
= (wxEffects
*) 0 ;
30022 wxBitmap
*arg4
= 0 ;
30031 PyObject
* obj0
= 0 ;
30032 PyObject
* obj1
= 0 ;
30033 PyObject
* obj2
= 0 ;
30034 PyObject
* obj3
= 0 ;
30035 char * kwnames
[] = {
30036 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
30039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30041 if (!SWIG_IsOK(res1
)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
30044 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30047 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30049 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30050 if (!SWIG_IsOK(res3
)) {
30051 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30056 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30057 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
30058 if (!SWIG_IsOK(res4
)) {
30059 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30064 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30080 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30083 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
30084 return SWIG_Py_Void();
30087 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30088 return SWIG_Python_InitShadowInstance(args
);
30091 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30092 PyObject
*resultobj
= 0;
30096 wxSplitterRenderParams
*result
= 0 ;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 PyObject
* obj2
= 0 ;
30106 char * kwnames
[] = {
30107 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
30110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30111 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30112 if (!SWIG_IsOK(ecode1
)) {
30113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
30115 arg1
= static_cast< int >(val1
);
30116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30117 if (!SWIG_IsOK(ecode2
)) {
30118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
30120 arg2
= static_cast< int >(val2
);
30121 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30122 if (!SWIG_IsOK(ecode3
)) {
30123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
30125 arg3
= static_cast< bool >(val3
);
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
30139 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30140 PyObject
*resultobj
= 0;
30141 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30144 PyObject
*swig_obj
[1] ;
30146 if (!args
) SWIG_fail
;
30147 swig_obj
[0] = args
;
30148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
30149 if (!SWIG_IsOK(res1
)) {
30150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30152 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= SWIG_Py_Void();
30167 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30168 PyObject
*resultobj
= 0;
30169 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30173 PyObject
*swig_obj
[1] ;
30175 if (!args
) SWIG_fail
;
30176 swig_obj
[0] = args
;
30177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30178 if (!SWIG_IsOK(res1
)) {
30179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30181 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30182 result
= (int)(int) ((arg1
)->widthSash
);
30183 resultobj
= SWIG_From_int(static_cast< int >(result
));
30190 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30191 PyObject
*resultobj
= 0;
30192 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30196 PyObject
*swig_obj
[1] ;
30198 if (!args
) SWIG_fail
;
30199 swig_obj
[0] = args
;
30200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30201 if (!SWIG_IsOK(res1
)) {
30202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30204 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30205 result
= (int)(int) ((arg1
)->border
);
30206 resultobj
= SWIG_From_int(static_cast< int >(result
));
30213 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30214 PyObject
*resultobj
= 0;
30215 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30219 PyObject
*swig_obj
[1] ;
30221 if (!args
) SWIG_fail
;
30222 swig_obj
[0] = args
;
30223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30224 if (!SWIG_IsOK(res1
)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30227 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30228 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
30229 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
30236 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30239 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
30240 return SWIG_Py_Void();
30243 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30244 return SWIG_Python_InitShadowInstance(args
);
30247 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30248 PyObject
*resultobj
= 0;
30249 wxHeaderButtonParams
*result
= 0 ;
30251 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
30265 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30266 PyObject
*resultobj
= 0;
30267 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30270 PyObject
*swig_obj
[1] ;
30272 if (!args
) SWIG_fail
;
30273 swig_obj
[0] = args
;
30274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
30275 if (!SWIG_IsOK(res1
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30278 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30286 resultobj
= SWIG_Py_Void();
30293 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30294 PyObject
*resultobj
= 0;
30295 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30296 wxColour
*arg2
= (wxColour
*) 0 ;
30300 PyObject
*swig_obj
[2] ;
30302 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
30303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30304 if (!SWIG_IsOK(res1
)) {
30305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30307 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30310 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30312 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
30314 resultobj
= SWIG_Py_Void();
30321 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30322 PyObject
*resultobj
= 0;
30323 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30324 wxColour
*result
= 0 ;
30327 PyObject
*swig_obj
[1] ;
30329 if (!args
) SWIG_fail
;
30330 swig_obj
[0] = args
;
30331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30335 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30336 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
30337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30344 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30345 PyObject
*resultobj
= 0;
30346 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30347 wxColour
*arg2
= (wxColour
*) 0 ;
30351 PyObject
*swig_obj
[2] ;
30353 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
30354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30355 if (!SWIG_IsOK(res1
)) {
30356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30358 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30361 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30363 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
30365 resultobj
= SWIG_Py_Void();
30372 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30373 PyObject
*resultobj
= 0;
30374 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30375 wxColour
*result
= 0 ;
30378 PyObject
*swig_obj
[1] ;
30380 if (!args
) SWIG_fail
;
30381 swig_obj
[0] = args
;
30382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30383 if (!SWIG_IsOK(res1
)) {
30384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30386 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30387 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
30388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30395 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30396 PyObject
*resultobj
= 0;
30397 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30398 wxString
*arg2
= (wxString
*) 0 ;
30401 bool temp2
= false ;
30402 PyObject
*swig_obj
[2] ;
30404 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
30405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30406 if (!SWIG_IsOK(res1
)) {
30407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30409 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30411 arg2
= wxString_in_helper(swig_obj
[1]);
30412 if (arg2
== NULL
) SWIG_fail
;
30415 if (arg1
) (arg1
)->m_labelText
= *arg2
;
30417 resultobj
= SWIG_Py_Void();
30432 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30433 PyObject
*resultobj
= 0;
30434 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30435 wxString
*result
= 0 ;
30438 PyObject
*swig_obj
[1] ;
30440 if (!args
) SWIG_fail
;
30441 swig_obj
[0] = args
;
30442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30443 if (!SWIG_IsOK(res1
)) {
30444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30446 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30447 result
= (wxString
*)& ((arg1
)->m_labelText
);
30450 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30452 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30461 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30462 PyObject
*resultobj
= 0;
30463 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30464 wxFont
*arg2
= (wxFont
*) 0 ;
30469 PyObject
*swig_obj
[2] ;
30471 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
30472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30473 if (!SWIG_IsOK(res1
)) {
30474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30476 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30477 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
30478 if (!SWIG_IsOK(res2
)) {
30479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
30481 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30482 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
30484 resultobj
= SWIG_Py_Void();
30491 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30492 PyObject
*resultobj
= 0;
30493 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30494 wxFont
*result
= 0 ;
30497 PyObject
*swig_obj
[1] ;
30499 if (!args
) SWIG_fail
;
30500 swig_obj
[0] = args
;
30501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30505 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30506 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
30507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30514 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30515 PyObject
*resultobj
= 0;
30516 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30517 wxColour
*arg2
= (wxColour
*) 0 ;
30521 PyObject
*swig_obj
[2] ;
30523 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
30524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30525 if (!SWIG_IsOK(res1
)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30528 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30531 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30533 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
30535 resultobj
= SWIG_Py_Void();
30542 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30543 PyObject
*resultobj
= 0;
30544 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30545 wxColour
*result
= 0 ;
30548 PyObject
*swig_obj
[1] ;
30550 if (!args
) SWIG_fail
;
30551 swig_obj
[0] = args
;
30552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30553 if (!SWIG_IsOK(res1
)) {
30554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30556 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30557 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
30558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30565 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30566 PyObject
*resultobj
= 0;
30567 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30568 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30573 PyObject
*swig_obj
[2] ;
30575 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
30576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30577 if (!SWIG_IsOK(res1
)) {
30578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30580 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30581 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
30582 if (!SWIG_IsOK(res2
)) {
30583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
30585 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30586 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
30588 resultobj
= SWIG_Py_Void();
30595 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30596 PyObject
*resultobj
= 0;
30597 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30598 wxBitmap
*result
= 0 ;
30601 PyObject
*swig_obj
[1] ;
30603 if (!args
) SWIG_fail
;
30604 swig_obj
[0] = args
;
30605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30606 if (!SWIG_IsOK(res1
)) {
30607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30609 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30610 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
30611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
30618 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30619 PyObject
*resultobj
= 0;
30620 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30626 PyObject
*swig_obj
[2] ;
30628 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
30629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30630 if (!SWIG_IsOK(res1
)) {
30631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30633 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30634 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30635 if (!SWIG_IsOK(ecode2
)) {
30636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
30638 arg2
= static_cast< int >(val2
);
30639 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
30641 resultobj
= SWIG_Py_Void();
30648 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30649 PyObject
*resultobj
= 0;
30650 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30654 PyObject
*swig_obj
[1] ;
30656 if (!args
) SWIG_fail
;
30657 swig_obj
[0] = args
;
30658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30659 if (!SWIG_IsOK(res1
)) {
30660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30662 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30663 result
= (int) ((arg1
)->m_labelAlignment
);
30664 resultobj
= SWIG_From_int(static_cast< int >(result
));
30671 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30674 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
30675 return SWIG_Py_Void();
30678 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30679 return SWIG_Python_InitShadowInstance(args
);
30682 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30683 PyObject
*resultobj
= 0;
30686 wxRendererVersion
*result
= 0 ;
30691 PyObject
* obj0
= 0 ;
30692 PyObject
* obj1
= 0 ;
30693 char * kwnames
[] = {
30694 (char *) "version_",(char *) "age_", NULL
30697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30699 if (!SWIG_IsOK(ecode1
)) {
30700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
30702 arg1
= static_cast< int >(val1
);
30703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30704 if (!SWIG_IsOK(ecode2
)) {
30705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
30707 arg2
= static_cast< int >(val2
);
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
30711 wxPyEndAllowThreads(__tstate
);
30712 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
30721 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30722 PyObject
*resultobj
= 0;
30723 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30726 PyObject
*swig_obj
[1] ;
30728 if (!args
) SWIG_fail
;
30729 swig_obj
[0] = args
;
30730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30731 if (!SWIG_IsOK(res1
)) {
30732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30734 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_Py_Void();
30749 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30750 PyObject
*resultobj
= 0;
30751 wxRendererVersion
*arg1
= 0 ;
30755 PyObject
* obj0
= 0 ;
30756 char * kwnames
[] = {
30757 (char *) "ver", NULL
30760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30761 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30762 if (!SWIG_IsOK(res1
)) {
30763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30768 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30784 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30785 PyObject
*resultobj
= 0;
30786 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30790 PyObject
*swig_obj
[1] ;
30792 if (!args
) SWIG_fail
;
30793 swig_obj
[0] = args
;
30794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30795 if (!SWIG_IsOK(res1
)) {
30796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30798 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30799 result
= (int)(int) ((arg1
)->version
);
30800 resultobj
= SWIG_From_int(static_cast< int >(result
));
30807 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30808 PyObject
*resultobj
= 0;
30809 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30813 PyObject
*swig_obj
[1] ;
30815 if (!args
) SWIG_fail
;
30816 swig_obj
[0] = args
;
30817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30818 if (!SWIG_IsOK(res1
)) {
30819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30821 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30822 result
= (int)(int) ((arg1
)->age
);
30823 resultobj
= SWIG_From_int(static_cast< int >(result
));
30830 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30833 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30834 return SWIG_Py_Void();
30837 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30838 return SWIG_Python_InitShadowInstance(args
);
30841 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
= 0;
30843 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30844 wxWindow
*arg2
= (wxWindow
*) 0 ;
30847 int arg5
= (int) 0 ;
30848 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30849 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30863 PyObject
* obj0
= 0 ;
30864 PyObject
* obj1
= 0 ;
30865 PyObject
* obj2
= 0 ;
30866 PyObject
* obj3
= 0 ;
30867 PyObject
* obj4
= 0 ;
30868 PyObject
* obj5
= 0 ;
30869 PyObject
* obj6
= 0 ;
30870 char * kwnames
[] = {
30871 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30876 if (!SWIG_IsOK(res1
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30879 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30881 if (!SWIG_IsOK(res2
)) {
30882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30884 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30885 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30886 if (!SWIG_IsOK(res3
)) {
30887 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30892 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30895 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30898 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30899 if (!SWIG_IsOK(ecode5
)) {
30900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30902 arg5
= static_cast< int >(val5
);
30905 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30906 if (!SWIG_IsOK(ecode6
)) {
30907 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30909 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30912 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30913 if (!SWIG_IsOK(res7
)) {
30914 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30916 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30924 resultobj
= SWIG_Py_Void();
30931 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
= 0;
30933 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30934 wxWindow
*arg2
= (wxWindow
*) 0 ;
30937 int arg5
= (int) 0 ;
30938 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30939 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30953 PyObject
* obj0
= 0 ;
30954 PyObject
* obj1
= 0 ;
30955 PyObject
* obj2
= 0 ;
30956 PyObject
* obj3
= 0 ;
30957 PyObject
* obj4
= 0 ;
30958 PyObject
* obj5
= 0 ;
30959 PyObject
* obj6
= 0 ;
30960 char * kwnames
[] = {
30961 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30966 if (!SWIG_IsOK(res1
)) {
30967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30969 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30971 if (!SWIG_IsOK(res2
)) {
30972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30974 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30975 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30976 if (!SWIG_IsOK(res3
)) {
30977 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30982 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30985 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30988 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30989 if (!SWIG_IsOK(ecode5
)) {
30990 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30992 arg5
= static_cast< int >(val5
);
30995 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30996 if (!SWIG_IsOK(ecode6
)) {
30997 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30999 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
31002 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
31003 if (!SWIG_IsOK(res7
)) {
31004 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
31006 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31014 resultobj
= SWIG_Py_Void();
31021 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
= 0;
31023 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31024 wxWindow
*arg2
= (wxWindow
*) 0 ;
31030 PyObject
* obj0
= 0 ;
31031 PyObject
* obj1
= 0 ;
31032 char * kwnames
[] = {
31033 (char *) "self",(char *) "win", NULL
31036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31038 if (!SWIG_IsOK(res1
)) {
31039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31041 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31042 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31043 if (!SWIG_IsOK(res2
)) {
31044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
31046 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31049 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31053 resultobj
= SWIG_From_int(static_cast< int >(result
));
31060 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
= 0;
31062 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31063 wxWindow
*arg2
= (wxWindow
*) 0 ;
31066 int arg5
= (int) 0 ;
31076 PyObject
* obj0
= 0 ;
31077 PyObject
* obj1
= 0 ;
31078 PyObject
* obj2
= 0 ;
31079 PyObject
* obj3
= 0 ;
31080 PyObject
* obj4
= 0 ;
31081 char * kwnames
[] = {
31082 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31087 if (!SWIG_IsOK(res1
)) {
31088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31090 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31092 if (!SWIG_IsOK(res2
)) {
31093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31095 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31096 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31097 if (!SWIG_IsOK(res3
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31103 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31106 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31109 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31110 if (!SWIG_IsOK(ecode5
)) {
31111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
31113 arg5
= static_cast< int >(val5
);
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31121 resultobj
= SWIG_Py_Void();
31128 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31129 PyObject
*resultobj
= 0;
31130 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31131 wxWindow
*arg2
= (wxWindow
*) 0 ;
31134 int arg5
= (int) 0 ;
31144 PyObject
* obj0
= 0 ;
31145 PyObject
* obj1
= 0 ;
31146 PyObject
* obj2
= 0 ;
31147 PyObject
* obj3
= 0 ;
31148 PyObject
* obj4
= 0 ;
31149 char * kwnames
[] = {
31150 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31155 if (!SWIG_IsOK(res1
)) {
31156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31158 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31160 if (!SWIG_IsOK(res2
)) {
31161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
31163 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31164 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31165 if (!SWIG_IsOK(res3
)) {
31166 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31171 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31174 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31177 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31178 if (!SWIG_IsOK(ecode5
)) {
31179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
31181 arg5
= static_cast< int >(val5
);
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= SWIG_Py_Void();
31196 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
= 0;
31198 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31199 wxWindow
*arg2
= (wxWindow
*) 0 ;
31203 wxOrientation arg6
;
31204 int arg7
= (int) 0 ;
31218 PyObject
* obj0
= 0 ;
31219 PyObject
* obj1
= 0 ;
31220 PyObject
* obj2
= 0 ;
31221 PyObject
* obj3
= 0 ;
31222 PyObject
* obj4
= 0 ;
31223 PyObject
* obj5
= 0 ;
31224 PyObject
* obj6
= 0 ;
31225 char * kwnames
[] = {
31226 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
31229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31231 if (!SWIG_IsOK(res1
)) {
31232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31234 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31236 if (!SWIG_IsOK(res2
)) {
31237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
31239 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31240 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31241 if (!SWIG_IsOK(res3
)) {
31242 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31247 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31250 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31252 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31253 if (!SWIG_IsOK(ecode5
)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
31256 arg5
= static_cast< int >(val5
);
31257 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31258 if (!SWIG_IsOK(ecode6
)) {
31259 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
31261 arg6
= static_cast< wxOrientation
>(val6
);
31263 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31264 if (!SWIG_IsOK(ecode7
)) {
31265 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
31267 arg7
= static_cast< int >(val7
);
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= SWIG_Py_Void();
31282 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31283 PyObject
*resultobj
= 0;
31284 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31285 wxWindow
*arg2
= (wxWindow
*) 0 ;
31288 int arg5
= (int) 0 ;
31298 PyObject
* obj0
= 0 ;
31299 PyObject
* obj1
= 0 ;
31300 PyObject
* obj2
= 0 ;
31301 PyObject
* obj3
= 0 ;
31302 PyObject
* obj4
= 0 ;
31303 char * kwnames
[] = {
31304 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31309 if (!SWIG_IsOK(res1
)) {
31310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31312 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31314 if (!SWIG_IsOK(res2
)) {
31315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31317 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31318 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31319 if (!SWIG_IsOK(res3
)) {
31320 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31325 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31328 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31331 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31332 if (!SWIG_IsOK(ecode5
)) {
31333 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
31335 arg5
= static_cast< int >(val5
);
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 resultobj
= SWIG_Py_Void();
31350 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
= 0;
31352 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31353 wxWindow
*arg2
= (wxWindow
*) 0 ;
31356 int arg5
= (int) 0 ;
31366 PyObject
* obj0
= 0 ;
31367 PyObject
* obj1
= 0 ;
31368 PyObject
* obj2
= 0 ;
31369 PyObject
* obj3
= 0 ;
31370 PyObject
* obj4
= 0 ;
31371 char * kwnames
[] = {
31372 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31377 if (!SWIG_IsOK(res1
)) {
31378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31380 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31381 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31382 if (!SWIG_IsOK(res2
)) {
31383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
31385 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31386 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31387 if (!SWIG_IsOK(res3
)) {
31388 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31393 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31396 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31399 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31400 if (!SWIG_IsOK(ecode5
)) {
31401 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
31403 arg5
= static_cast< int >(val5
);
31406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31407 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31411 resultobj
= SWIG_Py_Void();
31418 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
= 0;
31420 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31421 wxWindow
*arg2
= (wxWindow
*) 0 ;
31424 int arg5
= (int) 0 ;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 PyObject
* obj2
= 0 ;
31437 PyObject
* obj3
= 0 ;
31438 PyObject
* obj4
= 0 ;
31439 char * kwnames
[] = {
31440 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31445 if (!SWIG_IsOK(res1
)) {
31446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31448 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31450 if (!SWIG_IsOK(res2
)) {
31451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
31453 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31454 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31455 if (!SWIG_IsOK(res3
)) {
31456 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31461 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31464 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31467 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31468 if (!SWIG_IsOK(ecode5
)) {
31469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
31471 arg5
= static_cast< int >(val5
);
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31476 wxPyEndAllowThreads(__tstate
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31479 resultobj
= SWIG_Py_Void();
31486 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31487 PyObject
*resultobj
= 0;
31488 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31489 wxWindow
*arg2
= (wxWindow
*) 0 ;
31492 int arg5
= (int) 0 ;
31502 PyObject
* obj0
= 0 ;
31503 PyObject
* obj1
= 0 ;
31504 PyObject
* obj2
= 0 ;
31505 PyObject
* obj3
= 0 ;
31506 PyObject
* obj4
= 0 ;
31507 char * kwnames
[] = {
31508 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31513 if (!SWIG_IsOK(res1
)) {
31514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31516 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31518 if (!SWIG_IsOK(res2
)) {
31519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31521 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31522 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31523 if (!SWIG_IsOK(res3
)) {
31524 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31529 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31532 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31535 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31536 if (!SWIG_IsOK(ecode5
)) {
31537 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
31539 arg5
= static_cast< int >(val5
);
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31547 resultobj
= SWIG_Py_Void();
31554 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
= 0;
31556 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31557 wxWindow
*arg2
= (wxWindow
*) 0 ;
31560 int arg5
= (int) 0 ;
31570 PyObject
* obj0
= 0 ;
31571 PyObject
* obj1
= 0 ;
31572 PyObject
* obj2
= 0 ;
31573 PyObject
* obj3
= 0 ;
31574 PyObject
* obj4
= 0 ;
31575 char * kwnames
[] = {
31576 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31581 if (!SWIG_IsOK(res1
)) {
31582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31584 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31586 if (!SWIG_IsOK(res2
)) {
31587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
31589 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31590 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31591 if (!SWIG_IsOK(res3
)) {
31592 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31597 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31600 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31603 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31604 if (!SWIG_IsOK(ecode5
)) {
31605 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
31607 arg5
= static_cast< int >(val5
);
31610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31611 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31612 wxPyEndAllowThreads(__tstate
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31615 resultobj
= SWIG_Py_Void();
31622 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31623 PyObject
*resultobj
= 0;
31624 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31625 wxWindow
*arg2
= (wxWindow
*) 0 ;
31626 SwigValueWrapper
<wxSplitterRenderParams
> result
;
31631 PyObject
* obj0
= 0 ;
31632 PyObject
* obj1
= 0 ;
31633 char * kwnames
[] = {
31634 (char *) "self",(char *) "win", NULL
31637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31639 if (!SWIG_IsOK(res1
)) {
31640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31642 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31644 if (!SWIG_IsOK(res2
)) {
31645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
31647 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
31661 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31662 PyObject
*resultobj
= 0;
31663 wxRendererNative
*result
= 0 ;
31665 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
31667 if (!wxPyCheckForApp()) SWIG_fail
;
31668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31670 wxRendererNative
&_result_ref
= wxRendererNative::Get();
31671 result
= (wxRendererNative
*) &_result_ref
;
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31683 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31684 PyObject
*resultobj
= 0;
31685 wxRendererNative
*result
= 0 ;
31687 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
31689 if (!wxPyCheckForApp()) SWIG_fail
;
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31692 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
31693 result
= (wxRendererNative
*) &_result_ref
;
31695 wxPyEndAllowThreads(__tstate
);
31696 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31705 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31706 PyObject
*resultobj
= 0;
31707 wxRendererNative
*result
= 0 ;
31709 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
31711 if (!wxPyCheckForApp()) SWIG_fail
;
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31714 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
31715 result
= (wxRendererNative
*) &_result_ref
;
31717 wxPyEndAllowThreads(__tstate
);
31718 if (PyErr_Occurred()) SWIG_fail
;
31720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31727 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31728 PyObject
*resultobj
= 0;
31729 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31730 wxRendererNative
*result
= 0 ;
31733 PyObject
* obj0
= 0 ;
31734 char * kwnames
[] = {
31735 (char *) "renderer", NULL
31738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31740 if (!SWIG_IsOK(res1
)) {
31741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31743 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31745 if (!wxPyCheckForApp()) SWIG_fail
;
31746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31747 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31748 wxPyEndAllowThreads(__tstate
);
31749 if (PyErr_Occurred()) SWIG_fail
;
31751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31758 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31759 PyObject
*resultobj
= 0;
31760 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31761 SwigValueWrapper
<wxRendererVersion
> result
;
31764 PyObject
*swig_obj
[1] ;
31766 if (!args
) SWIG_fail
;
31767 swig_obj
[0] = args
;
31768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31769 if (!SWIG_IsOK(res1
)) {
31770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31772 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31779 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31786 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31789 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31790 return SWIG_Py_Void();
31793 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31794 PyObject
*resultobj
= 0;
31795 wxPseudoDC
*result
= 0 ;
31797 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31800 result
= (wxPseudoDC
*)new wxPseudoDC();
31801 wxPyEndAllowThreads(__tstate
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31811 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31812 PyObject
*resultobj
= 0;
31813 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31816 PyObject
*swig_obj
[1] ;
31818 if (!args
) SWIG_fail
;
31819 swig_obj
[0] = args
;
31820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31821 if (!SWIG_IsOK(res1
)) {
31822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31824 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31827 (arg1
)->BeginDrawing();
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31831 resultobj
= SWIG_Py_Void();
31838 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31839 PyObject
*resultobj
= 0;
31840 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31843 PyObject
*swig_obj
[1] ;
31845 if (!args
) SWIG_fail
;
31846 swig_obj
[0] = args
;
31847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31848 if (!SWIG_IsOK(res1
)) {
31849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31851 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 (arg1
)->EndDrawing();
31855 wxPyEndAllowThreads(__tstate
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31858 resultobj
= SWIG_Py_Void();
31865 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31866 PyObject
*resultobj
= 0;
31867 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31870 PyObject
*swig_obj
[1] ;
31872 if (!args
) SWIG_fail
;
31873 swig_obj
[0] = args
;
31874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31875 if (!SWIG_IsOK(res1
)) {
31876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31878 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31883 wxPyEndAllowThreads(__tstate
);
31884 if (PyErr_Occurred()) SWIG_fail
;
31886 resultobj
= SWIG_Py_Void();
31893 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31894 PyObject
*resultobj
= 0;
31895 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31898 PyObject
*swig_obj
[1] ;
31900 if (!args
) SWIG_fail
;
31901 swig_obj
[0] = args
;
31902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31903 if (!SWIG_IsOK(res1
)) {
31904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31906 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31909 (arg1
)->RemoveAll();
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31913 resultobj
= SWIG_Py_Void();
31920 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31921 PyObject
*resultobj
= 0;
31922 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31926 PyObject
*swig_obj
[1] ;
31928 if (!args
) SWIG_fail
;
31929 swig_obj
[0] = args
;
31930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31931 if (!SWIG_IsOK(res1
)) {
31932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31934 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31937 result
= (int)(arg1
)->GetLen();
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= SWIG_From_int(static_cast< int >(result
));
31948 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
= 0;
31950 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31956 PyObject
* obj0
= 0 ;
31957 PyObject
* obj1
= 0 ;
31958 char * kwnames
[] = {
31959 (char *) "self",(char *) "id", NULL
31962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31964 if (!SWIG_IsOK(res1
)) {
31965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31967 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31969 if (!SWIG_IsOK(ecode2
)) {
31970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31972 arg2
= static_cast< int >(val2
);
31974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31975 (arg1
)->SetId(arg2
);
31976 wxPyEndAllowThreads(__tstate
);
31977 if (PyErr_Occurred()) SWIG_fail
;
31979 resultobj
= SWIG_Py_Void();
31986 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31987 PyObject
*resultobj
= 0;
31988 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31994 PyObject
* obj0
= 0 ;
31995 PyObject
* obj1
= 0 ;
31996 char * kwnames
[] = {
31997 (char *) "self",(char *) "id", NULL
32000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32002 if (!SWIG_IsOK(res1
)) {
32003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32005 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32007 if (!SWIG_IsOK(ecode2
)) {
32008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
32010 arg2
= static_cast< int >(val2
);
32012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32013 (arg1
)->ClearId(arg2
);
32014 wxPyEndAllowThreads(__tstate
);
32015 if (PyErr_Occurred()) SWIG_fail
;
32017 resultobj
= SWIG_Py_Void();
32024 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32025 PyObject
*resultobj
= 0;
32026 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32032 PyObject
* obj0
= 0 ;
32033 PyObject
* obj1
= 0 ;
32034 char * kwnames
[] = {
32035 (char *) "self",(char *) "id", NULL
32038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32040 if (!SWIG_IsOK(res1
)) {
32041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32043 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32045 if (!SWIG_IsOK(ecode2
)) {
32046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
32048 arg2
= static_cast< int >(val2
);
32050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32051 (arg1
)->RemoveId(arg2
);
32052 wxPyEndAllowThreads(__tstate
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= SWIG_Py_Void();
32062 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32063 PyObject
*resultobj
= 0;
32064 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32076 PyObject
* obj0
= 0 ;
32077 PyObject
* obj1
= 0 ;
32078 PyObject
* obj2
= 0 ;
32079 PyObject
* obj3
= 0 ;
32080 char * kwnames
[] = {
32081 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
32084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32086 if (!SWIG_IsOK(res1
)) {
32087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32089 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32091 if (!SWIG_IsOK(ecode2
)) {
32092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
32094 arg2
= static_cast< int >(val2
);
32095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32096 if (!SWIG_IsOK(ecode3
)) {
32097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
32099 arg3
= static_cast< int >(val3
);
32100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32101 if (!SWIG_IsOK(ecode4
)) {
32102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
32104 arg4
= static_cast< int >(val4
);
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
32108 wxPyEndAllowThreads(__tstate
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32111 resultobj
= SWIG_Py_Void();
32118 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
= 0;
32120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32122 bool arg3
= (bool) true ;
32129 PyObject
* obj0
= 0 ;
32130 PyObject
* obj1
= 0 ;
32131 PyObject
* obj2
= 0 ;
32132 char * kwnames
[] = {
32133 (char *) "self",(char *) "id",(char *) "greyout", NULL
32136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32138 if (!SWIG_IsOK(res1
)) {
32139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32141 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32143 if (!SWIG_IsOK(ecode2
)) {
32144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32146 arg2
= static_cast< int >(val2
);
32148 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32149 if (!SWIG_IsOK(ecode3
)) {
32150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
32152 arg3
= static_cast< bool >(val3
);
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32156 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= SWIG_Py_Void();
32167 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32168 PyObject
*resultobj
= 0;
32169 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32176 PyObject
* obj0
= 0 ;
32177 PyObject
* obj1
= 0 ;
32178 char * kwnames
[] = {
32179 (char *) "self",(char *) "id", NULL
32182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32184 if (!SWIG_IsOK(res1
)) {
32185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32187 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32189 if (!SWIG_IsOK(ecode2
)) {
32190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32192 arg2
= static_cast< int >(val2
);
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32208 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32209 PyObject
*resultobj
= 0;
32210 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32213 int arg4
= (int) 1 ;
32214 wxColor
const &arg5_defvalue
= *wxWHITE
;
32215 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
32216 PyObject
*result
= 0 ;
32227 PyObject
* obj0
= 0 ;
32228 PyObject
* obj1
= 0 ;
32229 PyObject
* obj2
= 0 ;
32230 PyObject
* obj3
= 0 ;
32231 PyObject
* obj4
= 0 ;
32232 char * kwnames
[] = {
32233 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
32236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32238 if (!SWIG_IsOK(res1
)) {
32239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32241 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32243 if (!SWIG_IsOK(ecode2
)) {
32244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
32246 arg2
= static_cast< int >(val2
);
32247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32248 if (!SWIG_IsOK(ecode3
)) {
32249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
32251 arg3
= static_cast< int >(val3
);
32253 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32254 if (!SWIG_IsOK(ecode4
)) {
32255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
32257 arg4
= static_cast< int >(val4
);
32260 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
32261 if (!SWIG_IsOK(res5
)) {
32262 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32267 arg5
= reinterpret_cast< wxColor
* >(argp5
);
32270 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
32271 if (PyErr_Occurred()) SWIG_fail
;
32273 resultobj
= result
;
32280 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32281 PyObject
*resultobj
= 0;
32282 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32285 PyObject
*result
= 0 ;
32292 PyObject
* obj0
= 0 ;
32293 PyObject
* obj1
= 0 ;
32294 PyObject
* obj2
= 0 ;
32295 char * kwnames
[] = {
32296 (char *) "self",(char *) "x",(char *) "y", NULL
32299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32301 if (!SWIG_IsOK(res1
)) {
32302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32304 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32306 if (!SWIG_IsOK(ecode2
)) {
32307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
32309 arg2
= static_cast< int >(val2
);
32310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32311 if (!SWIG_IsOK(ecode3
)) {
32312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
32314 arg3
= static_cast< int >(val3
);
32316 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
32317 if (PyErr_Occurred()) SWIG_fail
;
32319 resultobj
= result
;
32326 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32327 PyObject
*resultobj
= 0;
32328 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32330 wxDC
*arg3
= (wxDC
*) 0 ;
32337 PyObject
* obj0
= 0 ;
32338 PyObject
* obj1
= 0 ;
32339 PyObject
* obj2
= 0 ;
32340 char * kwnames
[] = {
32341 (char *) "self",(char *) "id",(char *) "dc", NULL
32344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32346 if (!SWIG_IsOK(res1
)) {
32347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32349 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32351 if (!SWIG_IsOK(ecode2
)) {
32352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
32354 arg2
= static_cast< int >(val2
);
32355 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
32356 if (!SWIG_IsOK(res3
)) {
32357 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
32359 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32362 (arg1
)->DrawIdToDC(arg2
,arg3
);
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32366 resultobj
= SWIG_Py_Void();
32373 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32374 PyObject
*resultobj
= 0;
32375 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32383 PyObject
* obj0
= 0 ;
32384 PyObject
* obj1
= 0 ;
32385 PyObject
* obj2
= 0 ;
32386 char * kwnames
[] = {
32387 (char *) "self",(char *) "id",(char *) "rect", NULL
32390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32392 if (!SWIG_IsOK(res1
)) {
32393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32395 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32397 if (!SWIG_IsOK(ecode2
)) {
32398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
32400 arg2
= static_cast< int >(val2
);
32403 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32407 (arg1
)->SetIdBounds(arg2
,*arg3
);
32408 wxPyEndAllowThreads(__tstate
);
32409 if (PyErr_Occurred()) SWIG_fail
;
32411 resultobj
= SWIG_Py_Void();
32418 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32419 PyObject
*resultobj
= 0;
32420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32427 PyObject
* obj0
= 0 ;
32428 PyObject
* obj1
= 0 ;
32429 char * kwnames
[] = {
32430 (char *) "self",(char *) "id", NULL
32433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32435 if (!SWIG_IsOK(res1
)) {
32436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32438 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32440 if (!SWIG_IsOK(ecode2
)) {
32441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
32443 arg2
= static_cast< int >(val2
);
32445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32446 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32457 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32458 PyObject
*resultobj
= 0;
32459 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32460 wxDC
*arg2
= (wxDC
*) 0 ;
32467 PyObject
* obj0
= 0 ;
32468 PyObject
* obj1
= 0 ;
32469 PyObject
* obj2
= 0 ;
32470 char * kwnames
[] = {
32471 (char *) "self",(char *) "dc",(char *) "rect", NULL
32474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32476 if (!SWIG_IsOK(res1
)) {
32477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32479 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32481 if (!SWIG_IsOK(res2
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
32484 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32487 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 resultobj
= SWIG_Py_Void();
32502 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
= 0;
32504 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32505 wxDC
*arg2
= (wxDC
*) 0 ;
32506 wxRegion
*arg3
= 0 ;
32513 PyObject
* obj0
= 0 ;
32514 PyObject
* obj1
= 0 ;
32515 PyObject
* obj2
= 0 ;
32516 char * kwnames
[] = {
32517 (char *) "self",(char *) "dc",(char *) "region", NULL
32520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32522 if (!SWIG_IsOK(res1
)) {
32523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32525 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32527 if (!SWIG_IsOK(res2
)) {
32528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
32530 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32531 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
32532 if (!SWIG_IsOK(res3
)) {
32533 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32538 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 resultobj
= SWIG_Py_Void();
32552 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32553 PyObject
*resultobj
= 0;
32554 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32555 wxDC
*arg2
= (wxDC
*) 0 ;
32560 PyObject
* obj0
= 0 ;
32561 PyObject
* obj1
= 0 ;
32562 char * kwnames
[] = {
32563 (char *) "self",(char *) "dc", NULL
32566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32568 if (!SWIG_IsOK(res1
)) {
32569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32571 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32573 if (!SWIG_IsOK(res2
)) {
32574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
32576 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32579 (arg1
)->DrawToDC(arg2
);
32580 wxPyEndAllowThreads(__tstate
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32583 resultobj
= SWIG_Py_Void();
32590 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32591 PyObject
*resultobj
= 0;
32592 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32595 wxColour
*arg4
= 0 ;
32596 int arg5
= (int) wxFLOOD_SURFACE
;
32606 PyObject
* obj0
= 0 ;
32607 PyObject
* obj1
= 0 ;
32608 PyObject
* obj2
= 0 ;
32609 PyObject
* obj3
= 0 ;
32610 PyObject
* obj4
= 0 ;
32611 char * kwnames
[] = {
32612 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
32615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32617 if (!SWIG_IsOK(res1
)) {
32618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32620 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32622 if (!SWIG_IsOK(ecode2
)) {
32623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
32625 arg2
= static_cast< int >(val2
);
32626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32627 if (!SWIG_IsOK(ecode3
)) {
32628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
32630 arg3
= static_cast< int >(val3
);
32633 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32636 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32637 if (!SWIG_IsOK(ecode5
)) {
32638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
32640 arg5
= static_cast< int >(val5
);
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32648 resultobj
= SWIG_Py_Void();
32655 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32656 PyObject
*resultobj
= 0;
32657 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32658 wxPoint
*arg2
= 0 ;
32659 wxColour
*arg3
= 0 ;
32660 int arg4
= (int) wxFLOOD_SURFACE
;
32667 PyObject
* obj0
= 0 ;
32668 PyObject
* obj1
= 0 ;
32669 PyObject
* obj2
= 0 ;
32670 PyObject
* obj3
= 0 ;
32671 char * kwnames
[] = {
32672 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
32675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32677 if (!SWIG_IsOK(res1
)) {
32678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32680 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32687 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32691 if (!SWIG_IsOK(ecode4
)) {
32692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
32694 arg4
= static_cast< int >(val4
);
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32698 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32702 resultobj
= SWIG_Py_Void();
32709 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32710 PyObject
*resultobj
= 0;
32711 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32726 PyObject
* obj0
= 0 ;
32727 PyObject
* obj1
= 0 ;
32728 PyObject
* obj2
= 0 ;
32729 PyObject
* obj3
= 0 ;
32730 PyObject
* obj4
= 0 ;
32731 char * kwnames
[] = {
32732 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32737 if (!SWIG_IsOK(res1
)) {
32738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32740 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32742 if (!SWIG_IsOK(ecode2
)) {
32743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32745 arg2
= static_cast< int >(val2
);
32746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32747 if (!SWIG_IsOK(ecode3
)) {
32748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32750 arg3
= static_cast< int >(val3
);
32751 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32752 if (!SWIG_IsOK(ecode4
)) {
32753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32755 arg4
= static_cast< int >(val4
);
32756 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32757 if (!SWIG_IsOK(ecode5
)) {
32758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32760 arg5
= static_cast< int >(val5
);
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32767 resultobj
= SWIG_Py_Void();
32774 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32775 PyObject
*resultobj
= 0;
32776 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32777 wxPoint
*arg2
= 0 ;
32778 wxPoint
*arg3
= 0 ;
32783 PyObject
* obj0
= 0 ;
32784 PyObject
* obj1
= 0 ;
32785 PyObject
* obj2
= 0 ;
32786 char * kwnames
[] = {
32787 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32792 if (!SWIG_IsOK(res1
)) {
32793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32795 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32806 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32810 resultobj
= SWIG_Py_Void();
32817 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32818 PyObject
*resultobj
= 0;
32819 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32828 PyObject
* obj0
= 0 ;
32829 PyObject
* obj1
= 0 ;
32830 PyObject
* obj2
= 0 ;
32831 char * kwnames
[] = {
32832 (char *) "self",(char *) "x",(char *) "y", NULL
32835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32837 if (!SWIG_IsOK(res1
)) {
32838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32840 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32842 if (!SWIG_IsOK(ecode2
)) {
32843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32845 arg2
= static_cast< int >(val2
);
32846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32847 if (!SWIG_IsOK(ecode3
)) {
32848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32850 arg3
= static_cast< int >(val3
);
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 (arg1
)->CrossHair(arg2
,arg3
);
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32857 resultobj
= SWIG_Py_Void();
32864 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32865 PyObject
*resultobj
= 0;
32866 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32867 wxPoint
*arg2
= 0 ;
32871 PyObject
* obj0
= 0 ;
32872 PyObject
* obj1
= 0 ;
32873 char * kwnames
[] = {
32874 (char *) "self",(char *) "pt", NULL
32877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32879 if (!SWIG_IsOK(res1
)) {
32880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32882 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32889 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32890 wxPyEndAllowThreads(__tstate
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32893 resultobj
= SWIG_Py_Void();
32900 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
= 0;
32902 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32923 PyObject
* obj0
= 0 ;
32924 PyObject
* obj1
= 0 ;
32925 PyObject
* obj2
= 0 ;
32926 PyObject
* obj3
= 0 ;
32927 PyObject
* obj4
= 0 ;
32928 PyObject
* obj5
= 0 ;
32929 PyObject
* obj6
= 0 ;
32930 char * kwnames
[] = {
32931 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32936 if (!SWIG_IsOK(res1
)) {
32937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32939 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32941 if (!SWIG_IsOK(ecode2
)) {
32942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32944 arg2
= static_cast< int >(val2
);
32945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32946 if (!SWIG_IsOK(ecode3
)) {
32947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32949 arg3
= static_cast< int >(val3
);
32950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32951 if (!SWIG_IsOK(ecode4
)) {
32952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32954 arg4
= static_cast< int >(val4
);
32955 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32956 if (!SWIG_IsOK(ecode5
)) {
32957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32959 arg5
= static_cast< int >(val5
);
32960 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32961 if (!SWIG_IsOK(ecode6
)) {
32962 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32964 arg6
= static_cast< int >(val6
);
32965 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32966 if (!SWIG_IsOK(ecode7
)) {
32967 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32969 arg7
= static_cast< int >(val7
);
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32972 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= SWIG_Py_Void();
32983 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32984 PyObject
*resultobj
= 0;
32985 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32986 wxPoint
*arg2
= 0 ;
32987 wxPoint
*arg3
= 0 ;
32988 wxPoint
*arg4
= 0 ;
32994 PyObject
* obj0
= 0 ;
32995 PyObject
* obj1
= 0 ;
32996 PyObject
* obj2
= 0 ;
32997 PyObject
* obj3
= 0 ;
32998 char * kwnames
[] = {
32999 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
33002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33004 if (!SWIG_IsOK(res1
)) {
33005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33007 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33010 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33022 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
33023 wxPyEndAllowThreads(__tstate
);
33024 if (PyErr_Occurred()) SWIG_fail
;
33026 resultobj
= SWIG_Py_Void();
33033 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33034 PyObject
*resultobj
= 0;
33035 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33050 PyObject
* obj0
= 0 ;
33051 PyObject
* obj1
= 0 ;
33052 PyObject
* obj2
= 0 ;
33053 PyObject
* obj3
= 0 ;
33054 PyObject
* obj4
= 0 ;
33055 char * kwnames
[] = {
33056 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33061 if (!SWIG_IsOK(res1
)) {
33062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33064 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33066 if (!SWIG_IsOK(ecode2
)) {
33067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
33069 arg2
= static_cast< int >(val2
);
33070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33071 if (!SWIG_IsOK(ecode3
)) {
33072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
33074 arg3
= static_cast< int >(val3
);
33075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33076 if (!SWIG_IsOK(ecode4
)) {
33077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
33079 arg4
= static_cast< int >(val4
);
33080 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33081 if (!SWIG_IsOK(ecode5
)) {
33082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
33084 arg5
= static_cast< int >(val5
);
33086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33087 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
33088 wxPyEndAllowThreads(__tstate
);
33089 if (PyErr_Occurred()) SWIG_fail
;
33091 resultobj
= SWIG_Py_Void();
33098 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33099 PyObject
*resultobj
= 0;
33100 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33105 PyObject
* obj0
= 0 ;
33106 PyObject
* obj1
= 0 ;
33107 char * kwnames
[] = {
33108 (char *) "self",(char *) "rect", NULL
33111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33113 if (!SWIG_IsOK(res1
)) {
33114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33119 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33123 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
33124 wxPyEndAllowThreads(__tstate
);
33125 if (PyErr_Occurred()) SWIG_fail
;
33127 resultobj
= SWIG_Py_Void();
33134 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33135 PyObject
*resultobj
= 0;
33136 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33157 PyObject
* obj0
= 0 ;
33158 PyObject
* obj1
= 0 ;
33159 PyObject
* obj2
= 0 ;
33160 PyObject
* obj3
= 0 ;
33161 PyObject
* obj4
= 0 ;
33162 PyObject
* obj5
= 0 ;
33163 PyObject
* obj6
= 0 ;
33164 char * kwnames
[] = {
33165 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
33168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33170 if (!SWIG_IsOK(res1
)) {
33171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33173 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33175 if (!SWIG_IsOK(ecode2
)) {
33176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
33178 arg2
= static_cast< int >(val2
);
33179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33180 if (!SWIG_IsOK(ecode3
)) {
33181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
33183 arg3
= static_cast< int >(val3
);
33184 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33185 if (!SWIG_IsOK(ecode4
)) {
33186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
33188 arg4
= static_cast< int >(val4
);
33189 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33190 if (!SWIG_IsOK(ecode5
)) {
33191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
33193 arg5
= static_cast< int >(val5
);
33194 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33195 if (!SWIG_IsOK(ecode6
)) {
33196 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
33198 arg6
= static_cast< double >(val6
);
33199 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
33200 if (!SWIG_IsOK(ecode7
)) {
33201 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
33203 arg7
= static_cast< double >(val7
);
33205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33206 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33207 wxPyEndAllowThreads(__tstate
);
33208 if (PyErr_Occurred()) SWIG_fail
;
33210 resultobj
= SWIG_Py_Void();
33217 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33218 PyObject
*resultobj
= 0;
33219 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33220 wxPoint
*arg2
= 0 ;
33232 PyObject
* obj0
= 0 ;
33233 PyObject
* obj1
= 0 ;
33234 PyObject
* obj2
= 0 ;
33235 PyObject
* obj3
= 0 ;
33236 PyObject
* obj4
= 0 ;
33237 char * kwnames
[] = {
33238 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
33241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33243 if (!SWIG_IsOK(res1
)) {
33244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33246 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33253 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33255 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33256 if (!SWIG_IsOK(ecode4
)) {
33257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
33259 arg4
= static_cast< double >(val4
);
33260 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33261 if (!SWIG_IsOK(ecode5
)) {
33262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
33264 arg5
= static_cast< double >(val5
);
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= SWIG_Py_Void();
33278 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33279 PyObject
*resultobj
= 0;
33280 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33289 PyObject
* obj0
= 0 ;
33290 PyObject
* obj1
= 0 ;
33291 PyObject
* obj2
= 0 ;
33292 char * kwnames
[] = {
33293 (char *) "self",(char *) "x",(char *) "y", NULL
33296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33298 if (!SWIG_IsOK(res1
)) {
33299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33303 if (!SWIG_IsOK(ecode2
)) {
33304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
33306 arg2
= static_cast< int >(val2
);
33307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33308 if (!SWIG_IsOK(ecode3
)) {
33309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
33311 arg3
= static_cast< int >(val3
);
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33314 (arg1
)->DrawPoint(arg2
,arg3
);
33315 wxPyEndAllowThreads(__tstate
);
33316 if (PyErr_Occurred()) SWIG_fail
;
33318 resultobj
= SWIG_Py_Void();
33325 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33326 PyObject
*resultobj
= 0;
33327 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33328 wxPoint
*arg2
= 0 ;
33332 PyObject
* obj0
= 0 ;
33333 PyObject
* obj1
= 0 ;
33334 char * kwnames
[] = {
33335 (char *) "self",(char *) "pt", NULL
33338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33340 if (!SWIG_IsOK(res1
)) {
33341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33350 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
33351 wxPyEndAllowThreads(__tstate
);
33352 if (PyErr_Occurred()) SWIG_fail
;
33354 resultobj
= SWIG_Py_Void();
33361 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33362 PyObject
*resultobj
= 0;
33363 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33378 PyObject
* obj0
= 0 ;
33379 PyObject
* obj1
= 0 ;
33380 PyObject
* obj2
= 0 ;
33381 PyObject
* obj3
= 0 ;
33382 PyObject
* obj4
= 0 ;
33383 char * kwnames
[] = {
33384 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33389 if (!SWIG_IsOK(res1
)) {
33390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33392 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33394 if (!SWIG_IsOK(ecode2
)) {
33395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
33397 arg2
= static_cast< int >(val2
);
33398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33399 if (!SWIG_IsOK(ecode3
)) {
33400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
33402 arg3
= static_cast< int >(val3
);
33403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33404 if (!SWIG_IsOK(ecode4
)) {
33405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
33407 arg4
= static_cast< int >(val4
);
33408 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33409 if (!SWIG_IsOK(ecode5
)) {
33410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
33412 arg5
= static_cast< int >(val5
);
33414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33415 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33419 resultobj
= SWIG_Py_Void();
33426 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33427 PyObject
*resultobj
= 0;
33428 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33433 PyObject
* obj0
= 0 ;
33434 PyObject
* obj1
= 0 ;
33435 char * kwnames
[] = {
33436 (char *) "self",(char *) "rect", NULL
33439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33441 if (!SWIG_IsOK(res1
)) {
33442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33444 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33447 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
33452 wxPyEndAllowThreads(__tstate
);
33453 if (PyErr_Occurred()) SWIG_fail
;
33455 resultobj
= SWIG_Py_Void();
33462 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33463 PyObject
*resultobj
= 0;
33464 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33465 wxPoint
*arg2
= 0 ;
33471 PyObject
* obj0
= 0 ;
33472 PyObject
* obj1
= 0 ;
33473 PyObject
* obj2
= 0 ;
33474 char * kwnames
[] = {
33475 (char *) "self",(char *) "pt",(char *) "sz", NULL
33478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33480 if (!SWIG_IsOK(res1
)) {
33481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33490 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33494 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33495 wxPyEndAllowThreads(__tstate
);
33496 if (PyErr_Occurred()) SWIG_fail
;
33498 resultobj
= SWIG_Py_Void();
33505 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33506 PyObject
*resultobj
= 0;
33507 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33525 PyObject
* obj0
= 0 ;
33526 PyObject
* obj1
= 0 ;
33527 PyObject
* obj2
= 0 ;
33528 PyObject
* obj3
= 0 ;
33529 PyObject
* obj4
= 0 ;
33530 PyObject
* obj5
= 0 ;
33531 char * kwnames
[] = {
33532 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
33535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33537 if (!SWIG_IsOK(res1
)) {
33538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33540 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33542 if (!SWIG_IsOK(ecode2
)) {
33543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
33545 arg2
= static_cast< int >(val2
);
33546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33547 if (!SWIG_IsOK(ecode3
)) {
33548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
33550 arg3
= static_cast< int >(val3
);
33551 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33552 if (!SWIG_IsOK(ecode4
)) {
33553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
33555 arg4
= static_cast< int >(val4
);
33556 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33557 if (!SWIG_IsOK(ecode5
)) {
33558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
33560 arg5
= static_cast< int >(val5
);
33561 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33562 if (!SWIG_IsOK(ecode6
)) {
33563 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
33565 arg6
= static_cast< double >(val6
);
33567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33568 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
33569 wxPyEndAllowThreads(__tstate
);
33570 if (PyErr_Occurred()) SWIG_fail
;
33572 resultobj
= SWIG_Py_Void();
33579 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33580 PyObject
*resultobj
= 0;
33581 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33589 PyObject
* obj0
= 0 ;
33590 PyObject
* obj1
= 0 ;
33591 PyObject
* obj2
= 0 ;
33592 char * kwnames
[] = {
33593 (char *) "self",(char *) "r",(char *) "radius", NULL
33596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33598 if (!SWIG_IsOK(res1
)) {
33599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33601 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33604 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33606 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
33607 if (!SWIG_IsOK(ecode3
)) {
33608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
33610 arg3
= static_cast< double >(val3
);
33612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33613 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
33614 wxPyEndAllowThreads(__tstate
);
33615 if (PyErr_Occurred()) SWIG_fail
;
33617 resultobj
= SWIG_Py_Void();
33624 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33625 PyObject
*resultobj
= 0;
33626 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33627 wxPoint
*arg2
= 0 ;
33636 PyObject
* obj0
= 0 ;
33637 PyObject
* obj1
= 0 ;
33638 PyObject
* obj2
= 0 ;
33639 PyObject
* obj3
= 0 ;
33640 char * kwnames
[] = {
33641 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
33644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33646 if (!SWIG_IsOK(res1
)) {
33647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33649 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33652 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33656 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33658 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33659 if (!SWIG_IsOK(ecode4
)) {
33660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
33662 arg4
= static_cast< double >(val4
);
33664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33665 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
33666 wxPyEndAllowThreads(__tstate
);
33667 if (PyErr_Occurred()) SWIG_fail
;
33669 resultobj
= SWIG_Py_Void();
33676 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33677 PyObject
*resultobj
= 0;
33678 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33690 PyObject
* obj0
= 0 ;
33691 PyObject
* obj1
= 0 ;
33692 PyObject
* obj2
= 0 ;
33693 PyObject
* obj3
= 0 ;
33694 char * kwnames
[] = {
33695 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
33698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33700 if (!SWIG_IsOK(res1
)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33703 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33705 if (!SWIG_IsOK(ecode2
)) {
33706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
33708 arg2
= static_cast< int >(val2
);
33709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33710 if (!SWIG_IsOK(ecode3
)) {
33711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
33713 arg3
= static_cast< int >(val3
);
33714 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33715 if (!SWIG_IsOK(ecode4
)) {
33716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
33718 arg4
= static_cast< int >(val4
);
33720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33721 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33722 wxPyEndAllowThreads(__tstate
);
33723 if (PyErr_Occurred()) SWIG_fail
;
33725 resultobj
= SWIG_Py_Void();
33732 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33733 PyObject
*resultobj
= 0;
33734 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33735 wxPoint
*arg2
= 0 ;
33742 PyObject
* obj0
= 0 ;
33743 PyObject
* obj1
= 0 ;
33744 PyObject
* obj2
= 0 ;
33745 char * kwnames
[] = {
33746 (char *) "self",(char *) "pt",(char *) "radius", NULL
33749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33751 if (!SWIG_IsOK(res1
)) {
33752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33754 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33760 if (!SWIG_IsOK(ecode3
)) {
33761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33763 arg3
= static_cast< int >(val3
);
33765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33766 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33770 resultobj
= SWIG_Py_Void();
33777 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33778 PyObject
*resultobj
= 0;
33779 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33794 PyObject
* obj0
= 0 ;
33795 PyObject
* obj1
= 0 ;
33796 PyObject
* obj2
= 0 ;
33797 PyObject
* obj3
= 0 ;
33798 PyObject
* obj4
= 0 ;
33799 char * kwnames
[] = {
33800 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33805 if (!SWIG_IsOK(res1
)) {
33806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33808 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33810 if (!SWIG_IsOK(ecode2
)) {
33811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33813 arg2
= static_cast< int >(val2
);
33814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33815 if (!SWIG_IsOK(ecode3
)) {
33816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33818 arg3
= static_cast< int >(val3
);
33819 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33820 if (!SWIG_IsOK(ecode4
)) {
33821 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33823 arg4
= static_cast< int >(val4
);
33824 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33825 if (!SWIG_IsOK(ecode5
)) {
33826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33828 arg5
= static_cast< int >(val5
);
33830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33831 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33832 wxPyEndAllowThreads(__tstate
);
33833 if (PyErr_Occurred()) SWIG_fail
;
33835 resultobj
= SWIG_Py_Void();
33842 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33843 PyObject
*resultobj
= 0;
33844 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33849 PyObject
* obj0
= 0 ;
33850 PyObject
* obj1
= 0 ;
33851 char * kwnames
[] = {
33852 (char *) "self",(char *) "rect", NULL
33855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33857 if (!SWIG_IsOK(res1
)) {
33858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33860 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33863 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33867 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33868 wxPyEndAllowThreads(__tstate
);
33869 if (PyErr_Occurred()) SWIG_fail
;
33871 resultobj
= SWIG_Py_Void();
33878 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33879 PyObject
*resultobj
= 0;
33880 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33881 wxPoint
*arg2
= 0 ;
33887 PyObject
* obj0
= 0 ;
33888 PyObject
* obj1
= 0 ;
33889 PyObject
* obj2
= 0 ;
33890 char * kwnames
[] = {
33891 (char *) "self",(char *) "pt",(char *) "sz", NULL
33894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33896 if (!SWIG_IsOK(res1
)) {
33897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33899 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33902 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33906 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33910 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33911 wxPyEndAllowThreads(__tstate
);
33912 if (PyErr_Occurred()) SWIG_fail
;
33914 resultobj
= SWIG_Py_Void();
33921 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33922 PyObject
*resultobj
= 0;
33923 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 PyObject
* obj2
= 0 ;
33938 PyObject
* obj3
= 0 ;
33939 char * kwnames
[] = {
33940 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33945 if (!SWIG_IsOK(res1
)) {
33946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33948 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33949 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33950 if (!SWIG_IsOK(res2
)) {
33951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33956 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33958 if (!SWIG_IsOK(ecode3
)) {
33959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33961 arg3
= static_cast< int >(val3
);
33962 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33963 if (!SWIG_IsOK(ecode4
)) {
33964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33966 arg4
= static_cast< int >(val4
);
33968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33969 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33970 wxPyEndAllowThreads(__tstate
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 resultobj
= SWIG_Py_Void();
33980 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
= 0;
33982 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33984 wxPoint
*arg3
= 0 ;
33990 PyObject
* obj0
= 0 ;
33991 PyObject
* obj1
= 0 ;
33992 PyObject
* obj2
= 0 ;
33993 char * kwnames
[] = {
33994 (char *) "self",(char *) "icon",(char *) "pt", NULL
33997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33999 if (!SWIG_IsOK(res1
)) {
34000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34002 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
34004 if (!SWIG_IsOK(res2
)) {
34005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34010 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
34013 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34017 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
34018 wxPyEndAllowThreads(__tstate
);
34019 if (PyErr_Occurred()) SWIG_fail
;
34021 resultobj
= SWIG_Py_Void();
34028 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34029 PyObject
*resultobj
= 0;
34030 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34031 wxBitmap
*arg2
= 0 ;
34034 bool arg5
= (bool) false ;
34045 PyObject
* obj0
= 0 ;
34046 PyObject
* obj1
= 0 ;
34047 PyObject
* obj2
= 0 ;
34048 PyObject
* obj3
= 0 ;
34049 PyObject
* obj4
= 0 ;
34050 char * kwnames
[] = {
34051 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
34054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34056 if (!SWIG_IsOK(res1
)) {
34057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34059 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34061 if (!SWIG_IsOK(res2
)) {
34062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34067 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34069 if (!SWIG_IsOK(ecode3
)) {
34070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
34072 arg3
= static_cast< int >(val3
);
34073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34074 if (!SWIG_IsOK(ecode4
)) {
34075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
34077 arg4
= static_cast< int >(val4
);
34079 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
34080 if (!SWIG_IsOK(ecode5
)) {
34081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
34083 arg5
= static_cast< bool >(val5
);
34086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34087 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
34088 wxPyEndAllowThreads(__tstate
);
34089 if (PyErr_Occurred()) SWIG_fail
;
34091 resultobj
= SWIG_Py_Void();
34098 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34099 PyObject
*resultobj
= 0;
34100 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34101 wxBitmap
*arg2
= 0 ;
34102 wxPoint
*arg3
= 0 ;
34103 bool arg4
= (bool) false ;
34111 PyObject
* obj0
= 0 ;
34112 PyObject
* obj1
= 0 ;
34113 PyObject
* obj2
= 0 ;
34114 PyObject
* obj3
= 0 ;
34115 char * kwnames
[] = {
34116 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
34119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34121 if (!SWIG_IsOK(res1
)) {
34122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34126 if (!SWIG_IsOK(res2
)) {
34127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34132 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34138 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
34139 if (!SWIG_IsOK(ecode4
)) {
34140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
34142 arg4
= static_cast< bool >(val4
);
34145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34146 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34147 wxPyEndAllowThreads(__tstate
);
34148 if (PyErr_Occurred()) SWIG_fail
;
34150 resultobj
= SWIG_Py_Void();
34157 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34158 PyObject
*resultobj
= 0;
34159 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34160 wxString
*arg2
= 0 ;
34165 bool temp2
= false ;
34170 PyObject
* obj0
= 0 ;
34171 PyObject
* obj1
= 0 ;
34172 PyObject
* obj2
= 0 ;
34173 PyObject
* obj3
= 0 ;
34174 char * kwnames
[] = {
34175 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
34178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34180 if (!SWIG_IsOK(res1
)) {
34181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34183 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34185 arg2
= wxString_in_helper(obj1
);
34186 if (arg2
== NULL
) SWIG_fail
;
34189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34190 if (!SWIG_IsOK(ecode3
)) {
34191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
34193 arg3
= static_cast< int >(val3
);
34194 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34195 if (!SWIG_IsOK(ecode4
)) {
34196 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
34198 arg4
= static_cast< int >(val4
);
34200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34201 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
34202 wxPyEndAllowThreads(__tstate
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34205 resultobj
= SWIG_Py_Void();
34220 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
= 0;
34222 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34223 wxString
*arg2
= 0 ;
34224 wxPoint
*arg3
= 0 ;
34227 bool temp2
= false ;
34229 PyObject
* obj0
= 0 ;
34230 PyObject
* obj1
= 0 ;
34231 PyObject
* obj2
= 0 ;
34232 char * kwnames
[] = {
34233 (char *) "self",(char *) "text",(char *) "pt", NULL
34236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34238 if (!SWIG_IsOK(res1
)) {
34239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34241 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34243 arg2
= wxString_in_helper(obj1
);
34244 if (arg2
== NULL
) SWIG_fail
;
34249 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34253 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
34254 wxPyEndAllowThreads(__tstate
);
34255 if (PyErr_Occurred()) SWIG_fail
;
34257 resultobj
= SWIG_Py_Void();
34272 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34273 PyObject
*resultobj
= 0;
34274 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34275 wxString
*arg2
= 0 ;
34281 bool temp2
= false ;
34288 PyObject
* obj0
= 0 ;
34289 PyObject
* obj1
= 0 ;
34290 PyObject
* obj2
= 0 ;
34291 PyObject
* obj3
= 0 ;
34292 PyObject
* obj4
= 0 ;
34293 char * kwnames
[] = {
34294 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
34297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34299 if (!SWIG_IsOK(res1
)) {
34300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34302 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34304 arg2
= wxString_in_helper(obj1
);
34305 if (arg2
== NULL
) SWIG_fail
;
34308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34309 if (!SWIG_IsOK(ecode3
)) {
34310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
34312 arg3
= static_cast< int >(val3
);
34313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34314 if (!SWIG_IsOK(ecode4
)) {
34315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
34317 arg4
= static_cast< int >(val4
);
34318 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
34319 if (!SWIG_IsOK(ecode5
)) {
34320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
34322 arg5
= static_cast< double >(val5
);
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
34326 wxPyEndAllowThreads(__tstate
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34329 resultobj
= SWIG_Py_Void();
34344 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34345 PyObject
*resultobj
= 0;
34346 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34347 wxString
*arg2
= 0 ;
34348 wxPoint
*arg3
= 0 ;
34352 bool temp2
= false ;
34356 PyObject
* obj0
= 0 ;
34357 PyObject
* obj1
= 0 ;
34358 PyObject
* obj2
= 0 ;
34359 PyObject
* obj3
= 0 ;
34360 char * kwnames
[] = {
34361 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
34364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34366 if (!SWIG_IsOK(res1
)) {
34367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34369 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34371 arg2
= wxString_in_helper(obj1
);
34372 if (arg2
== NULL
) SWIG_fail
;
34377 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34379 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
34380 if (!SWIG_IsOK(ecode4
)) {
34381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
34383 arg4
= static_cast< double >(val4
);
34385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34386 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34387 wxPyEndAllowThreads(__tstate
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34390 resultobj
= SWIG_Py_Void();
34405 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34406 PyObject
*resultobj
= 0;
34407 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34409 wxPoint
*arg3
= (wxPoint
*) 0 ;
34410 int arg4
= (int) 0 ;
34411 int arg5
= (int) 0 ;
34418 PyObject
* obj0
= 0 ;
34419 PyObject
* obj1
= 0 ;
34420 PyObject
* obj2
= 0 ;
34421 PyObject
* obj3
= 0 ;
34422 char * kwnames
[] = {
34423 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
34426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34428 if (!SWIG_IsOK(res1
)) {
34429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34431 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34433 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34434 if (arg3
== NULL
) SWIG_fail
;
34437 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34438 if (!SWIG_IsOK(ecode4
)) {
34439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
34441 arg4
= static_cast< int >(val4
);
34444 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34445 if (!SWIG_IsOK(ecode5
)) {
34446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
34448 arg5
= static_cast< int >(val5
);
34451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34452 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
34453 wxPyEndAllowThreads(__tstate
);
34454 if (PyErr_Occurred()) SWIG_fail
;
34456 resultobj
= SWIG_Py_Void();
34458 if (arg3
) delete [] arg3
;
34463 if (arg3
) delete [] arg3
;
34469 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34470 PyObject
*resultobj
= 0;
34471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34473 wxPoint
*arg3
= (wxPoint
*) 0 ;
34474 int arg4
= (int) 0 ;
34475 int arg5
= (int) 0 ;
34476 int arg6
= (int) wxODDEVEN_RULE
;
34485 PyObject
* obj0
= 0 ;
34486 PyObject
* obj1
= 0 ;
34487 PyObject
* obj2
= 0 ;
34488 PyObject
* obj3
= 0 ;
34489 PyObject
* obj4
= 0 ;
34490 char * kwnames
[] = {
34491 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
34494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34496 if (!SWIG_IsOK(res1
)) {
34497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34501 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34502 if (arg3
== NULL
) SWIG_fail
;
34505 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34506 if (!SWIG_IsOK(ecode4
)) {
34507 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
34509 arg4
= static_cast< int >(val4
);
34512 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34513 if (!SWIG_IsOK(ecode5
)) {
34514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
34516 arg5
= static_cast< int >(val5
);
34519 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
34520 if (!SWIG_IsOK(ecode6
)) {
34521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
34523 arg6
= static_cast< int >(val6
);
34526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34527 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
34528 wxPyEndAllowThreads(__tstate
);
34529 if (PyErr_Occurred()) SWIG_fail
;
34531 resultobj
= SWIG_Py_Void();
34533 if (arg3
) delete [] arg3
;
34538 if (arg3
) delete [] arg3
;
34544 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34545 PyObject
*resultobj
= 0;
34546 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34547 wxString
*arg2
= 0 ;
34549 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34550 int arg5
= (int) -1 ;
34553 bool temp2
= false ;
34559 PyObject
* obj0
= 0 ;
34560 PyObject
* obj1
= 0 ;
34561 PyObject
* obj2
= 0 ;
34562 PyObject
* obj3
= 0 ;
34563 PyObject
* obj4
= 0 ;
34564 char * kwnames
[] = {
34565 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34570 if (!SWIG_IsOK(res1
)) {
34571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34573 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34575 arg2
= wxString_in_helper(obj1
);
34576 if (arg2
== NULL
) SWIG_fail
;
34581 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34584 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34585 if (!SWIG_IsOK(ecode4
)) {
34586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
34588 arg4
= static_cast< int >(val4
);
34591 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34592 if (!SWIG_IsOK(ecode5
)) {
34593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
34595 arg5
= static_cast< int >(val5
);
34598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34599 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34603 resultobj
= SWIG_Py_Void();
34618 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34619 PyObject
*resultobj
= 0;
34620 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34621 wxString
*arg2
= 0 ;
34622 wxBitmap
*arg3
= 0 ;
34624 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34625 int arg6
= (int) -1 ;
34628 bool temp2
= false ;
34636 PyObject
* obj0
= 0 ;
34637 PyObject
* obj1
= 0 ;
34638 PyObject
* obj2
= 0 ;
34639 PyObject
* obj3
= 0 ;
34640 PyObject
* obj4
= 0 ;
34641 PyObject
* obj5
= 0 ;
34642 char * kwnames
[] = {
34643 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34648 if (!SWIG_IsOK(res1
)) {
34649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34651 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34653 arg2
= wxString_in_helper(obj1
);
34654 if (arg2
== NULL
) SWIG_fail
;
34657 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34658 if (!SWIG_IsOK(res3
)) {
34659 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34664 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
34667 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34670 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34671 if (!SWIG_IsOK(ecode5
)) {
34672 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
34674 arg5
= static_cast< int >(val5
);
34677 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34678 if (!SWIG_IsOK(ecode6
)) {
34679 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
34681 arg6
= static_cast< int >(val6
);
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34689 resultobj
= SWIG_Py_Void();
34704 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
= 0;
34706 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34708 wxPoint
*arg3
= (wxPoint
*) 0 ;
34711 PyObject
* obj0
= 0 ;
34712 PyObject
* obj1
= 0 ;
34713 char * kwnames
[] = {
34714 (char *) "self",(char *) "points", NULL
34717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34719 if (!SWIG_IsOK(res1
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34722 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34724 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34725 if (arg3
== NULL
) SWIG_fail
;
34728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34729 (arg1
)->DrawSpline(arg2
,arg3
);
34730 wxPyEndAllowThreads(__tstate
);
34731 if (PyErr_Occurred()) SWIG_fail
;
34733 resultobj
= SWIG_Py_Void();
34735 if (arg3
) delete [] arg3
;
34740 if (arg3
) delete [] arg3
;
34746 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34747 PyObject
*resultobj
= 0;
34748 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34751 PyObject
*swig_obj
[1] ;
34753 if (!args
) SWIG_fail
;
34754 swig_obj
[0] = args
;
34755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34756 if (!SWIG_IsOK(res1
)) {
34757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34759 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34766 resultobj
= SWIG_Py_Void();
34773 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
= 0;
34775 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34781 PyObject
* obj0
= 0 ;
34782 PyObject
* obj1
= 0 ;
34783 char * kwnames
[] = {
34784 (char *) "self",(char *) "font", NULL
34787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34789 if (!SWIG_IsOK(res1
)) {
34790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34792 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34794 if (!SWIG_IsOK(res2
)) {
34795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34800 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34803 (arg1
)->SetFont((wxFont
const &)*arg2
);
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34807 resultobj
= SWIG_Py_Void();
34814 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34815 PyObject
*resultobj
= 0;
34816 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34822 PyObject
* obj0
= 0 ;
34823 PyObject
* obj1
= 0 ;
34824 char * kwnames
[] = {
34825 (char *) "self",(char *) "pen", NULL
34828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34830 if (!SWIG_IsOK(res1
)) {
34831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34835 if (!SWIG_IsOK(res2
)) {
34836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34841 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34844 (arg1
)->SetPen((wxPen
const &)*arg2
);
34845 wxPyEndAllowThreads(__tstate
);
34846 if (PyErr_Occurred()) SWIG_fail
;
34848 resultobj
= SWIG_Py_Void();
34855 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34856 PyObject
*resultobj
= 0;
34857 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34858 wxBrush
*arg2
= 0 ;
34863 PyObject
* obj0
= 0 ;
34864 PyObject
* obj1
= 0 ;
34865 char * kwnames
[] = {
34866 (char *) "self",(char *) "brush", NULL
34869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34871 if (!SWIG_IsOK(res1
)) {
34872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34874 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34876 if (!SWIG_IsOK(res2
)) {
34877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34882 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34885 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= SWIG_Py_Void();
34896 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34897 PyObject
*resultobj
= 0;
34898 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34899 wxBrush
*arg2
= 0 ;
34904 PyObject
* obj0
= 0 ;
34905 PyObject
* obj1
= 0 ;
34906 char * kwnames
[] = {
34907 (char *) "self",(char *) "brush", NULL
34910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34912 if (!SWIG_IsOK(res1
)) {
34913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34915 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34916 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34917 if (!SWIG_IsOK(res2
)) {
34918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34923 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34930 resultobj
= SWIG_Py_Void();
34937 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34938 PyObject
*resultobj
= 0;
34939 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34945 PyObject
* obj0
= 0 ;
34946 PyObject
* obj1
= 0 ;
34947 char * kwnames
[] = {
34948 (char *) "self",(char *) "mode", NULL
34951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34953 if (!SWIG_IsOK(res1
)) {
34954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34956 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34958 if (!SWIG_IsOK(ecode2
)) {
34959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34961 arg2
= static_cast< int >(val2
);
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34964 (arg1
)->SetBackgroundMode(arg2
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= SWIG_Py_Void();
34975 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
= 0;
34977 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34978 wxPalette
*arg2
= 0 ;
34983 PyObject
* obj0
= 0 ;
34984 PyObject
* obj1
= 0 ;
34985 char * kwnames
[] = {
34986 (char *) "self",(char *) "palette", NULL
34989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34991 if (!SWIG_IsOK(res1
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34996 if (!SWIG_IsOK(res2
)) {
34997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35002 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
35004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35005 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
35006 wxPyEndAllowThreads(__tstate
);
35007 if (PyErr_Occurred()) SWIG_fail
;
35009 resultobj
= SWIG_Py_Void();
35016 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35017 PyObject
*resultobj
= 0;
35018 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35019 wxColour
*arg2
= 0 ;
35023 PyObject
* obj0
= 0 ;
35024 PyObject
* obj1
= 0 ;
35025 char * kwnames
[] = {
35026 (char *) "self",(char *) "colour", NULL
35029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35031 if (!SWIG_IsOK(res1
)) {
35032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35034 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35037 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35041 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35045 resultobj
= SWIG_Py_Void();
35052 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35053 PyObject
*resultobj
= 0;
35054 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35055 wxColour
*arg2
= 0 ;
35059 PyObject
* obj0
= 0 ;
35060 PyObject
* obj1
= 0 ;
35061 char * kwnames
[] = {
35062 (char *) "self",(char *) "colour", NULL
35065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35067 if (!SWIG_IsOK(res1
)) {
35068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35070 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35073 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35077 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
35078 wxPyEndAllowThreads(__tstate
);
35079 if (PyErr_Occurred()) SWIG_fail
;
35081 resultobj
= SWIG_Py_Void();
35088 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35089 PyObject
*resultobj
= 0;
35090 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35096 PyObject
* obj0
= 0 ;
35097 PyObject
* obj1
= 0 ;
35098 char * kwnames
[] = {
35099 (char *) "self",(char *) "function", NULL
35102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35104 if (!SWIG_IsOK(res1
)) {
35105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35107 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35109 if (!SWIG_IsOK(ecode2
)) {
35110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
35112 arg2
= static_cast< int >(val2
);
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35115 (arg1
)->SetLogicalFunction(arg2
);
35116 wxPyEndAllowThreads(__tstate
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35119 resultobj
= SWIG_Py_Void();
35126 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35129 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
35130 return SWIG_Py_Void();
35133 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35134 return SWIG_Python_InitShadowInstance(args
);
35137 static PyMethodDef SwigMethods
[] = {
35138 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
35139 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
35140 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
35141 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
35142 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
35143 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
35147 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
35148 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
35149 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
35150 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
35151 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
35152 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
35157 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
35161 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
35162 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
35163 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
35165 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
35168 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
35169 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
35170 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
35171 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
35173 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
35174 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
35175 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
35176 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
35177 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
35178 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
35179 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
35186 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
35188 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
35189 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
35193 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
35194 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
35197 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
35201 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
35202 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
35203 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
35204 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
35205 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
35206 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
35207 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
35209 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
35215 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
35217 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
35218 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
35219 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
35220 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
35221 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
35222 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
35223 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
35229 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
35239 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
35240 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
35244 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
35245 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
35246 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
35247 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
35248 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
35249 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
35250 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
35251 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
35252 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
35253 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
35254 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
35255 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
35256 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
35257 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
35258 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
35260 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
35261 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
35267 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35268 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35269 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
35270 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
35271 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
35272 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
35273 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
35274 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
35275 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
35276 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
35277 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
35278 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
35280 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
35281 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
35287 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35288 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35289 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
35291 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
35292 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
35293 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
35295 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
35296 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
35301 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
35303 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
35304 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
35305 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
35306 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
35312 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
35313 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
35315 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
35316 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
35318 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
35320 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
35321 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
35322 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
35323 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
35326 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
35330 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
35331 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
35333 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
35336 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
35338 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
35339 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
35340 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
35341 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
35346 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
35347 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
35352 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
35353 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
35359 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
35363 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
35374 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
35377 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
35378 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
35380 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
35381 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
35382 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
35383 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
35384 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
35385 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
35386 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
35387 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
35388 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
35389 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
35390 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
35391 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
35392 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
35393 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
35394 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
35395 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
35396 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
35398 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
35399 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
35400 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
35401 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
35402 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
35403 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
35404 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
35405 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
35415 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
35416 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
35418 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
35419 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
35420 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
35421 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
35422 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
35423 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
35424 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
35425 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
35426 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
35428 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
35429 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
35430 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
35433 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
35434 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
35435 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
35438 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
35444 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
35449 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
35450 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
35452 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
35458 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
35461 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
35462 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
35463 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
35464 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
35465 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
35466 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
35467 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
35468 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
35469 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
35470 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
35471 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
35472 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
35473 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
35485 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
35486 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
35487 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
35489 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
35490 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
35492 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
35493 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
35494 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
35495 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
35499 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
35500 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
35502 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
35503 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
35504 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
35505 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
35506 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
35507 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
35508 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
35509 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
35510 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
35512 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
35515 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
35516 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
35517 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
35518 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
35519 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
35520 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
35521 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
35522 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
35532 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
35533 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
35534 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
35536 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
35540 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
35541 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
35542 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
35543 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
35544 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
35545 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
35551 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
35552 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
35553 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
35602 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
35604 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
35605 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
35606 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
35613 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
35614 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
35615 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
35616 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
35617 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
35622 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
35623 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
35624 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
35625 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
35634 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
35635 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
35636 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
35637 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
35638 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
35639 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
35640 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
35641 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
35642 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
35643 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
35644 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
35645 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
35648 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
35650 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
35652 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
35654 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
35655 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
35658 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
35659 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
35663 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
35665 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
35668 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
35669 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
35670 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
35671 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
35672 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
35673 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
35674 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
35676 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
35683 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
35687 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
35688 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
35689 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
35692 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
35693 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
35694 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
35696 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
35697 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
35699 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
35700 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
35702 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
35703 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
35704 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
35705 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
35706 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
35707 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
35708 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35710 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35711 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35713 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35714 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
35717 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
35718 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
35720 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
35723 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
35724 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
35725 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
35727 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
35728 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
35730 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
35731 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
35732 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
35733 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
35734 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
35735 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
35737 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
35738 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
35739 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
35741 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
35742 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
35743 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
35747 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
35748 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35754 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35755 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35757 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35758 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35759 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35786 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35788 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
35789 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35790 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35791 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
35792 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
35793 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
35794 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
35795 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
35796 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
35797 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
35798 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
35799 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
35800 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
35801 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35803 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35811 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35813 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35815 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35816 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35817 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35818 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35819 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35820 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35826 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35827 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35828 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35829 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35830 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35831 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35835 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35838 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35839 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35840 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35841 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35842 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35843 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35844 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35845 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35846 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35848 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35850 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35851 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35852 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35853 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35854 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35855 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35856 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35857 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35858 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35859 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35860 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35861 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35862 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35867 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35870 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35871 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35873 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35874 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35875 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35876 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35877 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35878 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35879 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35880 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35881 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35882 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35883 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35884 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35885 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35886 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35887 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35888 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35889 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35890 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35891 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35892 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35893 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35894 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35895 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35896 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35898 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35899 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35900 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35901 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35902 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35903 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35908 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35913 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35914 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35916 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35917 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35918 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35920 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35921 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35922 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35923 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35924 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35925 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35926 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35927 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35928 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35929 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35933 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35934 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35935 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35936 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35937 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35939 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35942 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35944 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35945 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35946 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35948 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35950 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35952 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35953 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35955 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35957 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35958 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35959 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35960 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35962 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35963 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35964 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35965 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35967 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35968 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35969 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35970 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35971 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35972 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35973 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35974 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35975 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35976 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35977 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35978 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35979 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35980 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35981 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35982 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35983 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35984 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35985 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35986 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35987 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35988 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35989 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35990 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35991 { NULL
, NULL
, 0, NULL
}
35995 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35997 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35998 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
36000 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
36001 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
36003 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
36004 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36006 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
36007 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
36009 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
36010 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
36012 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
36013 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
36015 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
36016 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
36018 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
36019 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
36021 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
36022 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
36024 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
36025 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
36027 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
36028 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
36030 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
36031 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
36033 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
36034 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
36036 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
36037 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
36039 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
36040 return (void *)((wxDC
*) ((wxGCDC
*) x
));
36042 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
36043 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
36045 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
36046 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
36048 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
36049 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
36051 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
36052 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
36054 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
36055 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
36057 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
36058 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
36060 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
36061 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
36063 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
36064 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36066 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
36067 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36069 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
36070 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
36072 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
36073 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
36075 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
36076 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
36078 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
36079 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
36081 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
36082 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
36084 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
36085 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
36087 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
36088 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36090 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36091 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36093 static void *_p_wxPenTo_p_wxObject(void *x
) {
36094 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
36096 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
36097 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
36099 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36100 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36102 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36103 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36105 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36106 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36108 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36109 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36111 static void *_p_wxIconTo_p_wxObject(void *x
) {
36112 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
36114 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36115 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36117 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36118 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36120 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36121 return (void *)((wxObject
*) ((wxSizer
*) x
));
36123 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36124 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36126 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36129 static void *_p_wxEventTo_p_wxObject(void *x
) {
36130 return (void *)((wxObject
*) ((wxEvent
*) x
));
36132 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36133 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36135 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36136 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36138 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36139 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36141 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
36142 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
36144 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
36145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
36147 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36148 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36150 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36151 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36153 static void *_p_wxDCTo_p_wxObject(void *x
) {
36154 return (void *)((wxObject
*) ((wxDC
*) x
));
36156 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36157 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36159 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36160 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36162 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36163 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36165 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36166 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36168 static void *_p_wxControlTo_p_wxObject(void *x
) {
36169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36171 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36172 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36174 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
36175 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
36177 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36178 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36180 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
36181 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
36183 static void *_p_wxRegionTo_p_wxObject(void *x
) {
36184 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
36186 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36187 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36189 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
36190 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
36192 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
36193 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
36195 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
36196 return (void *)((wxObject
*) ((wxEffects
*) x
));
36198 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36199 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36201 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36204 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
36205 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
36207 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36208 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36210 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36211 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36213 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36216 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36217 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36219 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36220 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36222 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36223 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36225 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36226 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36228 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36229 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36231 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36232 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36234 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36235 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36237 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36238 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36240 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36241 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36243 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36244 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36246 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36247 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36249 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36250 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36252 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36253 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36255 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36256 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36258 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36259 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36261 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36262 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36264 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36265 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36267 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36268 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36270 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36271 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36273 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36274 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36276 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36277 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36279 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36280 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36282 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
36283 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
36285 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
36286 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36288 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
36289 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36291 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
36292 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
36294 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
36295 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
36297 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
36298 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
36300 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36301 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36303 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36304 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36306 static void *_p_wxImageTo_p_wxObject(void *x
) {
36307 return (void *)((wxObject
*) ((wxImage
*) x
));
36309 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36310 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36312 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
36313 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
36315 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
36316 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
36318 static void *_p_wxImageListTo_p_wxObject(void *x
) {
36319 return (void *)((wxObject
*) ((wxImageList
*) x
));
36321 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
36322 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
36324 static void *_p_wxCursorTo_p_wxObject(void *x
) {
36325 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
36327 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
36328 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
36330 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
36331 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
36333 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36336 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36337 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36339 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36340 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36342 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36343 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36345 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36346 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36348 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36351 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
36352 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
36354 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36355 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36357 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
36358 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
36360 static void *_p_wxMaskTo_p_wxObject(void *x
) {
36361 return (void *)((wxObject
*) ((wxMask
*) x
));
36363 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36364 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36366 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36367 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36369 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36370 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36372 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36373 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36375 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36376 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36378 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36379 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36381 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36384 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36385 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36387 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36388 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36390 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36391 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36393 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36396 static void *_p_wxFontTo_p_wxObject(void *x
) {
36397 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
36399 static void *_p_wxBrushTo_p_wxObject(void *x
) {
36400 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
36402 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
36403 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
36405 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36408 static void *_p_wxColourTo_p_wxObject(void *x
) {
36409 return (void *)((wxObject
*) ((wxColour
*) x
));
36411 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36414 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36415 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36417 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36418 return (void *)((wxWindow
*) ((wxControl
*) x
));
36420 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36421 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36423 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36424 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36426 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
36427 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
36429 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
36430 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
36432 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
36433 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
36434 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
36435 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};
36436 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
36437 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
36438 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
36439 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
36440 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
36441 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
36442 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
36443 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
36444 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
36445 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
36446 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
36447 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
36448 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
36449 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
36450 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
36451 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36452 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
36453 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
36454 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36455 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
36456 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
36457 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36458 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
36459 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
36460 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36461 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
36462 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
36463 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
36464 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
36465 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
36466 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
36467 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
36468 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
36469 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36470 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36471 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
36472 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
36473 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
36474 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
36475 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
36476 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
36477 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
36478 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
36479 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
36480 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
36481 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
36482 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
36483 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
36484 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
36485 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36486 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36487 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36488 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36489 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36490 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36491 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36492 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36493 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
36494 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36495 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36496 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
36497 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
36498 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36499 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36500 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36501 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36502 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36503 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36504 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36505 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36506 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36507 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36508 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
36509 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36510 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
36511 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
36512 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36513 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
36514 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36515 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36516 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36517 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36518 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36519 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36520 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36521 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36522 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36523 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36524 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36525 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36526 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36527 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36528 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36529 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36530 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36531 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
36532 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36533 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36534 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36535 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36536 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36537 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36538 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36539 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36540 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
36541 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36542 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
36543 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36544 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36545 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36546 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
36547 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
36548 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36549 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36550 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36551 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36552 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36553 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36554 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36555 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
36556 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36557 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36558 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36559 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36560 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36561 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
36562 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
36563 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
36564 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
36565 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36566 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
36567 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
36568 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
36569 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36570 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
36571 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
36572 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36573 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
36574 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
36575 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
36576 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
36577 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36578 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36579 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
36580 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
36581 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
36582 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
36583 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36584 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
36585 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
36586 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36587 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36588 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
36590 static swig_type_info
*swig_type_initial
[] = {
36594 &_swigt__p_form_ops_t
,
36596 &_swigt__p_unsigned_char
,
36597 &_swigt__p_unsigned_int
,
36598 &_swigt__p_unsigned_long
,
36599 &_swigt__p_wxANIHandler
,
36600 &_swigt__p_wxAcceleratorTable
,
36601 &_swigt__p_wxActivateEvent
,
36602 &_swigt__p_wxAlphaPixelData
,
36603 &_swigt__p_wxAlphaPixelData_Accessor
,
36604 &_swigt__p_wxAutoBufferedPaintDC
,
36605 &_swigt__p_wxBMPHandler
,
36606 &_swigt__p_wxBitmap
,
36607 &_swigt__p_wxBoxSizer
,
36608 &_swigt__p_wxBrush
,
36609 &_swigt__p_wxBrushList
,
36610 &_swigt__p_wxBufferedDC
,
36611 &_swigt__p_wxBufferedPaintDC
,
36612 &_swigt__p_wxCURHandler
,
36614 &_swigt__p_wxChildFocusEvent
,
36615 &_swigt__p_wxClientDC
,
36616 &_swigt__p_wxClipboardTextEvent
,
36617 &_swigt__p_wxCloseEvent
,
36618 &_swigt__p_wxColor
,
36619 &_swigt__p_wxColour
,
36620 &_swigt__p_wxColourDatabase
,
36621 &_swigt__p_wxCommandEvent
,
36622 &_swigt__p_wxContextMenuEvent
,
36623 &_swigt__p_wxControl
,
36624 &_swigt__p_wxControlWithItems
,
36625 &_swigt__p_wxCursor
,
36627 &_swigt__p_wxDCOverlay
,
36629 &_swigt__p_wxDateEvent
,
36630 &_swigt__p_wxDisplayChangedEvent
,
36631 &_swigt__p_wxDropFilesEvent
,
36632 &_swigt__p_wxDuplexMode
,
36633 &_swigt__p_wxEffects
,
36634 &_swigt__p_wxEncodingConverter
,
36635 &_swigt__p_wxEraseEvent
,
36636 &_swigt__p_wxEvent
,
36637 &_swigt__p_wxEvtHandler
,
36638 &_swigt__p_wxFSFile
,
36639 &_swigt__p_wxFileSystem
,
36640 &_swigt__p_wxFlexGridSizer
,
36641 &_swigt__p_wxFocusEvent
,
36643 &_swigt__p_wxFontList
,
36644 &_swigt__p_wxFontMapper
,
36645 &_swigt__p_wxGBSizerItem
,
36647 &_swigt__p_wxGDIObjListBase
,
36648 &_swigt__p_wxGDIObject
,
36649 &_swigt__p_wxGIFHandler
,
36650 &_swigt__p_wxGraphicsContext
,
36651 &_swigt__p_wxGraphicsPath
,
36652 &_swigt__p_wxGridBagSizer
,
36653 &_swigt__p_wxGridSizer
,
36654 &_swigt__p_wxHeaderButtonParams
,
36655 &_swigt__p_wxICOHandler
,
36657 &_swigt__p_wxIconBundle
,
36658 &_swigt__p_wxIconLocation
,
36659 &_swigt__p_wxIconizeEvent
,
36660 &_swigt__p_wxIdleEvent
,
36661 &_swigt__p_wxImage
,
36662 &_swigt__p_wxImageHandler
,
36663 &_swigt__p_wxImageList
,
36664 &_swigt__p_wxIndividualLayoutConstraint
,
36665 &_swigt__p_wxInitDialogEvent
,
36666 &_swigt__p_wxJPEGHandler
,
36667 &_swigt__p_wxKeyEvent
,
36668 &_swigt__p_wxLanguageInfo
,
36669 &_swigt__p_wxLayoutConstraints
,
36670 &_swigt__p_wxLocale
,
36672 &_swigt__p_wxMaximizeEvent
,
36673 &_swigt__p_wxMemoryDC
,
36675 &_swigt__p_wxMenuBar
,
36676 &_swigt__p_wxMenuEvent
,
36677 &_swigt__p_wxMenuItem
,
36678 &_swigt__p_wxMetaFile
,
36679 &_swigt__p_wxMetaFileDC
,
36680 &_swigt__p_wxMirrorDC
,
36681 &_swigt__p_wxMouseCaptureChangedEvent
,
36682 &_swigt__p_wxMouseCaptureLostEvent
,
36683 &_swigt__p_wxMouseEvent
,
36684 &_swigt__p_wxMoveEvent
,
36685 &_swigt__p_wxNativeEncodingInfo
,
36686 &_swigt__p_wxNativeFontInfo
,
36687 &_swigt__p_wxNativePixelData
,
36688 &_swigt__p_wxNativePixelData_Accessor
,
36689 &_swigt__p_wxNavigationKeyEvent
,
36690 &_swigt__p_wxNcPaintEvent
,
36691 &_swigt__p_wxNotifyEvent
,
36692 &_swigt__p_wxObject
,
36693 &_swigt__p_wxOverlay
,
36694 &_swigt__p_wxPCXHandler
,
36695 &_swigt__p_wxPNGHandler
,
36696 &_swigt__p_wxPNMHandler
,
36697 &_swigt__p_wxPaintDC
,
36698 &_swigt__p_wxPaintEvent
,
36699 &_swigt__p_wxPalette
,
36700 &_swigt__p_wxPaletteChangedEvent
,
36701 &_swigt__p_wxPaperSize
,
36703 &_swigt__p_wxPenList
,
36704 &_swigt__p_wxPixelDataBase
,
36705 &_swigt__p_wxPoint
,
36706 &_swigt__p_wxPoint2D
,
36707 &_swigt__p_wxPostScriptDC
,
36708 &_swigt__p_wxPrintData
,
36709 &_swigt__p_wxPrinterDC
,
36710 &_swigt__p_wxPseudoDC
,
36711 &_swigt__p_wxPyApp
,
36712 &_swigt__p_wxPyCommandEvent
,
36713 &_swigt__p_wxPyEvent
,
36714 &_swigt__p_wxPyFontEnumerator
,
36715 &_swigt__p_wxPyImageHandler
,
36716 &_swigt__p_wxPyLocale
,
36717 &_swigt__p_wxPySizer
,
36718 &_swigt__p_wxPyValidator
,
36719 &_swigt__p_wxQueryNewPaletteEvent
,
36721 &_swigt__p_wxRegion
,
36722 &_swigt__p_wxRegionIterator
,
36723 &_swigt__p_wxRendererNative
,
36724 &_swigt__p_wxRendererVersion
,
36725 &_swigt__p_wxScreenDC
,
36726 &_swigt__p_wxScrollEvent
,
36727 &_swigt__p_wxScrollWinEvent
,
36728 &_swigt__p_wxSetCursorEvent
,
36729 &_swigt__p_wxShowEvent
,
36731 &_swigt__p_wxSizeEvent
,
36732 &_swigt__p_wxSizer
,
36733 &_swigt__p_wxSizerItem
,
36734 &_swigt__p_wxSplitterRenderParams
,
36735 &_swigt__p_wxStaticBoxSizer
,
36736 &_swigt__p_wxStdDialogButtonSizer
,
36737 &_swigt__p_wxStockGDI
,
36738 &_swigt__p_wxString
,
36739 &_swigt__p_wxSysColourChangedEvent
,
36740 &_swigt__p_wxTIFFHandler
,
36741 &_swigt__p_wxUpdateUIEvent
,
36742 &_swigt__p_wxValidator
,
36743 &_swigt__p_wxWindow
,
36744 &_swigt__p_wxWindowCreateEvent
,
36745 &_swigt__p_wxWindowDC
,
36746 &_swigt__p_wxWindowDestroyEvent
,
36747 &_swigt__p_wxXPMHandler
,
36750 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36751 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36752 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36753 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36754 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36755 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36756 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36757 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36758 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
36759 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36760 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36761 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36762 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36763 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36764 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}};
36765 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36766 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
36767 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}};
36768 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
36769 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36770 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
36771 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
36772 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}};
36773 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36774 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
36775 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36776 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
36777 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
36778 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36779 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36780 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36781 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36782 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}};
36783 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}};
36784 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36785 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36786 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36787 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36788 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36789 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36790 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36791 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36792 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36793 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}};
36794 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36795 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}};
36796 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36797 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36798 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36799 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36800 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36801 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36802 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36803 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36804 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36805 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36806 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36807 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36808 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36809 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36810 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36811 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36812 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36813 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36814 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36815 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36816 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36817 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36818 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36819 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36820 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36821 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36822 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36823 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36824 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36825 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36826 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36827 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36828 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36829 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36830 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36831 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36832 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36833 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36834 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36835 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36836 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36837 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36838 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36839 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36840 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36841 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36842 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36843 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36844 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36845 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36846 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36847 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36848 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36849 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36850 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36851 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36852 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36853 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36854 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36855 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36856 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36857 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36858 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36859 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36860 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36861 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36862 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36863 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36864 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36865 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36866 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36867 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36868 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36869 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36870 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36871 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36872 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36873 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36874 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36875 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36876 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36877 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36878 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36879 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}};
36880 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36881 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36882 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36883 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36884 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36885 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36886 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}};
36887 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36888 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36889 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36890 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36891 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36892 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36893 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36894 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36895 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36896 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36897 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36898 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36899 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36900 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36901 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36902 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36903 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36904 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36905 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}};
36906 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}};
36908 static swig_cast_info
*swig_cast_initial
[] = {
36912 _swigc__p_form_ops_t
,
36914 _swigc__p_unsigned_char
,
36915 _swigc__p_unsigned_int
,
36916 _swigc__p_unsigned_long
,
36917 _swigc__p_wxANIHandler
,
36918 _swigc__p_wxAcceleratorTable
,
36919 _swigc__p_wxActivateEvent
,
36920 _swigc__p_wxAlphaPixelData
,
36921 _swigc__p_wxAlphaPixelData_Accessor
,
36922 _swigc__p_wxAutoBufferedPaintDC
,
36923 _swigc__p_wxBMPHandler
,
36924 _swigc__p_wxBitmap
,
36925 _swigc__p_wxBoxSizer
,
36927 _swigc__p_wxBrushList
,
36928 _swigc__p_wxBufferedDC
,
36929 _swigc__p_wxBufferedPaintDC
,
36930 _swigc__p_wxCURHandler
,
36932 _swigc__p_wxChildFocusEvent
,
36933 _swigc__p_wxClientDC
,
36934 _swigc__p_wxClipboardTextEvent
,
36935 _swigc__p_wxCloseEvent
,
36937 _swigc__p_wxColour
,
36938 _swigc__p_wxColourDatabase
,
36939 _swigc__p_wxCommandEvent
,
36940 _swigc__p_wxContextMenuEvent
,
36941 _swigc__p_wxControl
,
36942 _swigc__p_wxControlWithItems
,
36943 _swigc__p_wxCursor
,
36945 _swigc__p_wxDCOverlay
,
36947 _swigc__p_wxDateEvent
,
36948 _swigc__p_wxDisplayChangedEvent
,
36949 _swigc__p_wxDropFilesEvent
,
36950 _swigc__p_wxDuplexMode
,
36951 _swigc__p_wxEffects
,
36952 _swigc__p_wxEncodingConverter
,
36953 _swigc__p_wxEraseEvent
,
36955 _swigc__p_wxEvtHandler
,
36956 _swigc__p_wxFSFile
,
36957 _swigc__p_wxFileSystem
,
36958 _swigc__p_wxFlexGridSizer
,
36959 _swigc__p_wxFocusEvent
,
36961 _swigc__p_wxFontList
,
36962 _swigc__p_wxFontMapper
,
36963 _swigc__p_wxGBSizerItem
,
36965 _swigc__p_wxGDIObjListBase
,
36966 _swigc__p_wxGDIObject
,
36967 _swigc__p_wxGIFHandler
,
36968 _swigc__p_wxGraphicsContext
,
36969 _swigc__p_wxGraphicsPath
,
36970 _swigc__p_wxGridBagSizer
,
36971 _swigc__p_wxGridSizer
,
36972 _swigc__p_wxHeaderButtonParams
,
36973 _swigc__p_wxICOHandler
,
36975 _swigc__p_wxIconBundle
,
36976 _swigc__p_wxIconLocation
,
36977 _swigc__p_wxIconizeEvent
,
36978 _swigc__p_wxIdleEvent
,
36980 _swigc__p_wxImageHandler
,
36981 _swigc__p_wxImageList
,
36982 _swigc__p_wxIndividualLayoutConstraint
,
36983 _swigc__p_wxInitDialogEvent
,
36984 _swigc__p_wxJPEGHandler
,
36985 _swigc__p_wxKeyEvent
,
36986 _swigc__p_wxLanguageInfo
,
36987 _swigc__p_wxLayoutConstraints
,
36988 _swigc__p_wxLocale
,
36990 _swigc__p_wxMaximizeEvent
,
36991 _swigc__p_wxMemoryDC
,
36993 _swigc__p_wxMenuBar
,
36994 _swigc__p_wxMenuEvent
,
36995 _swigc__p_wxMenuItem
,
36996 _swigc__p_wxMetaFile
,
36997 _swigc__p_wxMetaFileDC
,
36998 _swigc__p_wxMirrorDC
,
36999 _swigc__p_wxMouseCaptureChangedEvent
,
37000 _swigc__p_wxMouseCaptureLostEvent
,
37001 _swigc__p_wxMouseEvent
,
37002 _swigc__p_wxMoveEvent
,
37003 _swigc__p_wxNativeEncodingInfo
,
37004 _swigc__p_wxNativeFontInfo
,
37005 _swigc__p_wxNativePixelData
,
37006 _swigc__p_wxNativePixelData_Accessor
,
37007 _swigc__p_wxNavigationKeyEvent
,
37008 _swigc__p_wxNcPaintEvent
,
37009 _swigc__p_wxNotifyEvent
,
37010 _swigc__p_wxObject
,
37011 _swigc__p_wxOverlay
,
37012 _swigc__p_wxPCXHandler
,
37013 _swigc__p_wxPNGHandler
,
37014 _swigc__p_wxPNMHandler
,
37015 _swigc__p_wxPaintDC
,
37016 _swigc__p_wxPaintEvent
,
37017 _swigc__p_wxPalette
,
37018 _swigc__p_wxPaletteChangedEvent
,
37019 _swigc__p_wxPaperSize
,
37021 _swigc__p_wxPenList
,
37022 _swigc__p_wxPixelDataBase
,
37024 _swigc__p_wxPoint2D
,
37025 _swigc__p_wxPostScriptDC
,
37026 _swigc__p_wxPrintData
,
37027 _swigc__p_wxPrinterDC
,
37028 _swigc__p_wxPseudoDC
,
37030 _swigc__p_wxPyCommandEvent
,
37031 _swigc__p_wxPyEvent
,
37032 _swigc__p_wxPyFontEnumerator
,
37033 _swigc__p_wxPyImageHandler
,
37034 _swigc__p_wxPyLocale
,
37035 _swigc__p_wxPySizer
,
37036 _swigc__p_wxPyValidator
,
37037 _swigc__p_wxQueryNewPaletteEvent
,
37039 _swigc__p_wxRegion
,
37040 _swigc__p_wxRegionIterator
,
37041 _swigc__p_wxRendererNative
,
37042 _swigc__p_wxRendererVersion
,
37043 _swigc__p_wxScreenDC
,
37044 _swigc__p_wxScrollEvent
,
37045 _swigc__p_wxScrollWinEvent
,
37046 _swigc__p_wxSetCursorEvent
,
37047 _swigc__p_wxShowEvent
,
37049 _swigc__p_wxSizeEvent
,
37051 _swigc__p_wxSizerItem
,
37052 _swigc__p_wxSplitterRenderParams
,
37053 _swigc__p_wxStaticBoxSizer
,
37054 _swigc__p_wxStdDialogButtonSizer
,
37055 _swigc__p_wxStockGDI
,
37056 _swigc__p_wxString
,
37057 _swigc__p_wxSysColourChangedEvent
,
37058 _swigc__p_wxTIFFHandler
,
37059 _swigc__p_wxUpdateUIEvent
,
37060 _swigc__p_wxValidator
,
37061 _swigc__p_wxWindow
,
37062 _swigc__p_wxWindowCreateEvent
,
37063 _swigc__p_wxWindowDC
,
37064 _swigc__p_wxWindowDestroyEvent
,
37065 _swigc__p_wxXPMHandler
,
37069 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37071 static swig_const_info swig_const_table
[] = {
37072 {0, 0, 0, 0.0, 0, 0}};
37077 /* -----------------------------------------------------------------------------
37078 * Type initialization:
37079 * This problem is tough by the requirement that no dynamic
37080 * memory is used. Also, since swig_type_info structures store pointers to
37081 * swig_cast_info structures and swig_cast_info structures store pointers back
37082 * to swig_type_info structures, we need some lookup code at initialization.
37083 * The idea is that swig generates all the structures that are needed.
37084 * The runtime then collects these partially filled structures.
37085 * The SWIG_InitializeModule function takes these initial arrays out of
37086 * swig_module, and does all the lookup, filling in the swig_module.types
37087 * array with the correct data and linking the correct swig_cast_info
37088 * structures together.
37090 * The generated swig_type_info structures are assigned staticly to an initial
37091 * array. We just loop though that array, and handle each type individually.
37092 * First we lookup if this type has been already loaded, and if so, use the
37093 * loaded structure instead of the generated one. Then we have to fill in the
37094 * cast linked list. The cast data is initially stored in something like a
37095 * two-dimensional array. Each row corresponds to a type (there are the same
37096 * number of rows as there are in the swig_type_initial array). Each entry in
37097 * a column is one of the swig_cast_info structures for that type.
37098 * The cast_initial array is actually an array of arrays, because each row has
37099 * a variable number of columns. So to actually build the cast linked list,
37100 * we find the array of casts associated with the type, and loop through it
37101 * adding the casts to the list. The one last trick we need to do is making
37102 * sure the type pointer in the swig_cast_info struct is correct.
37104 * First off, we lookup the cast->type name to see if it is already loaded.
37105 * There are three cases to handle:
37106 * 1) If the cast->type has already been loaded AND the type we are adding
37107 * casting info to has not been loaded (it is in this module), THEN we
37108 * replace the cast->type pointer with the type pointer that has already
37110 * 2) If BOTH types (the one we are adding casting info to, and the
37111 * cast->type) are loaded, THEN the cast info has already been loaded by
37112 * the previous module so we just ignore it.
37113 * 3) Finally, if cast->type has not already been loaded, then we add that
37114 * swig_cast_info to the linked list (because the cast->type) pointer will
37116 * ----------------------------------------------------------------------------- */
37126 #define SWIGRUNTIME_DEBUG
37130 SWIG_InitializeModule(void *clientdata
) {
37132 swig_module_info
*module_head
;
37133 static int init_run
= 0;
37135 clientdata
= clientdata
;
37137 if (init_run
) return;
37140 /* Initialize the swig_module */
37141 swig_module
.type_initial
= swig_type_initial
;
37142 swig_module
.cast_initial
= swig_cast_initial
;
37144 /* Try and load any already created modules */
37145 module_head
= SWIG_GetModule(clientdata
);
37147 swig_module
.next
= module_head
->next
;
37148 module_head
->next
= &swig_module
;
37150 /* This is the first module loaded */
37151 swig_module
.next
= &swig_module
;
37152 SWIG_SetModule(clientdata
, &swig_module
);
37155 /* Now work on filling in swig_module.types */
37156 #ifdef SWIGRUNTIME_DEBUG
37157 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37159 for (i
= 0; i
< swig_module
.size
; ++i
) {
37160 swig_type_info
*type
= 0;
37161 swig_type_info
*ret
;
37162 swig_cast_info
*cast
;
37164 #ifdef SWIGRUNTIME_DEBUG
37165 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37168 /* if there is another module already loaded */
37169 if (swig_module
.next
!= &swig_module
) {
37170 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
37173 /* Overwrite clientdata field */
37174 #ifdef SWIGRUNTIME_DEBUG
37175 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
37177 if (swig_module
.type_initial
[i
]->clientdata
) {
37178 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
37179 #ifdef SWIGRUNTIME_DEBUG
37180 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
37184 type
= swig_module
.type_initial
[i
];
37187 /* Insert casting types */
37188 cast
= swig_module
.cast_initial
[i
];
37189 while (cast
->type
) {
37190 /* Don't need to add information already in the list */
37192 #ifdef SWIGRUNTIME_DEBUG
37193 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
37195 if (swig_module
.next
!= &swig_module
) {
37196 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
37197 #ifdef SWIGRUNTIME_DEBUG
37198 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
37202 if (type
== swig_module
.type_initial
[i
]) {
37203 #ifdef SWIGRUNTIME_DEBUG
37204 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
37209 /* Check for casting already in the list */
37210 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
37211 #ifdef SWIGRUNTIME_DEBUG
37212 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
37214 if (!ocast
) ret
= 0;
37219 #ifdef SWIGRUNTIME_DEBUG
37220 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
37223 type
->cast
->prev
= cast
;
37224 cast
->next
= type
->cast
;
37230 /* Set entry in modules->types array equal to the type */
37231 swig_module
.types
[i
] = type
;
37233 swig_module
.types
[i
] = 0;
37235 #ifdef SWIGRUNTIME_DEBUG
37236 printf("**** SWIG_InitializeModule: Cast List ******\n");
37237 for (i
= 0; i
< swig_module
.size
; ++i
) {
37239 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
37240 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37241 while (cast
->type
) {
37242 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
37246 printf("---- Total casts: %d\n",j
);
37248 printf("**** SWIG_InitializeModule: Cast List ******\n");
37252 /* This function will propagate the clientdata field of type to
37253 * any new swig_type_info structures that have been added into the list
37254 * of equivalent types. It is like calling
37255 * SWIG_TypeClientData(type, clientdata) a second time.
37258 SWIG_PropagateClientData(void) {
37260 swig_cast_info
*equiv
;
37261 static int init_run
= 0;
37263 if (init_run
) return;
37266 for (i
= 0; i
< swig_module
.size
; i
++) {
37267 if (swig_module
.types
[i
]->clientdata
) {
37268 equiv
= swig_module
.types
[i
]->cast
;
37270 if (!equiv
->converter
) {
37271 if (equiv
->type
&& !equiv
->type
->clientdata
)
37272 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
37274 equiv
= equiv
->next
;
37294 /* Python-specific SWIG API */
37295 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37296 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37297 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37299 /* -----------------------------------------------------------------------------
37300 * global variable support code.
37301 * ----------------------------------------------------------------------------- */
37303 typedef struct swig_globalvar
{
37304 char *name
; /* Name of global variable */
37305 PyObject
*(*get_attr
)(void); /* Return the current value */
37306 int (*set_attr
)(PyObject
*); /* Set the value */
37307 struct swig_globalvar
*next
;
37310 typedef struct swig_varlinkobject
{
37312 swig_globalvar
*vars
;
37313 } swig_varlinkobject
;
37315 SWIGINTERN PyObject
*
37316 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
37317 return PyString_FromString("<Swig global variables>");
37320 SWIGINTERN PyObject
*
37321 swig_varlink_str(swig_varlinkobject
*v
) {
37322 PyObject
*str
= PyString_FromString("(");
37323 swig_globalvar
*var
;
37324 for (var
= v
->vars
; var
; var
=var
->next
) {
37325 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
37326 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
37328 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
37333 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
37334 PyObject
*str
= swig_varlink_str(v
);
37335 fprintf(fp
,"Swig global variables ");
37336 fprintf(fp
,"%s\n", PyString_AsString(str
));
37342 swig_varlink_dealloc(swig_varlinkobject
*v
) {
37343 swig_globalvar
*var
= v
->vars
;
37345 swig_globalvar
*n
= var
->next
;
37352 SWIGINTERN PyObject
*
37353 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37354 PyObject
*res
= NULL
;
37355 swig_globalvar
*var
= v
->vars
;
37357 if (strcmp(var
->name
,n
) == 0) {
37358 res
= (*var
->get_attr
)();
37363 if (res
== NULL
&& !PyErr_Occurred()) {
37364 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37370 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37372 swig_globalvar
*var
= v
->vars
;
37374 if (strcmp(var
->name
,n
) == 0) {
37375 res
= (*var
->set_attr
)(p
);
37380 if (res
== 1 && !PyErr_Occurred()) {
37381 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37386 SWIGINTERN PyTypeObject
*
37387 swig_varlink_type(void) {
37388 static char varlink__doc__
[] = "Swig var link object";
37389 static PyTypeObject varlink_type
;
37390 static int type_init
= 0;
37392 const PyTypeObject tmp
37394 PyObject_HEAD_INIT(NULL
)
37395 0, /* Number of items in variable part (ob_size) */
37396 (char *)"swigvarlink", /* Type name (tp_name) */
37397 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37398 0, /* Itemsize (tp_itemsize) */
37399 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
37400 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37401 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37402 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37403 0, /* tp_compare */
37404 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37405 0, /* tp_as_number */
37406 0, /* tp_as_sequence */
37407 0, /* tp_as_mapping */
37410 (reprfunc
)swig_varlink_str
, /* tp_str */
37411 0, /* tp_getattro */
37412 0, /* tp_setattro */
37413 0, /* tp_as_buffer */
37415 varlink__doc__
, /* tp_doc */
37416 0, /* tp_traverse */
37418 0, /* tp_richcompare */
37419 0, /* tp_weaklistoffset */
37420 #if PY_VERSION_HEX >= 0x02020000
37421 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37423 #if PY_VERSION_HEX >= 0x02030000
37426 #ifdef COUNT_ALLOCS
37427 0,0,0,0 /* tp_alloc -> tp_next */
37430 varlink_type
= tmp
;
37431 varlink_type
.ob_type
= &PyType_Type
;
37434 return &varlink_type
;
37437 /* Create a variable linking object for use later */
37438 SWIGINTERN PyObject
*
37439 SWIG_Python_newvarlink(void) {
37440 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37444 return ((PyObject
*) result
);
37448 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37449 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37450 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37452 size_t size
= strlen(name
)+1;
37453 gv
->name
= (char *)malloc(size
);
37455 strncpy(gv
->name
,name
,size
);
37456 gv
->get_attr
= get_attr
;
37457 gv
->set_attr
= set_attr
;
37458 gv
->next
= v
->vars
;
37464 SWIGINTERN PyObject
*
37466 static PyObject
*_SWIG_globals
= 0;
37467 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37468 return _SWIG_globals
;
37471 /* -----------------------------------------------------------------------------
37472 * constants/methods manipulation
37473 * ----------------------------------------------------------------------------- */
37475 /* Install Constants */
37477 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37480 for (i
= 0; constants
[i
].type
; ++i
) {
37481 switch(constants
[i
].type
) {
37482 case SWIG_PY_POINTER
:
37483 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37485 case SWIG_PY_BINARY
:
37486 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37493 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37499 /* -----------------------------------------------------------------------------*/
37500 /* Fix SwigMethods to carry the callback ptrs when needed */
37501 /* -----------------------------------------------------------------------------*/
37504 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37505 swig_const_info
*const_table
,
37506 swig_type_info
**types
,
37507 swig_type_info
**types_initial
) {
37509 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37510 const char *c
= methods
[i
].ml_doc
;
37511 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37513 swig_const_info
*ci
= 0;
37514 const char *name
= c
+ 10;
37515 for (j
= 0; const_table
[j
].type
; ++j
) {
37516 if (strncmp(const_table
[j
].name
, name
,
37517 strlen(const_table
[j
].name
)) == 0) {
37518 ci
= &(const_table
[j
]);
37523 size_t shift
= (ci
->ptype
) - types
;
37524 swig_type_info
*ty
= types_initial
[shift
];
37525 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37526 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37527 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37530 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37532 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37534 strncpy(buff
, "swig_ptr: ", 10);
37536 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37537 methods
[i
].ml_doc
= ndoc
;
37549 /* -----------------------------------------------------------------------------*
37550 * Partial Init method
37551 * -----------------------------------------------------------------------------*/
37556 SWIGEXPORT
void SWIG_init(void) {
37559 /* Fix SwigMethods to carry the callback ptrs when needed */
37560 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37562 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37563 d
= PyModule_GetDict(m
);
37565 SWIG_InitializeModule(0);
37566 SWIG_InstallConstants(d
,swig_const_table
);
37569 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
37570 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
37571 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
37572 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
37573 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
37574 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
37575 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
37576 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
37577 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
37578 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
37579 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
37580 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
37581 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
37582 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
37583 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
37584 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
37585 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
37586 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
37587 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
37588 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
37589 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
37590 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
37591 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
37592 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
37593 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
37594 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
37595 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
37596 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
37597 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
37598 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
37599 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
37600 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
37601 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
37602 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
37603 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
37604 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
37605 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
37606 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
37607 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
37608 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
37609 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
37610 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
37611 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
37612 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
37613 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
37614 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
37615 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
37616 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
37617 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
37618 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
37619 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
37620 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
37621 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
37622 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
37623 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
37624 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
37625 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
37626 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
37627 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
37628 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
37629 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
37630 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
37631 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
37632 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
37633 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
37634 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
37635 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
37636 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
37637 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
37638 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
37639 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
37640 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
37641 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
37642 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
37643 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
37644 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
37645 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
37646 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
37647 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
37648 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
37649 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
37650 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
37651 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
37652 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
37653 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
37654 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
37655 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
37656 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
37657 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
37658 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
37659 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
37660 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
37661 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
37662 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
37663 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
37664 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
37665 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
37666 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
37667 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
37668 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
37669 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
37670 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
37671 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
37672 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
37673 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
37674 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
37675 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
37676 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
37677 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
37678 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
37679 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
37680 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
37681 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
37682 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
37683 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
37684 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
37685 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
37686 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
37687 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
37688 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
37689 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
37690 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
37691 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
37692 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
37693 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
37694 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
37695 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
37696 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
37697 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
37698 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
37699 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
37700 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
37702 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
37704 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
37705 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
37706 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
37707 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
37708 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
37709 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
37710 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
37711 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
37712 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
37713 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
37714 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
37715 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
37716 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
37717 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
37718 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
37719 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
37720 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
37721 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
37722 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
37723 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
37724 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
37725 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
37726 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
37727 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
37728 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
37729 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
37730 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
37731 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
37732 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
37733 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
37734 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
37735 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
37736 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
37737 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
37738 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
37739 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
37740 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
37741 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37742 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37743 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37744 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37745 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37746 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37747 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37748 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37749 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37750 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37751 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37752 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37753 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
37754 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
37755 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
37756 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
37757 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
37758 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
37759 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
37760 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
37761 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37762 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37763 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37764 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37765 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
37766 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
37767 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
37768 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
37769 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
37770 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
37771 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
37772 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
37773 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
37774 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
37775 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
37776 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
37777 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
37778 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
37779 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
37780 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37781 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37782 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37783 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37784 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37785 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37786 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37787 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37788 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37789 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37790 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37791 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37792 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37793 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37794 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37795 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37796 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37797 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37798 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37799 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37800 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37801 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37802 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37803 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37804 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37805 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37806 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37807 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37808 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37809 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37810 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37811 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37812 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37813 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37814 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37815 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37816 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37817 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37818 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37819 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37820 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37821 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37822 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37823 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37824 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37825 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37826 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37827 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37828 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37829 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37830 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37831 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37832 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37833 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37834 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37835 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37836 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37837 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37838 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37839 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37840 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37841 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37842 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37843 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37844 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37845 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37846 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37847 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37848 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37849 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37850 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37851 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37852 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37853 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37854 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37855 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37856 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37857 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37858 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37859 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37860 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37861 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37862 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37863 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37864 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37865 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37866 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37867 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37868 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37869 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37870 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37871 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37872 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37873 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37874 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37875 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37876 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37877 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37878 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37879 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37880 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37881 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37882 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37883 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37884 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37885 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37886 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37887 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37888 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37889 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37890 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37891 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37892 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37893 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37894 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37895 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37896 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37897 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37898 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37899 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37900 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37901 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37902 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37903 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37904 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37905 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37906 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37907 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37908 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37909 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37910 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37911 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37912 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37913 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37914 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37915 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37916 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37917 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37918 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37919 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37920 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37921 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37922 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37923 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37924 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37925 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37926 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37927 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37928 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37929 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37930 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37931 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37932 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37933 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37934 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37935 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37936 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37937 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37938 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37939 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37940 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37941 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37942 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37943 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37944 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37945 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37946 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37947 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37948 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37949 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37950 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37951 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37952 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37953 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37954 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37955 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37956 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37957 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37958 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37959 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37960 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37961 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37962 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37963 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37964 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37965 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37966 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37967 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37968 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37969 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37970 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37971 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37972 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37973 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37974 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37975 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37976 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37977 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37978 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37979 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37980 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37981 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37982 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37983 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37984 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37985 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37986 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37987 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37988 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37989 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37990 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37991 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37992 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37993 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37994 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37995 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37996 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37997 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37998 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37999 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
38000 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
38001 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
38002 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
38003 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
38004 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
38005 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
38006 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
38007 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
38008 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
38009 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
38010 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
38011 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
38012 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
38013 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
38014 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
38015 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
38016 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
38017 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
38018 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
38019 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
38020 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
38021 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
38022 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
38024 // Work around a chicken/egg problem in drawlist.cpp
38025 wxPyDrawList_SetAPIPtr();