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 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2955 wxSize
size(self
->GetWidth(), self
->GetHeight());
2958 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2959 wxMask
*mask
= new wxMask(*self
, colour
);
2960 self
->SetMask(mask
);
2962 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2963 self
->SetWidth(size
.x
);
2964 self
->SetHeight(size
.y
);
2966 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2967 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2969 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2970 // appears to me that the other platforms are already doing it, so I'll just
2971 // automatically do it for wxMSW here.
2973 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2974 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2976 #define wxPy_premultiply(p, a) (p)
2977 #define wxPy_unpremultiply(p, a) (p)
2981 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2982 buffer data
, int DATASIZE
,
2983 buffer alpha
, int ALPHASIZE
)
2985 if (DATASIZE
!= width
*height
*3) {
2986 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2990 if (ALPHASIZE
!= width
*height
) {
2991 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2995 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2996 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2998 // raise an exception...
2999 wxPyErr_SetString(PyExc_RuntimeError
,
3000 "Failed to gain raw access to bitmap data.");
3005 wxAlphaPixelData::Iterator
p(pixData
);
3006 for (int y
=0; y
<height
; y
++) {
3007 wxAlphaPixelData::Iterator rowStart
= p
;
3008 for (int x
=0; x
<width
; x
++) {
3009 byte a
= *(alpha
++);
3010 p
.Red() = wxPy_premultiply(*(data
++), a
);
3011 p
.Green() = wxPy_premultiply(*(data
++), a
);
3012 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3017 p
.OffsetY(pixData
, 1);
3022 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3024 if (DATASIZE
!= width
*height
*3) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3029 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3030 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3032 // raise an exception...
3033 wxPyErr_SetString(PyExc_RuntimeError
,
3034 "Failed to gain raw access to bitmap data.");
3038 wxNativePixelData::Iterator
p(pixData
);
3039 for (int y
=0; y
<height
; y
++) {
3040 wxNativePixelData::Iterator rowStart
= p
;
3041 for (int x
=0; x
<width
; x
++) {
3042 p
.Red() = *(data
++);
3043 p
.Green() = *(data
++);
3044 p
.Blue() = *(data
++);
3048 p
.OffsetY(pixData
, 1);
3054 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3056 if (DATASIZE
!= width
*height
*4) {
3057 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3061 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3062 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3064 // raise an exception...
3065 wxPyErr_SetString(PyExc_RuntimeError
,
3066 "Failed to gain raw access to bitmap data.");
3071 wxAlphaPixelData::Iterator
p(pixData
);
3072 for (int y
=0; y
<height
; y
++) {
3073 wxAlphaPixelData::Iterator rowStart
= p
;
3074 for (int x
=0; x
<width
; x
++) {
3076 p
.Red() = wxPy_premultiply(*(data
++), a
);
3077 p
.Green() = wxPy_premultiply(*(data
++), a
);
3078 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3079 p
.Alpha() = a
; data
++;
3083 p
.OffsetY(pixData
, 1);
3089 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3091 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3092 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3093 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3095 self
->Green() = green
;
3096 self
->Blue() = blue
;
3098 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3099 PyObject
* rv
= PyTuple_New(3);
3100 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3101 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3102 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3106 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3108 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3109 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3110 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3111 self
->Red() = wxPy_premultiply(red
, alpha
);
3112 self
->Green() = wxPy_premultiply(green
, alpha
);
3113 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3114 self
->Alpha() = alpha
;
3116 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3117 PyObject
* rv
= PyTuple_New(4);
3118 int red
= self
->Red();
3119 int green
= self
->Green();
3120 int blue
= self
->Blue();
3121 int alpha
= self
->Alpha();
3123 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3124 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3125 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3126 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3129 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3130 if ( !colour
.IsOk() )
3131 return new wxMask(bitmap
, *wxBLACK
);
3133 return new wxMask(bitmap
, colour
);
3136 #include <wx/iconbndl.h>
3138 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3139 wxIcon
* icon
= new wxIcon();
3140 icon
->CopyFromBitmap(bmp
);
3143 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3144 char** cArray
= NULL
;
3147 cArray
= ConvertListOfStrings(listOfStrings
);
3150 icon
= new wxIcon(cArray
);
3154 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3158 return new wxIconLocation(*filename
);
3161 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3168 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3175 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3177 wxImage
img(cursorName
, type
);
3178 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3179 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3180 return new wxCursor(img
);
3182 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3187 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3190 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3191 return self
->operator bool();
3194 #include <wx/fontutil.h>
3195 #include <wx/fontmap.h>
3196 #include <wx/fontenum.h>
3198 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3199 return self
->ToString();
3202 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3203 static wxNativeEncodingInfo info
;
3204 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3211 SWIGINTERNINLINE PyObject
*
3212 SWIG_From_size_t (size_t value
)
3214 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3218 SWIGINTERNINLINE
int
3219 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3222 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3223 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3227 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3228 wxFontEncoding alt_enc
;
3229 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3230 return PyInt_FromLong(alt_enc
);
3236 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3237 wxNativeFontInfo nfi
;
3238 nfi
.FromString(info
);
3239 return new wxFont(nfi
);
3241 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3242 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3244 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3245 return wxFontBase::New(pixelSize
, family
,
3246 style
, weight
, underlined
,
3249 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3250 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3252 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3253 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3255 class wxPyFontEnumerator
: public wxFontEnumerator
{
3257 wxPyFontEnumerator() {}
3258 ~wxPyFontEnumerator() {}
3260 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3261 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3266 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3267 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3270 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3272 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3273 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3274 ret
= wxArrayString2PyList_helper(arr
);
3275 wxPyEndBlockThreads(blocked
);
3278 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3280 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3281 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3282 ret
= wxArrayString2PyList_helper(arr
);
3283 wxPyEndBlockThreads(blocked
);
3289 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3292 loc
= new wxLocale();
3294 loc
= new wxLocale(language
, flags
);
3295 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3296 // for the floating point conversions and such to work right.
3297 #if PY_VERSION_HEX < 0x02040000
3298 setlocale(LC_NUMERIC
, "C");
3302 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3303 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3304 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3305 // for the floating point conversions and such to work right.
3306 #if PY_VERSION_HEX < 0x02040000
3307 setlocale(LC_NUMERIC
, "C");
3311 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3312 bool rc
= self
->Init(language
, flags
);
3313 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3314 // for the floating point conversions and such to work right.
3315 #if PY_VERSION_HEX < 0x02040000
3316 setlocale(LC_NUMERIC
, "C");
3321 class wxPyLocale
: public wxLocale
3326 wxPyLocale(const wxChar
*szName
, // name (for messages)
3327 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3328 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3329 bool bLoadDefault
= true, // preload wxstd.mo?
3330 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3332 wxPyLocale(int language
, // wxLanguage id or custom language
3333 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3337 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3338 const wxChar
*szDomain
= NULL
) const;
3339 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3340 const wxChar
*szOrigString2
, size_t n
,
3341 const wxChar
*szDomain
= NULL
) const;
3343 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3344 const wxChar
*szDomain
= NULL
) const;
3345 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3346 const wxChar
*szOrigString2
, size_t n
,
3347 const wxChar
*szDomain
= NULL
) const;
3351 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3354 wxPyLocale::wxPyLocale() : wxLocale()
3358 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3359 const wxChar
*szShort
, // dir prefix (for msg files)
3360 const wxChar
*szLocale
, // locale (for setlocale)
3361 bool bLoadDefault
, // preload wxstd.mo?
3362 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3363 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3367 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3368 int flags
) : wxLocale(language
, flags
)
3372 wxPyLocale::~wxPyLocale()
3376 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3377 const wxChar
*szDomain
) const
3379 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3380 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3383 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3384 const wxChar
*szOrigString2
, size_t n
,
3385 const wxChar
*szDomain
) const
3387 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3388 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3391 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3392 const wxChar
*szDomain
) const
3395 static wxString str
;
3396 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.
3397 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3398 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3399 PyObject
* param1
= wx2PyString(szOrigString
);
3400 PyObject
* param2
= wx2PyString(szDomain
);
3401 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3405 str
= Py2wxString(ret
);
3409 wxPyEndBlockThreads(blocked
);
3410 return (found
? (wxChar
*)str
.c_str() : NULL
);
3413 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3414 const wxChar
*szOrigString2
, size_t n
,
3415 const wxChar
*szDomain
) const
3418 static wxString str
;
3419 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3420 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3421 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3422 PyObject
* param1
= wx2PyString(szOrigString
);
3423 PyObject
* param2
= wx2PyString(szOrigString2
);
3424 PyObject
* param4
= wx2PyString(szDomain
);
3425 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3430 str
= Py2wxString(ret
);
3434 wxPyEndBlockThreads(blocked
);
3435 return (found
? (wxChar
*)str
.c_str() : NULL
);
3438 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3441 loc
= new wxPyLocale();
3443 loc
= new wxPyLocale(language
, flags
);
3444 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3445 // for the floating point conversions and such to work right.
3446 #if PY_VERSION_HEX < 0x02040000
3447 setlocale(LC_NUMERIC
, "C");
3452 #include "wx/wxPython/pydrawxxx.h"
3454 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3456 self
->GetPixel(x
, y
, &col
);
3459 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3461 self
->GetPixel(pt
, &col
);
3466 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3468 if (PyNumber_Check(obj
)) {
3469 if (val
) *val
= PyFloat_AsDouble(obj
);
3472 return SWIG_TypeError
;
3475 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3477 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3480 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3482 self
->GetClippingBox(rect
);
3485 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3487 self
->GetPartialTextExtents(text
, widths
);
3491 #define SWIG_From_double PyFloat_FromDouble
3493 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3494 self
->SetLogicalOrigin(point
.x
, point
.y
);
3496 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3497 self
->SetDeviceOrigin(point
.x
, point
.y
);
3499 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3500 self
->CalcBoundingBox(point
.x
, point
.y
);
3502 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3503 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3505 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3506 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3508 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3509 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3511 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3512 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3514 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3515 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3517 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3518 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3521 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3529 #include <wx/dcbuffer.h>
3532 #include <wx/dcps.h>
3535 class wxMetaFile
: public wxObject
{
3537 wxMetaFile(const wxString
&)
3538 { wxPyRaiseNotImplemented(); }
3541 class wxMetaFileDC
: public wxClientDC
{
3543 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3544 { wxPyRaiseNotImplemented(); }
3549 class wxPrinterDC
: public wxClientDC
{
3551 wxPrinterDC(const wxPrintData
&)
3552 { wxPyRaiseNotImplemented(); }
3557 #include <wx/graphics.h>
3560 #if !wxUSE_GRAPHICS_CONTEXT
3561 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3563 class wxGraphicsPath
3567 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3568 PyErr_SetString(PyExc_NotImplementedError
,
3569 "wxGraphicsPath is not available on this platform.");
3570 wxPyEndBlockThreads(blocked
);
3572 virtual ~wxGraphicsPath() {}
3574 void MoveToPoint( wxDouble
, wxDouble
) {}
3575 void AddLineToPoint( wxDouble
, wxDouble
) {}
3576 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3577 void CloseSubpath() {}
3578 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3579 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3581 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3582 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3583 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3584 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3586 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3587 void MoveToPoint( const wxPoint2DDouble
& ) {}
3588 void AddLineToPoint( const wxPoint2DDouble
&) {}
3589 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3590 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3594 class wxGraphicsContext
3597 wxGraphicsContext() {
3598 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3599 PyErr_SetString(PyExc_NotImplementedError
,
3600 "wxGraphicsContext is not available on this platform.");
3601 wxPyEndBlockThreads(blocked
);
3603 virtual ~wxGraphicsContext() {}
3605 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3606 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3607 PyErr_SetString(PyExc_NotImplementedError
,
3608 "wxGraphicsPath is not available on this platform.");
3609 wxPyEndBlockThreads(blocked
);
3613 wxGraphicsPath
* CreatePath() { return NULL
; }
3616 void Clip( const wxRegion
& ) {}
3617 void Translate( wxDouble
, wxDouble
) {}
3618 void Scale( wxDouble
, wxDouble
) {}
3619 void Rotate( wxDouble
) {}
3620 void SetPen( const wxPen
& ) {}
3621 void SetBrush( const wxBrush
& ) {}
3622 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3623 const wxColour
&, const wxColour
&) {}
3624 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3625 const wxColour
&, const wxColour
&) {}
3626 void SetFont( const wxFont
& ) {}
3627 void SetTextColor( const wxColour
& ) {}
3628 void StrokePath( const wxGraphicsPath
* ) {}
3629 void FillPath( const wxGraphicsPath
*, int ) {}
3630 void DrawPath( const wxGraphicsPath
*, int ) {}
3631 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3632 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3633 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3634 wxDouble
*, wxDouble
* ) const {}
3635 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3636 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3637 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3638 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3639 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3640 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3641 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3642 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3643 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3644 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3648 class wxGCDC
: public wxWindowDC
3651 wxGCDC(const wxWindowDC
&) {
3652 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3653 PyErr_SetString(PyExc_NotImplementedError
,
3654 "wxGCDC is not available on this platform.");
3655 wxPyEndBlockThreads(blocked
);
3659 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3660 PyErr_SetString(PyExc_NotImplementedError
,
3661 "wxGCDC is not available on this platform.");
3662 wxPyEndBlockThreads(blocked
);
3665 virtual ~wxGCDC() {}
3667 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3672 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3673 wxArrayDouble widths
;
3674 self
->GetPartialTextExtents(text
, widths
);
3677 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3678 size_t c1
, c2
, count
;
3679 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3680 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3682 if ( beginP
!= NULL
&& endP
!= NULL
)
3684 count
= wxMin(c1
, c2
);
3685 self
->StrokeLines(count
, beginP
, endP
);
3692 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3693 self
->AddColour(name
, wxColour(red
, green
, blue
));
3696 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3697 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3698 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3699 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3702 #include <wx/effects.h>
3705 #include "wx/renderer.h"
3708 SWIGINTERNINLINE PyObject
*
3709 SWIG_From_bool (bool value
)
3711 return PyBool_FromLong(value
? 1 : 0);
3715 #include "wx/wxPython/pseudodc.h"
3717 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3719 self
->GetIdBounds(id
, rect
);
3725 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3726 PyObject
*resultobj
= 0;
3727 wxGDIObject
*result
= 0 ;
3729 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3731 if (!wxPyCheckForApp()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 result
= (wxGDIObject
*)new wxGDIObject();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3744 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3745 PyObject
*resultobj
= 0;
3746 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3749 PyObject
*swig_obj
[1] ;
3751 if (!args
) SWIG_fail
;
3753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3754 if (!SWIG_IsOK(res1
)) {
3755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3757 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= SWIG_Py_Void();
3772 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3773 PyObject
*resultobj
= 0;
3774 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3778 PyObject
*swig_obj
[1] ;
3780 if (!args
) SWIG_fail
;
3782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3783 if (!SWIG_IsOK(res1
)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3786 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 result
= (bool)(arg1
)->IsNull();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3802 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3805 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3806 return SWIG_Py_Void();
3809 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3810 return SWIG_Python_InitShadowInstance(args
);
3813 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
= 0;
3815 byte arg1
= (byte
) 0 ;
3816 byte arg2
= (byte
) 0 ;
3817 byte arg3
= (byte
) 0 ;
3818 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3819 wxColour
*result
= 0 ;
3820 unsigned char val1
;
3822 unsigned char val2
;
3824 unsigned char val3
;
3826 unsigned char val4
;
3828 PyObject
* obj0
= 0 ;
3829 PyObject
* obj1
= 0 ;
3830 PyObject
* obj2
= 0 ;
3831 PyObject
* obj3
= 0 ;
3832 char * kwnames
[] = {
3833 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3838 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3839 if (!SWIG_IsOK(ecode1
)) {
3840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3842 arg1
= static_cast< byte
>(val1
);
3845 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3846 if (!SWIG_IsOK(ecode2
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3849 arg2
= static_cast< byte
>(val2
);
3852 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3853 if (!SWIG_IsOK(ecode3
)) {
3854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3856 arg3
= static_cast< byte
>(val3
);
3859 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3860 if (!SWIG_IsOK(ecode4
)) {
3861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3863 arg4
= static_cast< byte
>(val4
);
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3878 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
= 0;
3880 wxString
*arg1
= 0 ;
3881 wxColour
*result
= 0 ;
3882 bool temp1
= false ;
3883 PyObject
* obj0
= 0 ;
3884 char * kwnames
[] = {
3885 (char *) "colorName", NULL
3888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3890 arg1
= wxString_in_helper(obj0
);
3891 if (arg1
== NULL
) SWIG_fail
;
3895 if (!wxPyCheckForApp()) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3916 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
= 0;
3918 unsigned long arg1
;
3919 wxColour
*result
= 0 ;
3920 unsigned long val1
;
3922 PyObject
* obj0
= 0 ;
3923 char * kwnames
[] = {
3924 (char *) "colRGB", NULL
3927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3928 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3929 if (!SWIG_IsOK(ecode1
)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3932 arg1
= static_cast< unsigned long >(val1
);
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 result
= (wxColour
*)new wxColour(arg1
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3946 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3947 PyObject
*resultobj
= 0;
3948 wxColour
*arg1
= (wxColour
*) 0 ;
3951 PyObject
*swig_obj
[1] ;
3953 if (!args
) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3959 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 resultobj
= SWIG_Py_Void();
3974 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3975 PyObject
*resultobj
= 0;
3976 wxColour
*arg1
= (wxColour
*) 0 ;
3980 PyObject
*swig_obj
[1] ;
3982 if (!args
) SWIG_fail
;
3984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3985 if (!SWIG_IsOK(res1
)) {
3986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3988 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 result
= (byte
)(arg1
)->Red();
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4002 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4003 PyObject
*resultobj
= 0;
4004 wxColour
*arg1
= (wxColour
*) 0 ;
4008 PyObject
*swig_obj
[1] ;
4010 if (!args
) SWIG_fail
;
4012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4013 if (!SWIG_IsOK(res1
)) {
4014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4016 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (byte
)(arg1
)->Green();
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4023 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4030 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4031 PyObject
*resultobj
= 0;
4032 wxColour
*arg1
= (wxColour
*) 0 ;
4036 PyObject
*swig_obj
[1] ;
4038 if (!args
) SWIG_fail
;
4040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4041 if (!SWIG_IsOK(res1
)) {
4042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4044 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 result
= (byte
)(arg1
)->Blue();
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4058 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4059 PyObject
*resultobj
= 0;
4060 wxColour
*arg1
= (wxColour
*) 0 ;
4064 PyObject
*swig_obj
[1] ;
4066 if (!args
) SWIG_fail
;
4068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4069 if (!SWIG_IsOK(res1
)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4072 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 result
= (byte
)(arg1
)->Alpha();
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4086 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4087 PyObject
*resultobj
= 0;
4088 wxColour
*arg1
= (wxColour
*) 0 ;
4092 PyObject
*swig_obj
[1] ;
4094 if (!args
) SWIG_fail
;
4096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4097 if (!SWIG_IsOK(res1
)) {
4098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4100 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 result
= (bool)(arg1
)->IsOk();
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4116 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
= 0;
4118 wxColour
*arg1
= (wxColour
*) 0 ;
4122 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4125 unsigned char val2
;
4127 unsigned char val3
;
4129 unsigned char val4
;
4131 unsigned char val5
;
4133 PyObject
* obj0
= 0 ;
4134 PyObject
* obj1
= 0 ;
4135 PyObject
* obj2
= 0 ;
4136 PyObject
* obj3
= 0 ;
4137 PyObject
* obj4
= 0 ;
4138 char * kwnames
[] = {
4139 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4144 if (!SWIG_IsOK(res1
)) {
4145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4147 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4148 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4149 if (!SWIG_IsOK(ecode2
)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4152 arg2
= static_cast< byte
>(val2
);
4153 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4154 if (!SWIG_IsOK(ecode3
)) {
4155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4157 arg3
= static_cast< byte
>(val3
);
4158 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4159 if (!SWIG_IsOK(ecode4
)) {
4160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4162 arg4
= static_cast< byte
>(val4
);
4164 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4165 if (!SWIG_IsOK(ecode5
)) {
4166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4168 arg5
= static_cast< byte
>(val5
);
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 resultobj
= SWIG_Py_Void();
4183 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
= 0;
4185 wxColour
*arg1
= (wxColour
*) 0 ;
4186 unsigned long arg2
;
4189 unsigned long val2
;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4193 char * kwnames
[] = {
4194 (char *) "self",(char *) "colRGB", NULL
4197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4199 if (!SWIG_IsOK(res1
)) {
4200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4202 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4203 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4204 if (!SWIG_IsOK(ecode2
)) {
4205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4207 arg2
= static_cast< unsigned long >(val2
);
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_Py_Void();
4221 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
= 0;
4223 wxColour
*arg1
= (wxColour
*) 0 ;
4224 wxString
*arg2
= 0 ;
4227 bool temp2
= false ;
4228 PyObject
* obj0
= 0 ;
4229 PyObject
* obj1
= 0 ;
4230 char * kwnames
[] = {
4231 (char *) "self",(char *) "colourName", NULL
4234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4236 if (!SWIG_IsOK(res1
)) {
4237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4239 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4241 arg2
= wxString_in_helper(obj1
);
4242 if (arg2
== NULL
) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 (arg1
)->Set((wxString
const &)*arg2
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 resultobj
= SWIG_Py_Void();
4266 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
= 0;
4268 wxColour
*arg1
= (wxColour
*) 0 ;
4269 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4277 char * kwnames
[] = {
4278 (char *) "self",(char *) "flags", NULL
4281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4283 if (!SWIG_IsOK(res1
)) {
4284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4286 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4288 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4289 if (!SWIG_IsOK(ecode2
)) {
4290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4292 arg2
= static_cast< long >(val2
);
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4313 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4314 PyObject
*resultobj
= 0;
4315 wxColour
*arg1
= (wxColour
*) 0 ;
4319 PyObject
*swig_obj
[1] ;
4321 if (!args
) SWIG_fail
;
4323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4324 if (!SWIG_IsOK(res1
)) {
4325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4327 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_From_long(static_cast< long >(result
));
4341 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= 0;
4343 wxColour
*arg1
= (wxColour
*) 0 ;
4344 PyObject
*arg2
= (PyObject
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4350 char * kwnames
[] = {
4351 (char *) "self",(char *) "other", NULL
4354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4356 if (!SWIG_IsOK(res1
)) {
4357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4359 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4362 result
= (bool)wxColour___eq__(arg1
,arg2
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4374 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
= 0;
4376 wxColour
*arg1
= (wxColour
*) 0 ;
4377 PyObject
*arg2
= (PyObject
*) 0 ;
4381 PyObject
* obj0
= 0 ;
4382 PyObject
* obj1
= 0 ;
4383 char * kwnames
[] = {
4384 (char *) "self",(char *) "other", NULL
4387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4389 if (!SWIG_IsOK(res1
)) {
4390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4392 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4395 result
= (bool)wxColour___ne__(arg1
,arg2
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4407 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
= 0;
4409 wxColour
*arg1
= (wxColour
*) 0 ;
4410 bool arg2
= (bool) false ;
4411 PyObject
*result
= 0 ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4418 char * kwnames
[] = {
4419 (char *) "self",(char *) "includeAlpha", NULL
4422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4424 if (!SWIG_IsOK(res1
)) {
4425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4427 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4429 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4430 if (!SWIG_IsOK(ecode2
)) {
4431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4433 arg2
= static_cast< bool >(val2
);
4436 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4446 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4447 PyObject
*resultobj
= 0;
4448 wxColour
*arg1
= (wxColour
*) 0 ;
4449 unsigned long result
;
4452 PyObject
*swig_obj
[1] ;
4454 if (!args
) SWIG_fail
;
4456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4457 if (!SWIG_IsOK(res1
)) {
4458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4460 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4462 result
= (unsigned long)wxColour_GetRGB(arg1
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4472 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4475 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4476 return SWIG_Py_Void();
4479 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4480 return SWIG_Python_InitShadowInstance(args
);
4483 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
= 0;
4486 unsigned char *arg2
= (unsigned char *) 0 ;
4487 unsigned char *arg3
= (unsigned char *) 0 ;
4488 unsigned char *arg4
= (unsigned char *) 0 ;
4489 wxPalette
*result
= 0 ;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4500 PyObject
* obj2
= 0 ;
4501 PyObject
* obj3
= 0 ;
4502 char * kwnames
[] = {
4503 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4507 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4508 if (!SWIG_IsOK(ecode1
)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4511 arg1
= static_cast< int >(val1
);
4512 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4513 if (!SWIG_IsOK(res2
)) {
4514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4516 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4517 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4518 if (!SWIG_IsOK(res3
)) {
4519 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4521 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4522 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4523 if (!SWIG_IsOK(res4
)) {
4524 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4526 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4528 if (!wxPyCheckForApp()) SWIG_fail
;
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4541 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4542 PyObject
*resultobj
= 0;
4543 wxPalette
*arg1
= (wxPalette
*) 0 ;
4546 PyObject
*swig_obj
[1] ;
4548 if (!args
) SWIG_fail
;
4550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4551 if (!SWIG_IsOK(res1
)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4554 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= SWIG_Py_Void();
4569 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
= 0;
4571 wxPalette
*arg1
= (wxPalette
*) 0 ;
4578 unsigned char val2
;
4580 unsigned char val3
;
4582 unsigned char val4
;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 PyObject
* obj2
= 0 ;
4587 PyObject
* obj3
= 0 ;
4588 char * kwnames
[] = {
4589 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4594 if (!SWIG_IsOK(res1
)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4597 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4598 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4599 if (!SWIG_IsOK(ecode2
)) {
4600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4602 arg2
= static_cast< byte
>(val2
);
4603 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4604 if (!SWIG_IsOK(ecode3
)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4607 arg3
= static_cast< byte
>(val3
);
4608 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4609 if (!SWIG_IsOK(ecode4
)) {
4610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4612 arg4
= static_cast< byte
>(val4
);
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_From_int(static_cast< int >(result
));
4626 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
= 0;
4628 wxPalette
*arg1
= (wxPalette
*) 0 ;
4630 byte
*arg3
= (byte
*) 0 ;
4631 byte
*arg4
= (byte
*) 0 ;
4632 byte
*arg5
= (byte
*) 0 ;
4639 int res3
= SWIG_TMPOBJ
;
4641 int res4
= SWIG_TMPOBJ
;
4643 int res5
= SWIG_TMPOBJ
;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4646 char * kwnames
[] = {
4647 (char *) "self",(char *) "pixel", NULL
4653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4655 if (!SWIG_IsOK(res1
)) {
4656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4658 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4660 if (!SWIG_IsOK(ecode2
)) {
4661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4663 arg2
= static_cast< int >(val2
);
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4673 if (SWIG_IsTmpObj(res3
)) {
4674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4676 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4679 if (SWIG_IsTmpObj(res4
)) {
4680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4682 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4685 if (SWIG_IsTmpObj(res5
)) {
4686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4688 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4697 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4698 PyObject
*resultobj
= 0;
4699 wxPalette
*arg1
= (wxPalette
*) 0 ;
4703 PyObject
*swig_obj
[1] ;
4705 if (!args
) SWIG_fail
;
4707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4708 if (!SWIG_IsOK(res1
)) {
4709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4711 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= SWIG_From_int(static_cast< int >(result
));
4725 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4726 PyObject
*resultobj
= 0;
4727 wxPalette
*arg1
= (wxPalette
*) 0 ;
4731 PyObject
*swig_obj
[1] ;
4733 if (!args
) SWIG_fail
;
4735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4736 if (!SWIG_IsOK(res1
)) {
4737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4739 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= (bool)(arg1
)->IsOk();
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4755 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4758 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4759 return SWIG_Py_Void();
4762 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4763 return SWIG_Python_InitShadowInstance(args
);
4766 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
= 0;
4768 wxColour
*arg1
= 0 ;
4769 int arg2
= (int) 1 ;
4770 int arg3
= (int) wxSOLID
;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4779 PyObject
* obj2
= 0 ;
4780 char * kwnames
[] = {
4781 (char *) "colour",(char *) "width",(char *) "style", NULL
4784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4787 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4791 if (!SWIG_IsOK(ecode2
)) {
4792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4794 arg2
= static_cast< int >(val2
);
4797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4798 if (!SWIG_IsOK(ecode3
)) {
4799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4801 arg3
= static_cast< int >(val3
);
4804 if (!wxPyCheckForApp()) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4817 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4818 PyObject
*resultobj
= 0;
4819 wxPen
*arg1
= (wxPen
*) 0 ;
4822 PyObject
*swig_obj
[1] ;
4824 if (!args
) SWIG_fail
;
4826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4827 if (!SWIG_IsOK(res1
)) {
4828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4830 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= SWIG_Py_Void();
4845 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4846 PyObject
*resultobj
= 0;
4847 wxPen
*arg1
= (wxPen
*) 0 ;
4851 PyObject
*swig_obj
[1] ;
4853 if (!args
) SWIG_fail
;
4855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4856 if (!SWIG_IsOK(res1
)) {
4857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4859 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (int)(arg1
)->GetCap();
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= SWIG_From_int(static_cast< int >(result
));
4873 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4874 PyObject
*resultobj
= 0;
4875 wxPen
*arg1
= (wxPen
*) 0 ;
4879 PyObject
*swig_obj
[1] ;
4881 if (!args
) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4887 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (arg1
)->GetColour();
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4901 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4902 PyObject
*resultobj
= 0;
4903 wxPen
*arg1
= (wxPen
*) 0 ;
4907 PyObject
*swig_obj
[1] ;
4909 if (!args
) SWIG_fail
;
4911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4912 if (!SWIG_IsOK(res1
)) {
4913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4915 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (int)(arg1
)->GetJoin();
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= SWIG_From_int(static_cast< int >(result
));
4929 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4930 PyObject
*resultobj
= 0;
4931 wxPen
*arg1
= (wxPen
*) 0 ;
4935 PyObject
*swig_obj
[1] ;
4937 if (!args
) SWIG_fail
;
4939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4940 if (!SWIG_IsOK(res1
)) {
4941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4943 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= (int)(arg1
)->GetStyle();
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= SWIG_From_int(static_cast< int >(result
));
4957 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4958 PyObject
*resultobj
= 0;
4959 wxPen
*arg1
= (wxPen
*) 0 ;
4963 PyObject
*swig_obj
[1] ;
4965 if (!args
) SWIG_fail
;
4967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4968 if (!SWIG_IsOK(res1
)) {
4969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4971 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (int)(arg1
)->GetWidth();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= SWIG_From_int(static_cast< int >(result
));
4985 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4986 PyObject
*resultobj
= 0;
4987 wxPen
*arg1
= (wxPen
*) 0 ;
4991 PyObject
*swig_obj
[1] ;
4993 if (!args
) SWIG_fail
;
4995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4996 if (!SWIG_IsOK(res1
)) {
4997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
4999 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 result
= (bool)(arg1
)->IsOk();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5015 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
= 0;
5017 wxPen
*arg1
= (wxPen
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5025 char * kwnames
[] = {
5026 (char *) "self",(char *) "cap_style", NULL
5029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5031 if (!SWIG_IsOK(res1
)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5034 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5036 if (!SWIG_IsOK(ecode2
)) {
5037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5039 arg2
= static_cast< int >(val2
);
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 (arg1
)->SetCap(arg2
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= SWIG_Py_Void();
5053 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
= 0;
5055 wxPen
*arg1
= (wxPen
*) 0 ;
5056 wxColour
*arg2
= 0 ;
5060 PyObject
* obj0
= 0 ;
5061 PyObject
* obj1
= 0 ;
5062 char * kwnames
[] = {
5063 (char *) "self",(char *) "colour", NULL
5066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5068 if (!SWIG_IsOK(res1
)) {
5069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5071 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5074 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 (arg1
)->SetColour(*arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_Py_Void();
5089 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxPen
*arg1
= (wxPen
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5099 char * kwnames
[] = {
5100 (char *) "self",(char *) "join_style", NULL
5103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5105 if (!SWIG_IsOK(res1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5108 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5110 if (!SWIG_IsOK(ecode2
)) {
5111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5113 arg2
= static_cast< int >(val2
);
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 (arg1
)->SetJoin(arg2
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= SWIG_Py_Void();
5127 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
= 0;
5129 wxPen
*arg1
= (wxPen
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5136 PyObject
* obj1
= 0 ;
5137 char * kwnames
[] = {
5138 (char *) "self",(char *) "style", NULL
5141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5143 if (!SWIG_IsOK(res1
)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5146 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5148 if (!SWIG_IsOK(ecode2
)) {
5149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5151 arg2
= static_cast< int >(val2
);
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 (arg1
)->SetStyle(arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_Py_Void();
5165 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
= 0;
5167 wxPen
*arg1
= (wxPen
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5174 PyObject
* obj1
= 0 ;
5175 char * kwnames
[] = {
5176 (char *) "self",(char *) "width", NULL
5179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5181 if (!SWIG_IsOK(res1
)) {
5182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5184 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5186 if (!SWIG_IsOK(ecode2
)) {
5187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5189 arg2
= static_cast< int >(val2
);
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 (arg1
)->SetWidth(arg2
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= SWIG_Py_Void();
5203 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
= 0;
5205 wxPen
*arg1
= (wxPen
*) 0 ;
5207 wxDash
*arg3
= (wxDash
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5211 PyObject
* obj1
= 0 ;
5212 char * kwnames
[] = {
5213 (char *) "self",(char *) "dashes", NULL
5216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5218 if (!SWIG_IsOK(res1
)) {
5219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5221 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5223 arg2
= PyList_Size(obj1
);
5224 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5225 if (arg3
== NULL
) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 (arg1
)->SetDashes(arg2
,arg3
);
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_Py_Void();
5235 if (arg3
) delete [] arg3
;
5240 if (arg3
) delete [] arg3
;
5246 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5247 PyObject
*resultobj
= 0;
5248 wxPen
*arg1
= (wxPen
*) 0 ;
5249 PyObject
*result
= 0 ;
5252 PyObject
*swig_obj
[1] ;
5254 if (!args
) SWIG_fail
;
5256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5257 if (!SWIG_IsOK(res1
)) {
5258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5260 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5274 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
= 0;
5276 wxPen
*arg1
= (wxPen
*) 0 ;
5277 PyObject
*arg2
= (PyObject
*) 0 ;
5278 PyObject
*arg3
= (PyObject
*) 0 ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5283 PyObject
* obj2
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5293 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 wxPen__SetDashes(arg1
,arg2
,arg3
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= SWIG_Py_Void();
5309 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5310 PyObject
*resultobj
= 0;
5311 wxPen
*arg1
= (wxPen
*) 0 ;
5315 PyObject
*swig_obj
[1] ;
5317 if (!args
) SWIG_fail
;
5319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5320 if (!SWIG_IsOK(res1
)) {
5321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5323 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_From_int(static_cast< int >(result
));
5337 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
= 0;
5339 wxPen
*arg1
= (wxPen
*) 0 ;
5340 wxPen
*arg2
= (wxPen
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 char * kwnames
[] = {
5349 (char *) "self",(char *) "other", NULL
5352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5354 if (!SWIG_IsOK(res1
)) {
5355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5357 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5359 if (!SWIG_IsOK(res2
)) {
5360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5362 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5378 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
= 0;
5380 wxPen
*arg1
= (wxPen
*) 0 ;
5381 wxPen
*arg2
= (wxPen
*) 0 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5389 char * kwnames
[] = {
5390 (char *) "self",(char *) "other", NULL
5393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5395 if (!SWIG_IsOK(res1
)) {
5396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5398 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5400 if (!SWIG_IsOK(res2
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5403 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5419 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5422 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5423 return SWIG_Py_Void();
5426 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5427 return SWIG_Python_InitShadowInstance(args
);
5430 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
= 0;
5432 wxColour
*arg1
= 0 ;
5433 int arg2
= (int) wxSOLID
;
5434 wxBrush
*result
= 0 ;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5440 char * kwnames
[] = {
5441 (char *) "colour",(char *) "style", NULL
5444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5447 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5451 if (!SWIG_IsOK(ecode2
)) {
5452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5454 arg2
= static_cast< int >(val2
);
5457 if (!wxPyCheckForApp()) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5470 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
= 0;
5472 wxBitmap
*arg1
= 0 ;
5473 wxBrush
*result
= 0 ;
5476 PyObject
* obj0
= 0 ;
5477 char * kwnames
[] = {
5478 (char *) "stippleBitmap", NULL
5481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5482 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5483 if (!SWIG_IsOK(res1
)) {
5484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5489 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5491 if (!wxPyCheckForApp()) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5504 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5505 PyObject
*resultobj
= 0;
5506 wxBrush
*arg1
= (wxBrush
*) 0 ;
5509 PyObject
*swig_obj
[1] ;
5511 if (!args
) SWIG_fail
;
5513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5514 if (!SWIG_IsOK(res1
)) {
5515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5517 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_Py_Void();
5532 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
= 0;
5534 wxBrush
*arg1
= (wxBrush
*) 0 ;
5535 wxColour
*arg2
= 0 ;
5539 PyObject
* obj0
= 0 ;
5540 PyObject
* obj1
= 0 ;
5541 char * kwnames
[] = {
5542 (char *) "self",(char *) "col", NULL
5545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5547 if (!SWIG_IsOK(res1
)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5550 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 (arg1
)->SetColour((wxColour
const &)*arg2
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_Py_Void();
5568 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
= 0;
5570 wxBrush
*arg1
= (wxBrush
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5578 char * kwnames
[] = {
5579 (char *) "self",(char *) "style", NULL
5582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5584 if (!SWIG_IsOK(res1
)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5587 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5589 if (!SWIG_IsOK(ecode2
)) {
5590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5592 arg2
= static_cast< int >(val2
);
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 (arg1
)->SetStyle(arg2
);
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5599 resultobj
= SWIG_Py_Void();
5606 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
= 0;
5608 wxBrush
*arg1
= (wxBrush
*) 0 ;
5609 wxBitmap
*arg2
= 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5616 char * kwnames
[] = {
5617 (char *) "self",(char *) "stipple", NULL
5620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5625 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5627 if (!SWIG_IsOK(res2
)) {
5628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5633 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= SWIG_Py_Void();
5647 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5648 PyObject
*resultobj
= 0;
5649 wxBrush
*arg1
= (wxBrush
*) 0 ;
5653 PyObject
*swig_obj
[1] ;
5655 if (!args
) SWIG_fail
;
5657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5658 if (!SWIG_IsOK(res1
)) {
5659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5661 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= ((wxBrush
const *)arg1
)->GetColour();
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5675 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5676 PyObject
*resultobj
= 0;
5677 wxBrush
*arg1
= (wxBrush
*) 0 ;
5681 PyObject
*swig_obj
[1] ;
5683 if (!args
) SWIG_fail
;
5685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5686 if (!SWIG_IsOK(res1
)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5689 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= SWIG_From_int(static_cast< int >(result
));
5703 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5704 PyObject
*resultobj
= 0;
5705 wxBrush
*arg1
= (wxBrush
*) 0 ;
5706 wxBitmap
*result
= 0 ;
5709 PyObject
*swig_obj
[1] ;
5711 if (!args
) SWIG_fail
;
5713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5714 if (!SWIG_IsOK(res1
)) {
5715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5717 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5731 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5732 PyObject
*resultobj
= 0;
5733 wxBrush
*arg1
= (wxBrush
*) 0 ;
5737 PyObject
*swig_obj
[1] ;
5739 if (!args
) SWIG_fail
;
5741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5742 if (!SWIG_IsOK(res1
)) {
5743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5745 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5761 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5762 PyObject
*resultobj
= 0;
5763 wxBrush
*arg1
= (wxBrush
*) 0 ;
5767 PyObject
*swig_obj
[1] ;
5769 if (!args
) SWIG_fail
;
5771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5772 if (!SWIG_IsOK(res1
)) {
5773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5775 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 result
= (bool)(arg1
)->IsOk();
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5791 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5793 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5794 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5795 return SWIG_Py_Void();
5798 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5799 return SWIG_Python_InitShadowInstance(args
);
5802 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
= 0;
5804 wxString
*arg1
= 0 ;
5805 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5806 wxBitmap
*result
= 0 ;
5807 bool temp1
= false ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5812 char * kwnames
[] = {
5813 (char *) "name",(char *) "type", NULL
5816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5818 arg1
= wxString_in_helper(obj0
);
5819 if (arg1
== NULL
) SWIG_fail
;
5823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5824 if (!SWIG_IsOK(ecode2
)) {
5825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5827 arg2
= static_cast< wxBitmapType
>(val2
);
5830 if (!wxPyCheckForApp()) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5851 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5852 PyObject
*resultobj
= 0;
5853 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5856 PyObject
*swig_obj
[1] ;
5858 if (!args
) SWIG_fail
;
5860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5861 if (!SWIG_IsOK(res1
)) {
5862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5864 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= SWIG_Py_Void();
5877 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
= 0;
5881 int arg3
= (int) -1 ;
5882 wxBitmap
*result
= 0 ;
5889 PyObject
* obj0
= 0 ;
5890 PyObject
* obj1
= 0 ;
5891 PyObject
* obj2
= 0 ;
5892 char * kwnames
[] = {
5893 (char *) "width",(char *) "height",(char *) "depth", NULL
5896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5897 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5898 if (!SWIG_IsOK(ecode1
)) {
5899 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5901 arg1
= static_cast< int >(val1
);
5902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5903 if (!SWIG_IsOK(ecode2
)) {
5904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5906 arg2
= static_cast< int >(val2
);
5908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5909 if (!SWIG_IsOK(ecode3
)) {
5910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5912 arg3
= static_cast< int >(val3
);
5915 if (!wxPyCheckForApp()) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5928 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
= 0;
5931 wxBitmap
*result
= 0 ;
5934 PyObject
* obj0
= 0 ;
5935 char * kwnames
[] = {
5936 (char *) "icon", NULL
5939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5940 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5941 if (!SWIG_IsOK(res1
)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5947 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5949 if (!wxPyCheckForApp()) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5962 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
= 0;
5965 int arg2
= (int) -1 ;
5966 wxBitmap
*result
= 0 ;
5971 PyObject
* obj0
= 0 ;
5972 PyObject
* obj1
= 0 ;
5973 char * kwnames
[] = {
5974 (char *) "image",(char *) "depth", NULL
5977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5978 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5979 if (!SWIG_IsOK(res1
)) {
5980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5985 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5988 if (!SWIG_IsOK(ecode2
)) {
5989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5991 arg2
= static_cast< int >(val2
);
5994 if (!wxPyCheckForApp()) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6007 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
= 0;
6009 PyObject
*arg1
= (PyObject
*) 0 ;
6010 wxBitmap
*result
= 0 ;
6011 PyObject
* obj0
= 0 ;
6012 char * kwnames
[] = {
6013 (char *) "listOfStrings", NULL
6016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6019 if (!wxPyCheckForApp()) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6032 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
= 0;
6034 PyObject
*arg1
= (PyObject
*) 0 ;
6037 int arg4
= (int) 1 ;
6038 wxBitmap
*result
= 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6047 PyObject
* obj2
= 0 ;
6048 PyObject
* obj3
= 0 ;
6049 char * kwnames
[] = {
6050 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6056 if (!SWIG_IsOK(ecode2
)) {
6057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6059 arg2
= static_cast< int >(val2
);
6060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6061 if (!SWIG_IsOK(ecode3
)) {
6062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6064 arg3
= static_cast< int >(val3
);
6066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6067 if (!SWIG_IsOK(ecode4
)) {
6068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6070 arg4
= static_cast< int >(val4
);
6073 if (!wxPyCheckForApp()) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6086 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6087 PyObject
*resultobj
= 0;
6088 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6092 PyObject
*swig_obj
[1] ;
6094 if (!args
) SWIG_fail
;
6096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6097 if (!SWIG_IsOK(res1
)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6100 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6102 result
= (bool)(arg1
)->IsOk();
6103 if (PyErr_Occurred()) SWIG_fail
;
6106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6114 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6115 PyObject
*resultobj
= 0;
6116 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6120 PyObject
*swig_obj
[1] ;
6122 if (!args
) SWIG_fail
;
6124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6125 if (!SWIG_IsOK(res1
)) {
6126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6128 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6130 result
= (int)(arg1
)->GetWidth();
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= SWIG_From_int(static_cast< int >(result
));
6140 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6141 PyObject
*resultobj
= 0;
6142 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6146 PyObject
*swig_obj
[1] ;
6148 if (!args
) SWIG_fail
;
6150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6151 if (!SWIG_IsOK(res1
)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6154 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6156 result
= (int)(arg1
)->GetHeight();
6157 if (PyErr_Occurred()) SWIG_fail
;
6159 resultobj
= SWIG_From_int(static_cast< int >(result
));
6166 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6167 PyObject
*resultobj
= 0;
6168 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6172 PyObject
*swig_obj
[1] ;
6174 if (!args
) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6180 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6182 result
= (int)(arg1
)->GetDepth();
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= SWIG_From_int(static_cast< int >(result
));
6192 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6193 PyObject
*resultobj
= 0;
6194 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6198 PyObject
*swig_obj
[1] ;
6200 if (!args
) SWIG_fail
;
6202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6203 if (!SWIG_IsOK(res1
)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6206 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6208 result
= wxBitmap_GetSize(arg1
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6218 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6219 PyObject
*resultobj
= 0;
6220 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6221 SwigValueWrapper
<wxImage
> result
;
6224 PyObject
*swig_obj
[1] ;
6226 if (!args
) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6232 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6234 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6244 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6245 PyObject
*resultobj
= 0;
6246 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6247 wxMask
*result
= 0 ;
6250 PyObject
*swig_obj
[1] ;
6252 if (!args
) SWIG_fail
;
6254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6255 if (!SWIG_IsOK(res1
)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6258 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6260 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6270 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
= 0;
6272 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6273 wxMask
*arg2
= (wxMask
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6279 char * kwnames
[] = {
6280 (char *) "self",(char *) "mask", NULL
6283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6285 if (!SWIG_IsOK(res1
)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6288 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6289 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6290 if (!SWIG_IsOK(res2
)) {
6291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6294 (arg1
)->SetMask(arg2
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= SWIG_Py_Void();
6304 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
= 0;
6306 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6307 wxColour
*arg2
= 0 ;
6311 PyObject
* obj0
= 0 ;
6312 PyObject
* obj1
= 0 ;
6313 char * kwnames
[] = {
6314 (char *) "self",(char *) "colour", NULL
6317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6319 if (!SWIG_IsOK(res1
)) {
6320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6322 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6328 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= SWIG_Py_Void();
6338 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
= 0;
6340 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6342 SwigValueWrapper
<wxBitmap
> result
;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6348 char * kwnames
[] = {
6349 (char *) "self",(char *) "rect", NULL
6352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6354 if (!SWIG_IsOK(res1
)) {
6355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6357 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6360 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6363 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6373 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
= 0;
6375 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6376 wxString
*arg2
= 0 ;
6378 wxPalette
*arg4
= (wxPalette
*) NULL
;
6382 bool temp2
= false ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 PyObject
* obj3
= 0 ;
6391 char * kwnames
[] = {
6392 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6397 if (!SWIG_IsOK(res1
)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6400 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6402 arg2
= wxString_in_helper(obj1
);
6403 if (arg2
== NULL
) SWIG_fail
;
6406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6407 if (!SWIG_IsOK(ecode3
)) {
6408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6410 arg3
= static_cast< wxBitmapType
>(val3
);
6412 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6413 if (!SWIG_IsOK(res4
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6416 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6419 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6439 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
= 0;
6441 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6442 wxString
*arg2
= 0 ;
6447 bool temp2
= false ;
6450 PyObject
* obj0
= 0 ;
6451 PyObject
* obj1
= 0 ;
6452 PyObject
* obj2
= 0 ;
6453 char * kwnames
[] = {
6454 (char *) "self",(char *) "name",(char *) "type", NULL
6457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6459 if (!SWIG_IsOK(res1
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6462 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6464 arg2
= wxString_in_helper(obj1
);
6465 if (arg2
== NULL
) SWIG_fail
;
6468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6469 if (!SWIG_IsOK(ecode3
)) {
6470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6472 arg3
= static_cast< wxBitmapType
>(val3
);
6474 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6494 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6495 PyObject
*resultobj
= 0;
6496 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6497 wxPalette
*result
= 0 ;
6500 PyObject
*swig_obj
[1] ;
6502 if (!args
) SWIG_fail
;
6504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6505 if (!SWIG_IsOK(res1
)) {
6506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6508 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6510 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6520 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
= 0;
6522 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6530 PyObject
* obj1
= 0 ;
6531 char * kwnames
[] = {
6532 (char *) "self",(char *) "icon", NULL
6535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6540 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6542 if (!SWIG_IsOK(res2
)) {
6543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6548 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6550 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6562 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 char * kwnames
[] = {
6573 (char *) "self",(char *) "height", NULL
6576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6581 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6583 if (!SWIG_IsOK(ecode2
)) {
6584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6586 arg2
= static_cast< int >(val2
);
6588 (arg1
)->SetHeight(arg2
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= SWIG_Py_Void();
6598 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
= 0;
6600 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 char * kwnames
[] = {
6609 (char *) "self",(char *) "width", NULL
6612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6614 if (!SWIG_IsOK(res1
)) {
6615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6617 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6619 if (!SWIG_IsOK(ecode2
)) {
6620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6622 arg2
= static_cast< int >(val2
);
6624 (arg1
)->SetWidth(arg2
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_Py_Void();
6634 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
= 0;
6636 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6644 char * kwnames
[] = {
6645 (char *) "self",(char *) "depth", NULL
6648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6650 if (!SWIG_IsOK(res1
)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6653 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6655 if (!SWIG_IsOK(ecode2
)) {
6656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6658 arg2
= static_cast< int >(val2
);
6660 (arg1
)->SetDepth(arg2
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= SWIG_Py_Void();
6670 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
= 0;
6672 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6679 char * kwnames
[] = {
6680 (char *) "self",(char *) "size", NULL
6683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6688 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6691 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6694 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= SWIG_Py_Void();
6704 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
= 0;
6706 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6707 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6713 PyObject
* obj0
= 0 ;
6714 PyObject
* obj1
= 0 ;
6715 char * kwnames
[] = {
6716 (char *) "self",(char *) "other", NULL
6719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6721 if (!SWIG_IsOK(res1
)) {
6722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6724 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6726 if (!SWIG_IsOK(res2
)) {
6727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6729 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6731 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6743 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
= 0;
6745 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6746 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6752 PyObject
* obj0
= 0 ;
6753 PyObject
* obj1
= 0 ;
6754 char * kwnames
[] = {
6755 (char *) "self",(char *) "other", NULL
6758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6760 if (!SWIG_IsOK(res1
)) {
6761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6763 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6765 if (!SWIG_IsOK(res2
)) {
6766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6768 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6770 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6782 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6785 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6786 return SWIG_Py_Void();
6789 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6790 return SWIG_Python_InitShadowInstance(args
);
6793 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
*resultobj
= 0;
6801 wxBitmap
*result
= 0 ;
6808 PyObject
* obj0
= 0 ;
6809 PyObject
* obj1
= 0 ;
6810 PyObject
* obj2
= 0 ;
6811 PyObject
* obj3
= 0 ;
6812 char * kwnames
[] = {
6813 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6817 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6818 if (!SWIG_IsOK(ecode1
)) {
6819 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6821 arg1
= static_cast< int >(val1
);
6822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6823 if (!SWIG_IsOK(ecode2
)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6826 arg2
= static_cast< int >(val2
);
6828 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6832 if (obj3
!= Py_None
) {
6833 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6838 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6848 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
= 0;
6854 wxBitmap
*result
= 0 ;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6862 PyObject
* obj2
= 0 ;
6863 char * kwnames
[] = {
6864 (char *) "width",(char *) "height",(char *) "data", NULL
6867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6868 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6869 if (!SWIG_IsOK(ecode1
)) {
6870 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6872 arg1
= static_cast< int >(val1
);
6873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6874 if (!SWIG_IsOK(ecode2
)) {
6875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6877 arg2
= static_cast< int >(val2
);
6879 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6883 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6893 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
= 0;
6899 wxBitmap
*result
= 0 ;
6905 PyObject
* obj0
= 0 ;
6906 PyObject
* obj1
= 0 ;
6907 PyObject
* obj2
= 0 ;
6908 char * kwnames
[] = {
6909 (char *) "width",(char *) "height",(char *) "data", NULL
6912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6913 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6914 if (!SWIG_IsOK(ecode1
)) {
6915 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6917 arg1
= static_cast< int >(val1
);
6918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6919 if (!SWIG_IsOK(ecode2
)) {
6920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6922 arg2
= static_cast< int >(val2
);
6924 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6928 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6938 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6939 PyObject
*resultobj
= 0;
6940 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6944 PyObject
*swig_obj
[1] ;
6946 if (!args
) SWIG_fail
;
6948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6949 if (!SWIG_IsOK(res1
)) {
6950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6952 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6954 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6964 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6965 PyObject
*resultobj
= 0;
6966 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6970 PyObject
*swig_obj
[1] ;
6972 if (!args
) SWIG_fail
;
6974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6975 if (!SWIG_IsOK(res1
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6978 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6980 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_From_int(static_cast< int >(result
));
6990 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6991 PyObject
*resultobj
= 0;
6992 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6996 PyObject
*swig_obj
[1] ;
6998 if (!args
) SWIG_fail
;
7000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7001 if (!SWIG_IsOK(res1
)) {
7002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7004 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7006 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_From_int(static_cast< int >(result
));
7016 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7017 PyObject
*resultobj
= 0;
7018 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7022 PyObject
*swig_obj
[1] ;
7024 if (!args
) SWIG_fail
;
7026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7027 if (!SWIG_IsOK(res1
)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7030 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7032 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7042 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7043 PyObject
*resultobj
= 0;
7044 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7048 PyObject
*swig_obj
[1] ;
7050 if (!args
) SWIG_fail
;
7052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7053 if (!SWIG_IsOK(res1
)) {
7054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7056 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7058 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= SWIG_From_int(static_cast< int >(result
));
7068 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7071 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7072 return SWIG_Py_Void();
7075 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7076 PyObject
*resultobj
= 0;
7077 wxBitmap
*arg1
= 0 ;
7078 wxNativePixelData
*result
= 0 ;
7082 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7084 if (!SWIG_IsOK(res1
)) {
7085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7090 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7092 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7102 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7103 PyObject
*resultobj
= 0;
7104 wxBitmap
*arg1
= 0 ;
7106 wxNativePixelData
*result
= 0 ;
7111 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7113 if (!SWIG_IsOK(res1
)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7119 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7122 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7125 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7135 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7136 PyObject
*resultobj
= 0;
7137 wxBitmap
*arg1
= 0 ;
7140 wxNativePixelData
*result
= 0 ;
7146 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7148 if (!SWIG_IsOK(res1
)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7154 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7157 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7161 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7164 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7174 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7178 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7181 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7184 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7187 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7191 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7196 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 PyObject
*resultobj
= 0;
7198 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7201 PyObject
*swig_obj
[1] ;
7203 if (!args
) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7209 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_Py_Void();
7222 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7223 PyObject
*resultobj
= 0;
7224 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7225 wxNativePixelData_Accessor result
;
7228 PyObject
*swig_obj
[1] ;
7230 if (!args
) SWIG_fail
;
7232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7233 if (!SWIG_IsOK(res1
)) {
7234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7236 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7238 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7248 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7249 PyObject
*resultobj
= 0;
7250 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7253 PyObject
*swig_obj
[1] ;
7255 if (!args
) SWIG_fail
;
7257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7258 if (!SWIG_IsOK(res1
)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7261 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_Py_Void();
7273 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7274 PyObject
*resultobj
= 0;
7275 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7279 PyObject
*swig_obj
[1] ;
7281 if (!args
) SWIG_fail
;
7283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7284 if (!SWIG_IsOK(res1
)) {
7285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7287 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7289 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7301 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7304 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7305 return SWIG_Py_Void();
7308 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7309 return SWIG_Python_InitShadowInstance(args
);
7312 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7313 PyObject
*resultobj
= 0;
7314 wxNativePixelData
*arg1
= 0 ;
7315 wxNativePixelData_Accessor
*result
= 0 ;
7319 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7327 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7329 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7339 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7340 PyObject
*resultobj
= 0;
7341 wxBitmap
*arg1
= 0 ;
7342 wxNativePixelData
*arg2
= 0 ;
7343 wxNativePixelData_Accessor
*result
= 0 ;
7349 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7351 if (!SWIG_IsOK(res1
)) {
7352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7357 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7358 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7359 if (!SWIG_IsOK(res2
)) {
7360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7365 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7367 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7377 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7378 PyObject
*resultobj
= 0;
7379 wxNativePixelData_Accessor
*result
= 0 ;
7381 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7383 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7393 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7397 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7400 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7403 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7406 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7410 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7415 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7416 PyObject
*resultobj
= 0;
7417 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7420 PyObject
*swig_obj
[1] ;
7422 if (!args
) SWIG_fail
;
7424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7425 if (!SWIG_IsOK(res1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7428 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= SWIG_Py_Void();
7441 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
= 0;
7443 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7444 wxNativePixelData
*arg2
= 0 ;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7451 char * kwnames
[] = {
7452 (char *) "self",(char *) "data", NULL
7455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7460 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7462 if (!SWIG_IsOK(res2
)) {
7463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7468 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7470 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 resultobj
= SWIG_Py_Void();
7480 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7481 PyObject
*resultobj
= 0;
7482 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7486 PyObject
*swig_obj
[1] ;
7488 if (!args
) SWIG_fail
;
7490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7491 if (!SWIG_IsOK(res1
)) {
7492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7494 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7496 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7497 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7508 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7509 PyObject
*resultobj
= 0;
7510 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7513 PyObject
*swig_obj
[1] ;
7515 if (!args
) SWIG_fail
;
7517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7518 if (!SWIG_IsOK(res1
)) {
7519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7521 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7523 wxNativePixelData_Accessor_nextPixel(arg1
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= SWIG_Py_Void();
7533 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
= 0;
7535 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7536 wxNativePixelData
*arg2
= 0 ;
7547 PyObject
* obj0
= 0 ;
7548 PyObject
* obj1
= 0 ;
7549 PyObject
* obj2
= 0 ;
7550 PyObject
* obj3
= 0 ;
7551 char * kwnames
[] = {
7552 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7557 if (!SWIG_IsOK(res1
)) {
7558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7560 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7562 if (!SWIG_IsOK(res2
)) {
7563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7568 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7570 if (!SWIG_IsOK(ecode3
)) {
7571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7573 arg3
= static_cast< int >(val3
);
7574 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7575 if (!SWIG_IsOK(ecode4
)) {
7576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7578 arg4
= static_cast< int >(val4
);
7580 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= SWIG_Py_Void();
7590 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
= 0;
7592 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7593 wxNativePixelData
*arg2
= 0 ;
7601 PyObject
* obj0
= 0 ;
7602 PyObject
* obj1
= 0 ;
7603 PyObject
* obj2
= 0 ;
7604 char * kwnames
[] = {
7605 (char *) "self",(char *) "data",(char *) "x", NULL
7608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7610 if (!SWIG_IsOK(res1
)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7613 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7615 if (!SWIG_IsOK(res2
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7621 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7623 if (!SWIG_IsOK(ecode3
)) {
7624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7626 arg3
= static_cast< int >(val3
);
7628 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 resultobj
= SWIG_Py_Void();
7638 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
= 0;
7640 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7641 wxNativePixelData
*arg2
= 0 ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7651 PyObject
* obj2
= 0 ;
7652 char * kwnames
[] = {
7653 (char *) "self",(char *) "data",(char *) "y", NULL
7656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7661 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7663 if (!SWIG_IsOK(res2
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7669 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7671 if (!SWIG_IsOK(ecode3
)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7674 arg3
= static_cast< int >(val3
);
7676 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_Py_Void();
7686 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
= 0;
7688 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7689 wxNativePixelData
*arg2
= 0 ;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7702 PyObject
* obj2
= 0 ;
7703 PyObject
* obj3
= 0 ;
7704 char * kwnames
[] = {
7705 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7710 if (!SWIG_IsOK(res1
)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7713 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7715 if (!SWIG_IsOK(res2
)) {
7716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7721 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7723 if (!SWIG_IsOK(ecode3
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7726 arg3
= static_cast< int >(val3
);
7727 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7728 if (!SWIG_IsOK(ecode4
)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7731 arg4
= static_cast< int >(val4
);
7733 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_Py_Void();
7743 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
= 0;
7745 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7751 unsigned char val2
;
7753 unsigned char val3
;
7755 unsigned char val4
;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7759 PyObject
* obj2
= 0 ;
7760 PyObject
* obj3
= 0 ;
7761 char * kwnames
[] = {
7762 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7767 if (!SWIG_IsOK(res1
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7770 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7771 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7772 if (!SWIG_IsOK(ecode2
)) {
7773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7775 arg2
= static_cast< byte
>(val2
);
7776 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7777 if (!SWIG_IsOK(ecode3
)) {
7778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7780 arg3
= static_cast< byte
>(val3
);
7781 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7782 if (!SWIG_IsOK(ecode4
)) {
7783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7785 arg4
= static_cast< byte
>(val4
);
7787 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_Py_Void();
7797 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7798 PyObject
*resultobj
= 0;
7799 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7800 PyObject
*result
= 0 ;
7803 PyObject
*swig_obj
[1] ;
7805 if (!args
) SWIG_fail
;
7807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7808 if (!SWIG_IsOK(res1
)) {
7809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7811 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7813 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7823 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7826 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7827 return SWIG_Py_Void();
7830 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7831 return SWIG_Python_InitShadowInstance(args
);
7834 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7835 PyObject
*resultobj
= 0;
7836 wxBitmap
*arg1
= 0 ;
7837 wxAlphaPixelData
*result
= 0 ;
7841 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7843 if (!SWIG_IsOK(res1
)) {
7844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7849 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7851 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7861 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7862 PyObject
*resultobj
= 0;
7863 wxBitmap
*arg1
= 0 ;
7865 wxAlphaPixelData
*result
= 0 ;
7870 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7872 if (!SWIG_IsOK(res1
)) {
7873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7878 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7881 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7884 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7894 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7895 PyObject
*resultobj
= 0;
7896 wxBitmap
*arg1
= 0 ;
7899 wxAlphaPixelData
*result
= 0 ;
7905 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7907 if (!SWIG_IsOK(res1
)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7913 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7916 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7920 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7923 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7933 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7937 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7940 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7943 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7946 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7950 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7955 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7956 PyObject
*resultobj
= 0;
7957 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7960 PyObject
*swig_obj
[1] ;
7962 if (!args
) SWIG_fail
;
7964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7965 if (!SWIG_IsOK(res1
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7968 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_Py_Void();
7981 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7982 PyObject
*resultobj
= 0;
7983 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7984 wxAlphaPixelData_Accessor result
;
7987 PyObject
*swig_obj
[1] ;
7989 if (!args
) SWIG_fail
;
7991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7992 if (!SWIG_IsOK(res1
)) {
7993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7995 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7997 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8007 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8008 PyObject
*resultobj
= 0;
8009 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8012 PyObject
*swig_obj
[1] ;
8014 if (!args
) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8020 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_Py_Void();
8032 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 PyObject
*resultobj
= 0;
8034 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8038 PyObject
*swig_obj
[1] ;
8040 if (!args
) SWIG_fail
;
8042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8043 if (!SWIG_IsOK(res1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8046 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8048 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8060 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8063 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8064 return SWIG_Py_Void();
8067 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8068 return SWIG_Python_InitShadowInstance(args
);
8071 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8072 PyObject
*resultobj
= 0;
8073 wxAlphaPixelData
*arg1
= 0 ;
8074 wxAlphaPixelData_Accessor
*result
= 0 ;
8078 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8080 if (!SWIG_IsOK(res1
)) {
8081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8086 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8088 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8098 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8099 PyObject
*resultobj
= 0;
8100 wxBitmap
*arg1
= 0 ;
8101 wxAlphaPixelData
*arg2
= 0 ;
8102 wxAlphaPixelData_Accessor
*result
= 0 ;
8108 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8110 if (!SWIG_IsOK(res1
)) {
8111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8116 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8117 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8118 if (!SWIG_IsOK(res2
)) {
8119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8124 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8126 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8136 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8137 PyObject
*resultobj
= 0;
8138 wxAlphaPixelData_Accessor
*result
= 0 ;
8140 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8142 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8152 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8156 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8159 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8162 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8165 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8169 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8174 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8175 PyObject
*resultobj
= 0;
8176 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8179 PyObject
*swig_obj
[1] ;
8181 if (!args
) SWIG_fail
;
8183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8184 if (!SWIG_IsOK(res1
)) {
8185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8187 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_Py_Void();
8200 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
= 0;
8202 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8203 wxAlphaPixelData
*arg2
= 0 ;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8210 char * kwnames
[] = {
8211 (char *) "self",(char *) "data", NULL
8214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8216 if (!SWIG_IsOK(res1
)) {
8217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8219 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8221 if (!SWIG_IsOK(res2
)) {
8222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8227 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8229 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_Py_Void();
8239 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8240 PyObject
*resultobj
= 0;
8241 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8245 PyObject
*swig_obj
[1] ;
8247 if (!args
) SWIG_fail
;
8249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8250 if (!SWIG_IsOK(res1
)) {
8251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8253 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8255 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8256 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8267 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8268 PyObject
*resultobj
= 0;
8269 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8272 PyObject
*swig_obj
[1] ;
8274 if (!args
) SWIG_fail
;
8276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8277 if (!SWIG_IsOK(res1
)) {
8278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8280 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8282 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_Py_Void();
8292 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
= 0;
8294 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8295 wxAlphaPixelData
*arg2
= 0 ;
8306 PyObject
* obj0
= 0 ;
8307 PyObject
* obj1
= 0 ;
8308 PyObject
* obj2
= 0 ;
8309 PyObject
* obj3
= 0 ;
8310 char * kwnames
[] = {
8311 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8316 if (!SWIG_IsOK(res1
)) {
8317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8319 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8321 if (!SWIG_IsOK(res2
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8327 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8329 if (!SWIG_IsOK(ecode3
)) {
8330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8332 arg3
= static_cast< int >(val3
);
8333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8334 if (!SWIG_IsOK(ecode4
)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8337 arg4
= static_cast< int >(val4
);
8339 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= SWIG_Py_Void();
8349 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
= 0;
8351 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8352 wxAlphaPixelData
*arg2
= 0 ;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8362 PyObject
* obj2
= 0 ;
8363 char * kwnames
[] = {
8364 (char *) "self",(char *) "data",(char *) "x", NULL
8367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8369 if (!SWIG_IsOK(res1
)) {
8370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8372 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8374 if (!SWIG_IsOK(res2
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8380 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8382 if (!SWIG_IsOK(ecode3
)) {
8383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8385 arg3
= static_cast< int >(val3
);
8387 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= SWIG_Py_Void();
8397 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
= 0;
8399 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8400 wxAlphaPixelData
*arg2
= 0 ;
8408 PyObject
* obj0
= 0 ;
8409 PyObject
* obj1
= 0 ;
8410 PyObject
* obj2
= 0 ;
8411 char * kwnames
[] = {
8412 (char *) "self",(char *) "data",(char *) "y", NULL
8415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8417 if (!SWIG_IsOK(res1
)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8420 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8422 if (!SWIG_IsOK(res2
)) {
8423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8428 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8430 if (!SWIG_IsOK(ecode3
)) {
8431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8433 arg3
= static_cast< int >(val3
);
8435 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= SWIG_Py_Void();
8445 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
= 0;
8447 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8448 wxAlphaPixelData
*arg2
= 0 ;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8461 PyObject
* obj2
= 0 ;
8462 PyObject
* obj3
= 0 ;
8463 char * kwnames
[] = {
8464 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8469 if (!SWIG_IsOK(res1
)) {
8470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8472 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8474 if (!SWIG_IsOK(res2
)) {
8475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8480 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8482 if (!SWIG_IsOK(ecode3
)) {
8483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8485 arg3
= static_cast< int >(val3
);
8486 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8487 if (!SWIG_IsOK(ecode4
)) {
8488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8490 arg4
= static_cast< int >(val4
);
8492 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_Py_Void();
8502 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
= 0;
8504 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8511 unsigned char val2
;
8513 unsigned char val3
;
8515 unsigned char val4
;
8517 unsigned char val5
;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8521 PyObject
* obj2
= 0 ;
8522 PyObject
* obj3
= 0 ;
8523 PyObject
* obj4
= 0 ;
8524 char * kwnames
[] = {
8525 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8530 if (!SWIG_IsOK(res1
)) {
8531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8533 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8534 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8535 if (!SWIG_IsOK(ecode2
)) {
8536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8538 arg2
= static_cast< byte
>(val2
);
8539 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8540 if (!SWIG_IsOK(ecode3
)) {
8541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8543 arg3
= static_cast< byte
>(val3
);
8544 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8545 if (!SWIG_IsOK(ecode4
)) {
8546 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8548 arg4
= static_cast< byte
>(val4
);
8549 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8550 if (!SWIG_IsOK(ecode5
)) {
8551 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8553 arg5
= static_cast< byte
>(val5
);
8555 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 resultobj
= SWIG_Py_Void();
8565 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8566 PyObject
*resultobj
= 0;
8567 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8568 PyObject
*result
= 0 ;
8571 PyObject
*swig_obj
[1] ;
8573 if (!args
) SWIG_fail
;
8575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8576 if (!SWIG_IsOK(res1
)) {
8577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8579 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8581 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8591 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8594 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8595 return SWIG_Py_Void();
8598 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8599 return SWIG_Python_InitShadowInstance(args
);
8602 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
= 0;
8604 wxBitmap
*arg1
= 0 ;
8605 wxColour
const &arg2_defvalue
= wxNullColour
;
8606 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8607 wxMask
*result
= 0 ;
8611 PyObject
* obj0
= 0 ;
8612 PyObject
* obj1
= 0 ;
8613 char * kwnames
[] = {
8614 (char *) "bitmap",(char *) "colour", NULL
8617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8625 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8629 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8633 if (!wxPyCheckForApp()) SWIG_fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8646 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8647 PyObject
*resultobj
= 0;
8648 wxMask
*arg1
= (wxMask
*) 0 ;
8651 PyObject
*swig_obj
[1] ;
8653 if (!args
) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8659 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= SWIG_Py_Void();
8672 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8675 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8676 return SWIG_Py_Void();
8679 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8680 return SWIG_Python_InitShadowInstance(args
);
8683 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
= 0;
8685 wxString
*arg1
= 0 ;
8687 int arg3
= (int) -1 ;
8688 int arg4
= (int) -1 ;
8689 wxIcon
*result
= 0 ;
8690 bool temp1
= false ;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8699 PyObject
* obj2
= 0 ;
8700 PyObject
* obj3
= 0 ;
8701 char * kwnames
[] = {
8702 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8707 arg1
= wxString_in_helper(obj0
);
8708 if (arg1
== NULL
) SWIG_fail
;
8711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8712 if (!SWIG_IsOK(ecode2
)) {
8713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8715 arg2
= static_cast< wxBitmapType
>(val2
);
8717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8718 if (!SWIG_IsOK(ecode3
)) {
8719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8721 arg3
= static_cast< int >(val3
);
8724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8725 if (!SWIG_IsOK(ecode4
)) {
8726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8728 arg4
= static_cast< int >(val4
);
8731 if (!wxPyCheckForApp()) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8752 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8753 PyObject
*resultobj
= 0;
8754 wxIcon
*arg1
= (wxIcon
*) 0 ;
8757 PyObject
*swig_obj
[1] ;
8759 if (!args
) SWIG_fail
;
8761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8762 if (!SWIG_IsOK(res1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8765 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_Py_Void();
8780 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8781 PyObject
*resultobj
= 0;
8782 wxIcon
*result
= 0 ;
8784 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8786 if (!wxPyCheckForApp()) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (wxIcon
*)new wxIcon();
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8799 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
= 0;
8801 wxIconLocation
*arg1
= 0 ;
8802 wxIcon
*result
= 0 ;
8805 PyObject
* obj0
= 0 ;
8806 char * kwnames
[] = {
8807 (char *) "loc", NULL
8810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8811 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8812 if (!SWIG_IsOK(res1
)) {
8813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8818 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8820 if (!wxPyCheckForApp()) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8833 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
= 0;
8835 wxBitmap
*arg1
= 0 ;
8836 wxIcon
*result
= 0 ;
8839 PyObject
* obj0
= 0 ;
8840 char * kwnames
[] = {
8841 (char *) "bmp", NULL
8844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8845 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8846 if (!SWIG_IsOK(res1
)) {
8847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8852 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8854 if (!wxPyCheckForApp()) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8867 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
= 0;
8869 PyObject
*arg1
= (PyObject
*) 0 ;
8870 wxIcon
*result
= 0 ;
8871 PyObject
* obj0
= 0 ;
8872 char * kwnames
[] = {
8873 (char *) "listOfStrings", NULL
8876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8879 if (!wxPyCheckForApp()) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= (wxIcon
*)new_wxIcon(arg1
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8892 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
= 0;
8894 wxIcon
*arg1
= (wxIcon
*) 0 ;
8895 wxString
*arg2
= 0 ;
8900 bool temp2
= false ;
8903 PyObject
* obj0
= 0 ;
8904 PyObject
* obj1
= 0 ;
8905 PyObject
* obj2
= 0 ;
8906 char * kwnames
[] = {
8907 (char *) "self",(char *) "name",(char *) "type", NULL
8910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8912 if (!SWIG_IsOK(res1
)) {
8913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8915 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8917 arg2
= wxString_in_helper(obj1
);
8918 if (arg2
== NULL
) SWIG_fail
;
8921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8922 if (!SWIG_IsOK(ecode3
)) {
8923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8925 arg3
= static_cast< wxBitmapType
>(val3
);
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8949 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8950 PyObject
*resultobj
= 0;
8951 wxIcon
*arg1
= (wxIcon
*) 0 ;
8955 PyObject
*swig_obj
[1] ;
8957 if (!args
) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
8963 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (bool)(arg1
)->IsOk();
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8979 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8980 PyObject
*resultobj
= 0;
8981 wxIcon
*arg1
= (wxIcon
*) 0 ;
8985 PyObject
*swig_obj
[1] ;
8987 if (!args
) SWIG_fail
;
8989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8990 if (!SWIG_IsOK(res1
)) {
8991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8993 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (int)(arg1
)->GetWidth();
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= SWIG_From_int(static_cast< int >(result
));
9007 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9008 PyObject
*resultobj
= 0;
9009 wxIcon
*arg1
= (wxIcon
*) 0 ;
9013 PyObject
*swig_obj
[1] ;
9015 if (!args
) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9021 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (int)(arg1
)->GetHeight();
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= SWIG_From_int(static_cast< int >(result
));
9035 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9036 PyObject
*resultobj
= 0;
9037 wxIcon
*arg1
= (wxIcon
*) 0 ;
9041 PyObject
*swig_obj
[1] ;
9043 if (!args
) SWIG_fail
;
9045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9046 if (!SWIG_IsOK(res1
)) {
9047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9049 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= (int)(arg1
)->GetDepth();
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= SWIG_From_int(static_cast< int >(result
));
9063 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
= 0;
9065 wxIcon
*arg1
= (wxIcon
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 char * kwnames
[] = {
9074 (char *) "self",(char *) "w", NULL
9077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9079 if (!SWIG_IsOK(res1
)) {
9080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9082 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9084 if (!SWIG_IsOK(ecode2
)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9087 arg2
= static_cast< int >(val2
);
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 (arg1
)->SetWidth(arg2
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= SWIG_Py_Void();
9101 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
= 0;
9103 wxIcon
*arg1
= (wxIcon
*) 0 ;
9109 PyObject
* obj0
= 0 ;
9110 PyObject
* obj1
= 0 ;
9111 char * kwnames
[] = {
9112 (char *) "self",(char *) "h", NULL
9115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9120 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9122 if (!SWIG_IsOK(ecode2
)) {
9123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9125 arg2
= static_cast< int >(val2
);
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 (arg1
)->SetHeight(arg2
);
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 resultobj
= SWIG_Py_Void();
9139 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
= 0;
9141 wxIcon
*arg1
= (wxIcon
*) 0 ;
9147 PyObject
* obj0
= 0 ;
9148 PyObject
* obj1
= 0 ;
9149 char * kwnames
[] = {
9150 (char *) "self",(char *) "d", NULL
9153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9155 if (!SWIG_IsOK(res1
)) {
9156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9158 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9160 if (!SWIG_IsOK(ecode2
)) {
9161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9163 arg2
= static_cast< int >(val2
);
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 (arg1
)->SetDepth(arg2
);
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= SWIG_Py_Void();
9177 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
= 0;
9179 wxIcon
*arg1
= (wxIcon
*) 0 ;
9180 wxBitmap
*arg2
= 0 ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9187 char * kwnames
[] = {
9188 (char *) "self",(char *) "bmp", NULL
9191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9193 if (!SWIG_IsOK(res1
)) {
9194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9196 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9198 if (!SWIG_IsOK(res2
)) {
9199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9204 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_Py_Void();
9218 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9221 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9222 return SWIG_Py_Void();
9225 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9226 return SWIG_Python_InitShadowInstance(args
);
9229 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
= 0;
9231 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9232 int arg2
= (int) 0 ;
9233 wxIconLocation
*result
= 0 ;
9234 bool temp1
= false ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 char * kwnames
[] = {
9240 (char *) "filename",(char *) "num", NULL
9243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9246 arg1
= wxString_in_helper(obj0
);
9247 if (arg1
== NULL
) SWIG_fail
;
9252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9253 if (!SWIG_IsOK(ecode2
)) {
9254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9256 arg2
= static_cast< int >(val2
);
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9279 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9280 PyObject
*resultobj
= 0;
9281 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9284 PyObject
*swig_obj
[1] ;
9286 if (!args
) SWIG_fail
;
9288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9289 if (!SWIG_IsOK(res1
)) {
9290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9292 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= SWIG_Py_Void();
9307 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9308 PyObject
*resultobj
= 0;
9309 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9313 PyObject
*swig_obj
[1] ;
9315 if (!args
) SWIG_fail
;
9317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9318 if (!SWIG_IsOK(res1
)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9321 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9337 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
= 0;
9339 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9340 wxString
*arg2
= 0 ;
9343 bool temp2
= false ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 char * kwnames
[] = {
9347 (char *) "self",(char *) "filename", NULL
9350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9355 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9357 arg2
= wxString_in_helper(obj1
);
9358 if (arg2
== NULL
) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 (arg1
)->SetFileName((wxString
const &)*arg2
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= SWIG_Py_Void();
9382 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9383 PyObject
*resultobj
= 0;
9384 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9385 wxString
*result
= 0 ;
9388 PyObject
*swig_obj
[1] ;
9390 if (!args
) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9396 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9401 result
= (wxString
*) &_result_ref
;
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9410 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9419 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "self",(char *) "num", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9438 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9440 if (!SWIG_IsOK(ecode2
)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9443 arg2
= static_cast< int >(val2
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 wxIconLocation_SetIndex(arg1
,arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_Py_Void();
9457 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9458 PyObject
*resultobj
= 0;
9459 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9463 PyObject
*swig_obj
[1] ;
9465 if (!args
) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9471 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (int)wxIconLocation_GetIndex(arg1
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_From_int(static_cast< int >(result
));
9485 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9488 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9489 return SWIG_Py_Void();
9492 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9493 return SWIG_Python_InitShadowInstance(args
);
9496 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9497 PyObject
*resultobj
= 0;
9498 wxIconBundle
*result
= 0 ;
9500 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= (wxIconBundle
*)new wxIconBundle();
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9514 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
= 0;
9516 wxString
*arg1
= 0 ;
9518 wxIconBundle
*result
= 0 ;
9519 bool temp1
= false ;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9524 char * kwnames
[] = {
9525 (char *) "file",(char *) "type", NULL
9528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9530 arg1
= wxString_in_helper(obj0
);
9531 if (arg1
== NULL
) SWIG_fail
;
9534 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9535 if (!SWIG_IsOK(ecode2
)) {
9536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9538 arg2
= static_cast< long >(val2
);
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9560 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
= 0;
9563 wxIconBundle
*result
= 0 ;
9566 PyObject
* obj0
= 0 ;
9567 char * kwnames
[] = {
9568 (char *) "icon", NULL
9571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9572 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9573 if (!SWIG_IsOK(res1
)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9579 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9593 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9594 PyObject
*resultobj
= 0;
9595 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9598 PyObject
*swig_obj
[1] ;
9600 if (!args
) SWIG_fail
;
9602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9603 if (!SWIG_IsOK(res1
)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9606 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_Py_Void();
9621 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
= 0;
9623 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9631 char * kwnames
[] = {
9632 (char *) "self",(char *) "icon", NULL
9635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9637 if (!SWIG_IsOK(res1
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9640 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9642 if (!SWIG_IsOK(res2
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9648 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_Py_Void();
9662 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
= 0;
9664 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9665 wxString
*arg2
= 0 ;
9669 bool temp2
= false ;
9672 PyObject
* obj0
= 0 ;
9673 PyObject
* obj1
= 0 ;
9674 PyObject
* obj2
= 0 ;
9675 char * kwnames
[] = {
9676 (char *) "self",(char *) "file",(char *) "type", NULL
9679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9681 if (!SWIG_IsOK(res1
)) {
9682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9684 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9686 arg2
= wxString_in_helper(obj1
);
9687 if (arg2
== NULL
) SWIG_fail
;
9690 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9691 if (!SWIG_IsOK(ecode3
)) {
9692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9694 arg3
= static_cast< long >(val3
);
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_Py_Void();
9716 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
= 0;
9718 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9720 wxIcon
*result
= 0 ;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9726 char * kwnames
[] = {
9727 (char *) "self",(char *) "size", NULL
9730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9732 if (!SWIG_IsOK(res1
)) {
9733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9735 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9738 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9744 result
= (wxIcon
*) &_result_ref
;
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9750 wxIcon
* resultptr
= new wxIcon(*result
);
9751 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9759 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9762 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9763 return SWIG_Py_Void();
9766 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9767 return SWIG_Python_InitShadowInstance(args
);
9770 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
= 0;
9772 wxString
*arg1
= 0 ;
9774 int arg3
= (int) 0 ;
9775 int arg4
= (int) 0 ;
9776 wxCursor
*result
= 0 ;
9777 bool temp1
= false ;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9786 PyObject
* obj2
= 0 ;
9787 PyObject
* obj3
= 0 ;
9788 char * kwnames
[] = {
9789 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9794 arg1
= wxString_in_helper(obj0
);
9795 if (arg1
== NULL
) SWIG_fail
;
9798 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9799 if (!SWIG_IsOK(ecode2
)) {
9800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9802 arg2
= static_cast< long >(val2
);
9804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9805 if (!SWIG_IsOK(ecode3
)) {
9806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9808 arg3
= static_cast< int >(val3
);
9811 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9812 if (!SWIG_IsOK(ecode4
)) {
9813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9815 arg4
= static_cast< int >(val4
);
9818 if (!wxPyCheckForApp()) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9839 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9840 PyObject
*resultobj
= 0;
9841 wxCursor
*arg1
= (wxCursor
*) 0 ;
9844 PyObject
*swig_obj
[1] ;
9846 if (!args
) SWIG_fail
;
9848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9849 if (!SWIG_IsOK(res1
)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9852 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= SWIG_Py_Void();
9867 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
= 0;
9870 wxCursor
*result
= 0 ;
9873 PyObject
* obj0
= 0 ;
9874 char * kwnames
[] = {
9878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9879 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9880 if (!SWIG_IsOK(ecode1
)) {
9881 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9883 arg1
= static_cast< int >(val1
);
9885 if (!wxPyCheckForApp()) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (wxCursor
*)new wxCursor(arg1
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9898 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
= 0;
9901 wxCursor
*result
= 0 ;
9904 PyObject
* obj0
= 0 ;
9905 char * kwnames
[] = {
9906 (char *) "image", NULL
9909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9910 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9911 if (!SWIG_IsOK(res1
)) {
9912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9917 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9919 if (!wxPyCheckForApp()) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9932 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9933 PyObject
*resultobj
= 0;
9934 wxCursor
*arg1
= (wxCursor
*) 0 ;
9938 PyObject
*swig_obj
[1] ;
9940 if (!args
) SWIG_fail
;
9942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9943 if (!SWIG_IsOK(res1
)) {
9944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
9946 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (bool)(arg1
)->IsOk();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9962 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9965 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9966 return SWIG_Py_Void();
9969 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9970 return SWIG_Python_InitShadowInstance(args
);
9973 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
= 0;
9975 int arg1
= (int) 0 ;
9976 int arg2
= (int) 0 ;
9977 int arg3
= (int) 0 ;
9978 int arg4
= (int) 0 ;
9979 wxRegion
*result
= 0 ;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9990 PyObject
* obj2
= 0 ;
9991 PyObject
* obj3
= 0 ;
9992 char * kwnames
[] = {
9993 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9998 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9999 if (!SWIG_IsOK(ecode1
)) {
10000 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10002 arg1
= static_cast< int >(val1
);
10005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10006 if (!SWIG_IsOK(ecode2
)) {
10007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10009 arg2
= static_cast< int >(val2
);
10012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10013 if (!SWIG_IsOK(ecode3
)) {
10014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10016 arg3
= static_cast< int >(val3
);
10019 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10020 if (!SWIG_IsOK(ecode4
)) {
10021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10023 arg4
= static_cast< int >(val4
);
10026 if (!wxPyCheckForApp()) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10039 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
= 0;
10041 wxBitmap
*arg1
= 0 ;
10042 wxRegion
*result
= 0 ;
10045 PyObject
* obj0
= 0 ;
10046 char * kwnames
[] = {
10047 (char *) "bmp", NULL
10050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10051 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10052 if (!SWIG_IsOK(res1
)) {
10053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10058 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10060 if (!wxPyCheckForApp()) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10073 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
= 0;
10075 wxBitmap
*arg1
= 0 ;
10076 wxColour
*arg2
= 0 ;
10077 int arg3
= (int) 0 ;
10078 wxRegion
*result
= 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 PyObject
* obj2
= 0 ;
10087 char * kwnames
[] = {
10088 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10092 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10093 if (!SWIG_IsOK(res1
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10099 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10102 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10106 if (!SWIG_IsOK(ecode3
)) {
10107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10109 arg3
= static_cast< int >(val3
);
10112 if (!wxPyCheckForApp()) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10125 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
= 0;
10128 wxPoint
*arg2
= (wxPoint
*) 0 ;
10129 int arg3
= (int) wxWINDING_RULE
;
10130 wxRegion
*result
= 0 ;
10133 PyObject
* obj0
= 0 ;
10134 PyObject
* obj1
= 0 ;
10135 char * kwnames
[] = {
10136 (char *) "points",(char *) "fillStyle", NULL
10139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10141 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10142 if (arg2
== NULL
) SWIG_fail
;
10145 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10146 if (!SWIG_IsOK(ecode3
)) {
10147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10149 arg3
= static_cast< int >(val3
);
10152 if (!wxPyCheckForApp()) SWIG_fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10160 if (arg2
) delete [] arg2
;
10165 if (arg2
) delete [] arg2
;
10171 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10172 PyObject
*resultobj
= 0;
10173 wxRegion
*arg1
= (wxRegion
*) 0 ;
10176 PyObject
*swig_obj
[1] ;
10178 if (!args
) SWIG_fail
;
10179 swig_obj
[0] = args
;
10180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10181 if (!SWIG_IsOK(res1
)) {
10182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10184 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= SWIG_Py_Void();
10199 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10200 PyObject
*resultobj
= 0;
10201 wxRegion
*arg1
= (wxRegion
*) 0 ;
10204 PyObject
*swig_obj
[1] ;
10206 if (!args
) SWIG_fail
;
10207 swig_obj
[0] = args
;
10208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10209 if (!SWIG_IsOK(res1
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10212 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= SWIG_Py_Void();
10226 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
= 0;
10228 wxRegion
*arg1
= (wxRegion
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 PyObject
* obj2
= 0 ;
10241 char * kwnames
[] = {
10242 (char *) "self",(char *) "x",(char *) "y", NULL
10245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10247 if (!SWIG_IsOK(res1
)) {
10248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10250 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10252 if (!SWIG_IsOK(ecode2
)) {
10253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10255 arg2
= static_cast< int >(val2
);
10256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10257 if (!SWIG_IsOK(ecode3
)) {
10258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10260 arg3
= static_cast< int >(val3
);
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10276 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
= 0;
10278 wxRegion
*arg1
= (wxRegion
*) 0 ;
10281 wxRegionContain result
;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 PyObject
* obj2
= 0 ;
10291 char * kwnames
[] = {
10292 (char *) "self",(char *) "x",(char *) "y", NULL
10295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10297 if (!SWIG_IsOK(res1
)) {
10298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10300 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10302 if (!SWIG_IsOK(ecode2
)) {
10303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10305 arg2
= static_cast< int >(val2
);
10306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10307 if (!SWIG_IsOK(ecode3
)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10310 arg3
= static_cast< int >(val3
);
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_From_int(static_cast< int >(result
));
10324 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
= 0;
10326 wxRegion
*arg1
= (wxRegion
*) 0 ;
10327 wxPoint
*arg2
= 0 ;
10328 wxRegionContain result
;
10332 PyObject
* obj0
= 0 ;
10333 PyObject
* obj1
= 0 ;
10334 char * kwnames
[] = {
10335 (char *) "self",(char *) "pt", NULL
10338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10340 if (!SWIG_IsOK(res1
)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10343 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= SWIG_From_int(static_cast< int >(result
));
10361 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
= 0;
10363 wxRegion
*arg1
= (wxRegion
*) 0 ;
10365 wxRegionContain result
;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 char * kwnames
[] = {
10372 (char *) "self",(char *) "rect", NULL
10375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10377 if (!SWIG_IsOK(res1
)) {
10378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10380 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10383 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= SWIG_From_int(static_cast< int >(result
));
10398 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
= 0;
10400 wxRegion
*arg1
= (wxRegion
*) 0 ;
10405 wxRegionContain result
;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 PyObject
* obj2
= 0 ;
10419 PyObject
* obj3
= 0 ;
10420 PyObject
* obj4
= 0 ;
10421 char * kwnames
[] = {
10422 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10427 if (!SWIG_IsOK(res1
)) {
10428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10430 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10432 if (!SWIG_IsOK(ecode2
)) {
10433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10435 arg2
= static_cast< int >(val2
);
10436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10437 if (!SWIG_IsOK(ecode3
)) {
10438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10440 arg3
= static_cast< int >(val3
);
10441 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10442 if (!SWIG_IsOK(ecode4
)) {
10443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10445 arg4
= static_cast< int >(val4
);
10446 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10447 if (!SWIG_IsOK(ecode5
)) {
10448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10450 arg5
= static_cast< int >(val5
);
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_From_int(static_cast< int >(result
));
10464 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10465 PyObject
*resultobj
= 0;
10466 wxRegion
*arg1
= (wxRegion
*) 0 ;
10470 PyObject
*swig_obj
[1] ;
10472 if (!args
) SWIG_fail
;
10473 swig_obj
[0] = args
;
10474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10475 if (!SWIG_IsOK(res1
)) {
10476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10478 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (arg1
)->GetBox();
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10492 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
= 0;
10494 wxRegion
*arg1
= (wxRegion
*) 0 ;
10510 PyObject
* obj0
= 0 ;
10511 PyObject
* obj1
= 0 ;
10512 PyObject
* obj2
= 0 ;
10513 PyObject
* obj3
= 0 ;
10514 PyObject
* obj4
= 0 ;
10515 char * kwnames
[] = {
10516 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10521 if (!SWIG_IsOK(res1
)) {
10522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10524 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10526 if (!SWIG_IsOK(ecode2
)) {
10527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10529 arg2
= static_cast< int >(val2
);
10530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10531 if (!SWIG_IsOK(ecode3
)) {
10532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10534 arg3
= static_cast< int >(val3
);
10535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10536 if (!SWIG_IsOK(ecode4
)) {
10537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10539 arg4
= static_cast< int >(val4
);
10540 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10541 if (!SWIG_IsOK(ecode5
)) {
10542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10544 arg5
= static_cast< int >(val5
);
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10560 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
= 0;
10562 wxRegion
*arg1
= (wxRegion
*) 0 ;
10568 PyObject
* obj0
= 0 ;
10569 PyObject
* obj1
= 0 ;
10570 char * kwnames
[] = {
10571 (char *) "self",(char *) "rect", NULL
10574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10576 if (!SWIG_IsOK(res1
)) {
10577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10579 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10582 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10599 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
= 0;
10601 wxRegion
*arg1
= (wxRegion
*) 0 ;
10602 wxRegion
*arg2
= 0 ;
10608 PyObject
* obj0
= 0 ;
10609 PyObject
* obj1
= 0 ;
10610 char * kwnames
[] = {
10611 (char *) "self",(char *) "region", NULL
10614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10616 if (!SWIG_IsOK(res1
)) {
10617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10619 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10621 if (!SWIG_IsOK(res2
)) {
10622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10627 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10643 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10644 PyObject
*resultobj
= 0;
10645 wxRegion
*arg1
= (wxRegion
*) 0 ;
10649 PyObject
*swig_obj
[1] ;
10651 if (!args
) SWIG_fail
;
10652 swig_obj
[0] = args
;
10653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10654 if (!SWIG_IsOK(res1
)) {
10655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10657 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (bool)(arg1
)->IsEmpty();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10673 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
= 0;
10675 wxRegion
*arg1
= (wxRegion
*) 0 ;
10676 wxRegion
*arg2
= 0 ;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 char * kwnames
[] = {
10685 (char *) "self",(char *) "region", NULL
10688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10690 if (!SWIG_IsOK(res1
)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10693 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10695 if (!SWIG_IsOK(res2
)) {
10696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10701 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10717 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
= 0;
10719 wxRegion
*arg1
= (wxRegion
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 PyObject
* obj2
= 0 ;
10738 PyObject
* obj3
= 0 ;
10739 PyObject
* obj4
= 0 ;
10740 char * kwnames
[] = {
10741 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10746 if (!SWIG_IsOK(res1
)) {
10747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10749 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10751 if (!SWIG_IsOK(ecode2
)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10754 arg2
= static_cast< int >(val2
);
10755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10756 if (!SWIG_IsOK(ecode3
)) {
10757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10759 arg3
= static_cast< int >(val3
);
10760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10761 if (!SWIG_IsOK(ecode4
)) {
10762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10764 arg4
= static_cast< int >(val4
);
10765 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10766 if (!SWIG_IsOK(ecode5
)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10769 arg5
= static_cast< int >(val5
);
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10785 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
= 0;
10787 wxRegion
*arg1
= (wxRegion
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 PyObject
* obj1
= 0 ;
10795 char * kwnames
[] = {
10796 (char *) "self",(char *) "rect", NULL
10799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10801 if (!SWIG_IsOK(res1
)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10804 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10807 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10824 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
= 0;
10826 wxRegion
*arg1
= (wxRegion
*) 0 ;
10827 wxRegion
*arg2
= 0 ;
10833 PyObject
* obj0
= 0 ;
10834 PyObject
* obj1
= 0 ;
10835 char * kwnames
[] = {
10836 (char *) "self",(char *) "region", NULL
10839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10841 if (!SWIG_IsOK(res1
)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10844 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10846 if (!SWIG_IsOK(res2
)) {
10847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10852 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10868 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
= 0;
10870 wxRegion
*arg1
= (wxRegion
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 PyObject
* obj2
= 0 ;
10889 PyObject
* obj3
= 0 ;
10890 PyObject
* obj4
= 0 ;
10891 char * kwnames
[] = {
10892 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10897 if (!SWIG_IsOK(res1
)) {
10898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10900 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10902 if (!SWIG_IsOK(ecode2
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10905 arg2
= static_cast< int >(val2
);
10906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10907 if (!SWIG_IsOK(ecode3
)) {
10908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10910 arg3
= static_cast< int >(val3
);
10911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10912 if (!SWIG_IsOK(ecode4
)) {
10913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10915 arg4
= static_cast< int >(val4
);
10916 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10917 if (!SWIG_IsOK(ecode5
)) {
10918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10920 arg5
= static_cast< int >(val5
);
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10936 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
= 0;
10938 wxRegion
*arg1
= (wxRegion
*) 0 ;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 char * kwnames
[] = {
10947 (char *) "self",(char *) "rect", NULL
10950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10952 if (!SWIG_IsOK(res1
)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10955 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10958 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10975 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
= 0;
10977 wxRegion
*arg1
= (wxRegion
*) 0 ;
10978 wxRegion
*arg2
= 0 ;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char * kwnames
[] = {
10987 (char *) "self",(char *) "region", NULL
10990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10992 if (!SWIG_IsOK(res1
)) {
10993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10995 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10997 if (!SWIG_IsOK(res2
)) {
10998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11003 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11019 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
= 0;
11021 wxRegion
*arg1
= (wxRegion
*) 0 ;
11037 PyObject
* obj0
= 0 ;
11038 PyObject
* obj1
= 0 ;
11039 PyObject
* obj2
= 0 ;
11040 PyObject
* obj3
= 0 ;
11041 PyObject
* obj4
= 0 ;
11042 char * kwnames
[] = {
11043 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11048 if (!SWIG_IsOK(res1
)) {
11049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11051 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11053 if (!SWIG_IsOK(ecode2
)) {
11054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11056 arg2
= static_cast< int >(val2
);
11057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11058 if (!SWIG_IsOK(ecode3
)) {
11059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11061 arg3
= static_cast< int >(val3
);
11062 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11063 if (!SWIG_IsOK(ecode4
)) {
11064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11066 arg4
= static_cast< int >(val4
);
11067 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11068 if (!SWIG_IsOK(ecode5
)) {
11069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11071 arg5
= static_cast< int >(val5
);
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11087 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
= 0;
11089 wxRegion
*arg1
= (wxRegion
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 char * kwnames
[] = {
11098 (char *) "self",(char *) "rect", NULL
11101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11103 if (!SWIG_IsOK(res1
)) {
11104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11106 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11109 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11126 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
= 0;
11128 wxRegion
*arg1
= (wxRegion
*) 0 ;
11129 wxRegion
*arg2
= 0 ;
11135 PyObject
* obj0
= 0 ;
11136 PyObject
* obj1
= 0 ;
11137 char * kwnames
[] = {
11138 (char *) "self",(char *) "region", NULL
11141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11143 if (!SWIG_IsOK(res1
)) {
11144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11146 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11148 if (!SWIG_IsOK(res2
)) {
11149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11154 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11171 PyObject
*resultobj
= 0;
11172 wxRegion
*arg1
= (wxRegion
*) 0 ;
11173 SwigValueWrapper
<wxBitmap
> result
;
11176 PyObject
*swig_obj
[1] ;
11178 if (!args
) SWIG_fail
;
11179 swig_obj
[0] = args
;
11180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11181 if (!SWIG_IsOK(res1
)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11184 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 result
= (arg1
)->ConvertToBitmap();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11198 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
= 0;
11200 wxRegion
*arg1
= (wxRegion
*) 0 ;
11201 wxBitmap
*arg2
= 0 ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char * kwnames
[] = {
11210 (char *) "self",(char *) "bmp", NULL
11213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11215 if (!SWIG_IsOK(res1
)) {
11216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11218 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11220 if (!SWIG_IsOK(res2
)) {
11221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11226 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11242 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
= 0;
11244 wxRegion
*arg1
= (wxRegion
*) 0 ;
11245 wxBitmap
*arg2
= 0 ;
11246 wxColour
*arg3
= 0 ;
11247 int arg4
= (int) 0 ;
11256 PyObject
* obj0
= 0 ;
11257 PyObject
* obj1
= 0 ;
11258 PyObject
* obj2
= 0 ;
11259 PyObject
* obj3
= 0 ;
11260 char * kwnames
[] = {
11261 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11266 if (!SWIG_IsOK(res1
)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11269 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11271 if (!SWIG_IsOK(res2
)) {
11272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11277 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11280 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11283 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11284 if (!SWIG_IsOK(ecode4
)) {
11285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11287 arg4
= static_cast< int >(val4
);
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11304 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11307 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11308 return SWIG_Py_Void();
11311 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11312 return SWIG_Python_InitShadowInstance(args
);
11315 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
= 0;
11317 wxRegion
*arg1
= 0 ;
11318 wxRegionIterator
*result
= 0 ;
11321 PyObject
* obj0
= 0 ;
11322 char * kwnames
[] = {
11323 (char *) "region", NULL
11326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11327 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11328 if (!SWIG_IsOK(res1
)) {
11329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11334 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11336 if (!wxPyCheckForApp()) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11349 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11350 PyObject
*resultobj
= 0;
11351 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11354 PyObject
*swig_obj
[1] ;
11356 if (!args
) SWIG_fail
;
11357 swig_obj
[0] = args
;
11358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11359 if (!SWIG_IsOK(res1
)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11362 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= SWIG_Py_Void();
11377 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11378 PyObject
*resultobj
= 0;
11379 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11383 PyObject
*swig_obj
[1] ;
11385 if (!args
) SWIG_fail
;
11386 swig_obj
[0] = args
;
11387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11388 if (!SWIG_IsOK(res1
)) {
11389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11391 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (int)(arg1
)->GetX();
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 resultobj
= SWIG_From_int(static_cast< int >(result
));
11405 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11406 PyObject
*resultobj
= 0;
11407 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11411 PyObject
*swig_obj
[1] ;
11413 if (!args
) SWIG_fail
;
11414 swig_obj
[0] = args
;
11415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11416 if (!SWIG_IsOK(res1
)) {
11417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11419 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 result
= (int)(arg1
)->GetY();
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= SWIG_From_int(static_cast< int >(result
));
11433 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11434 PyObject
*resultobj
= 0;
11435 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11439 PyObject
*swig_obj
[1] ;
11441 if (!args
) SWIG_fail
;
11442 swig_obj
[0] = args
;
11443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11444 if (!SWIG_IsOK(res1
)) {
11445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11447 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (int)(arg1
)->GetW();
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= SWIG_From_int(static_cast< int >(result
));
11461 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11462 PyObject
*resultobj
= 0;
11463 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11467 PyObject
*swig_obj
[1] ;
11469 if (!args
) SWIG_fail
;
11470 swig_obj
[0] = args
;
11471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11472 if (!SWIG_IsOK(res1
)) {
11473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11475 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (int)(arg1
)->GetWidth();
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= SWIG_From_int(static_cast< int >(result
));
11489 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11490 PyObject
*resultobj
= 0;
11491 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11495 PyObject
*swig_obj
[1] ;
11497 if (!args
) SWIG_fail
;
11498 swig_obj
[0] = args
;
11499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11500 if (!SWIG_IsOK(res1
)) {
11501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11503 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (int)(arg1
)->GetH();
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= SWIG_From_int(static_cast< int >(result
));
11517 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11518 PyObject
*resultobj
= 0;
11519 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11523 PyObject
*swig_obj
[1] ;
11525 if (!args
) SWIG_fail
;
11526 swig_obj
[0] = args
;
11527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11528 if (!SWIG_IsOK(res1
)) {
11529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11531 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (int)(arg1
)->GetHeight();
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= SWIG_From_int(static_cast< int >(result
));
11545 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11546 PyObject
*resultobj
= 0;
11547 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11551 PyObject
*swig_obj
[1] ;
11553 if (!args
) SWIG_fail
;
11554 swig_obj
[0] = args
;
11555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11556 if (!SWIG_IsOK(res1
)) {
11557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11559 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (arg1
)->GetRect();
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11573 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11574 PyObject
*resultobj
= 0;
11575 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11579 PyObject
*swig_obj
[1] ;
11581 if (!args
) SWIG_fail
;
11582 swig_obj
[0] = args
;
11583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11584 if (!SWIG_IsOK(res1
)) {
11585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11587 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (bool)(arg1
)->HaveRects();
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11603 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11604 PyObject
*resultobj
= 0;
11605 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11608 PyObject
*swig_obj
[1] ;
11610 if (!args
) SWIG_fail
;
11611 swig_obj
[0] = args
;
11612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11613 if (!SWIG_IsOK(res1
)) {
11614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11616 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= SWIG_Py_Void();
11630 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11631 PyObject
*resultobj
= 0;
11632 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11635 PyObject
*swig_obj
[1] ;
11637 if (!args
) SWIG_fail
;
11638 swig_obj
[0] = args
;
11639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11640 if (!SWIG_IsOK(res1
)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11643 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 wxRegionIterator_Next(arg1
);
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= SWIG_Py_Void();
11657 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11658 PyObject
*resultobj
= 0;
11659 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11663 PyObject
*swig_obj
[1] ;
11665 if (!args
) SWIG_fail
;
11666 swig_obj
[0] = args
;
11667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11668 if (!SWIG_IsOK(res1
)) {
11669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11671 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11687 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11690 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11691 return SWIG_Py_Void();
11694 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11695 return SWIG_Python_InitShadowInstance(args
);
11698 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 PyObject
*resultobj
= 0;
11700 wxNativeFontInfo
*result
= 0 ;
11702 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11716 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11717 PyObject
*resultobj
= 0;
11718 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11721 PyObject
*swig_obj
[1] ;
11723 if (!args
) SWIG_fail
;
11724 swig_obj
[0] = args
;
11725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11726 if (!SWIG_IsOK(res1
)) {
11727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11729 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_Py_Void();
11744 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11745 PyObject
*resultobj
= 0;
11746 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11749 PyObject
*swig_obj
[1] ;
11751 if (!args
) SWIG_fail
;
11752 swig_obj
[0] = args
;
11753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11754 if (!SWIG_IsOK(res1
)) {
11755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11757 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= SWIG_Py_Void();
11771 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
= 0;
11773 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11779 PyObject
* obj0
= 0 ;
11780 PyObject
* obj1
= 0 ;
11781 char * kwnames
[] = {
11782 (char *) "self",(char *) "font", NULL
11785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11787 if (!SWIG_IsOK(res1
)) {
11788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11790 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11792 if (!SWIG_IsOK(res2
)) {
11793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11798 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_Py_Void();
11812 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11813 PyObject
*resultobj
= 0;
11814 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11818 PyObject
*swig_obj
[1] ;
11820 if (!args
) SWIG_fail
;
11821 swig_obj
[0] = args
;
11822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11823 if (!SWIG_IsOK(res1
)) {
11824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11826 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= SWIG_From_int(static_cast< int >(result
));
11840 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11841 PyObject
*resultobj
= 0;
11842 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11843 wxFontStyle result
;
11846 PyObject
*swig_obj
[1] ;
11848 if (!args
) SWIG_fail
;
11849 swig_obj
[0] = args
;
11850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11851 if (!SWIG_IsOK(res1
)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11854 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= SWIG_From_int(static_cast< int >(result
));
11868 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11869 PyObject
*resultobj
= 0;
11870 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11871 wxFontWeight result
;
11874 PyObject
*swig_obj
[1] ;
11876 if (!args
) SWIG_fail
;
11877 swig_obj
[0] = args
;
11878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11879 if (!SWIG_IsOK(res1
)) {
11880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11882 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11885 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= SWIG_From_int(static_cast< int >(result
));
11896 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11897 PyObject
*resultobj
= 0;
11898 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11902 PyObject
*swig_obj
[1] ;
11904 if (!args
) SWIG_fail
;
11905 swig_obj
[0] = args
;
11906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11907 if (!SWIG_IsOK(res1
)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11910 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11926 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11927 PyObject
*resultobj
= 0;
11928 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11932 PyObject
*swig_obj
[1] ;
11934 if (!args
) SWIG_fail
;
11935 swig_obj
[0] = args
;
11936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11937 if (!SWIG_IsOK(res1
)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11940 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11960 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11961 PyObject
*resultobj
= 0;
11962 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11963 wxFontFamily result
;
11966 PyObject
*swig_obj
[1] ;
11968 if (!args
) SWIG_fail
;
11969 swig_obj
[0] = args
;
11970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11974 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_From_int(static_cast< int >(result
));
11988 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11989 PyObject
*resultobj
= 0;
11990 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11991 wxFontEncoding result
;
11994 PyObject
*swig_obj
[1] ;
11996 if (!args
) SWIG_fail
;
11997 swig_obj
[0] = args
;
11998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11999 if (!SWIG_IsOK(res1
)) {
12000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12002 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= SWIG_From_int(static_cast< int >(result
));
12016 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
= 0;
12018 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12024 PyObject
* obj0
= 0 ;
12025 PyObject
* obj1
= 0 ;
12026 char * kwnames
[] = {
12027 (char *) "self",(char *) "pointsize", NULL
12030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12032 if (!SWIG_IsOK(res1
)) {
12033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12035 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12037 if (!SWIG_IsOK(ecode2
)) {
12038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12040 arg2
= static_cast< int >(val2
);
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 (arg1
)->SetPointSize(arg2
);
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_Py_Void();
12054 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
= 0;
12056 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 PyObject
* obj1
= 0 ;
12064 char * kwnames
[] = {
12065 (char *) "self",(char *) "style", NULL
12068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12070 if (!SWIG_IsOK(res1
)) {
12071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12073 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12075 if (!SWIG_IsOK(ecode2
)) {
12076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12078 arg2
= static_cast< wxFontStyle
>(val2
);
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 (arg1
)->SetStyle(arg2
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_Py_Void();
12092 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
= 0;
12094 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12095 wxFontWeight arg2
;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 char * kwnames
[] = {
12103 (char *) "self",(char *) "weight", NULL
12106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12108 if (!SWIG_IsOK(res1
)) {
12109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12111 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12113 if (!SWIG_IsOK(ecode2
)) {
12114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12116 arg2
= static_cast< wxFontWeight
>(val2
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 (arg1
)->SetWeight(arg2
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_Py_Void();
12130 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12132 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char * kwnames
[] = {
12141 (char *) "self",(char *) "underlined", NULL
12144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12149 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12150 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12151 if (!SWIG_IsOK(ecode2
)) {
12152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12154 arg2
= static_cast< bool >(val2
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->SetUnderlined(arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= SWIG_Py_Void();
12168 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
= 0;
12170 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12175 PyObject
* obj0
= 0 ;
12176 PyObject
* obj1
= 0 ;
12177 char * kwnames
[] = {
12178 (char *) "self",(char *) "facename", NULL
12181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12183 if (!SWIG_IsOK(res1
)) {
12184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12186 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12188 wxString
* sptr
= wxString_in_helper(obj1
);
12189 if (sptr
== NULL
) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (bool)(arg1
)->SetFaceName(arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12208 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
= 0;
12210 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12211 wxFontFamily arg2
;
12216 PyObject
* obj0
= 0 ;
12217 PyObject
* obj1
= 0 ;
12218 char * kwnames
[] = {
12219 (char *) "self",(char *) "family", NULL
12222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12224 if (!SWIG_IsOK(res1
)) {
12225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12227 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12229 if (!SWIG_IsOK(ecode2
)) {
12230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12232 arg2
= static_cast< wxFontFamily
>(val2
);
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 (arg1
)->SetFamily(arg2
);
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_Py_Void();
12246 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
= 0;
12248 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12249 wxFontEncoding arg2
;
12254 PyObject
* obj0
= 0 ;
12255 PyObject
* obj1
= 0 ;
12256 char * kwnames
[] = {
12257 (char *) "self",(char *) "encoding", NULL
12260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12262 if (!SWIG_IsOK(res1
)) {
12263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12265 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12267 if (!SWIG_IsOK(ecode2
)) {
12268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12270 arg2
= static_cast< wxFontEncoding
>(val2
);
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 (arg1
)->SetEncoding(arg2
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= SWIG_Py_Void();
12284 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
= 0;
12286 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12287 wxString
*arg2
= 0 ;
12291 bool temp2
= false ;
12292 PyObject
* obj0
= 0 ;
12293 PyObject
* obj1
= 0 ;
12294 char * kwnames
[] = {
12295 (char *) "self",(char *) "s", NULL
12298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12300 if (!SWIG_IsOK(res1
)) {
12301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12303 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12305 arg2
= wxString_in_helper(obj1
);
12306 if (arg2
== NULL
) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12332 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12333 PyObject
*resultobj
= 0;
12334 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12338 PyObject
*swig_obj
[1] ;
12340 if (!args
) SWIG_fail
;
12341 swig_obj
[0] = args
;
12342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12343 if (!SWIG_IsOK(res1
)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12346 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12366 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12367 PyObject
*resultobj
= 0;
12368 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12372 PyObject
*swig_obj
[1] ;
12374 if (!args
) SWIG_fail
;
12375 swig_obj
[0] = args
;
12376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12377 if (!SWIG_IsOK(res1
)) {
12378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12380 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= wxNativeFontInfo___str__(arg1
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12400 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
= 0;
12402 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12403 wxString
*arg2
= 0 ;
12407 bool temp2
= false ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 char * kwnames
[] = {
12411 (char *) "self",(char *) "s", NULL
12414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12419 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12421 arg2
= wxString_in_helper(obj1
);
12422 if (arg2
== NULL
) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12448 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12449 PyObject
*resultobj
= 0;
12450 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12454 PyObject
*swig_obj
[1] ;
12456 if (!args
) SWIG_fail
;
12457 swig_obj
[0] = args
;
12458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12459 if (!SWIG_IsOK(res1
)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12462 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12482 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12485 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12486 return SWIG_Py_Void();
12489 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12490 return SWIG_Python_InitShadowInstance(args
);
12493 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12494 PyObject
*resultobj
= 0;
12495 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12496 wxString
*arg2
= (wxString
*) 0 ;
12499 bool temp2
= false ;
12500 PyObject
*swig_obj
[2] ;
12502 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12507 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12509 arg2
= wxString_in_helper(swig_obj
[1]);
12510 if (arg2
== NULL
) SWIG_fail
;
12513 if (arg1
) (arg1
)->facename
= *arg2
;
12515 resultobj
= SWIG_Py_Void();
12530 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12531 PyObject
*resultobj
= 0;
12532 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12533 wxString
*result
= 0 ;
12536 PyObject
*swig_obj
[1] ;
12538 if (!args
) SWIG_fail
;
12539 swig_obj
[0] = args
;
12540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12544 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12545 result
= (wxString
*)& ((arg1
)->facename
);
12548 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12550 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12559 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12560 PyObject
*resultobj
= 0;
12561 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12562 wxFontEncoding arg2
;
12567 PyObject
*swig_obj
[2] ;
12569 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12571 if (!SWIG_IsOK(res1
)) {
12572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12574 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12575 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12576 if (!SWIG_IsOK(ecode2
)) {
12577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12579 arg2
= static_cast< wxFontEncoding
>(val2
);
12580 if (arg1
) (arg1
)->encoding
= arg2
;
12582 resultobj
= SWIG_Py_Void();
12589 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12590 PyObject
*resultobj
= 0;
12591 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12592 wxFontEncoding result
;
12595 PyObject
*swig_obj
[1] ;
12597 if (!args
) SWIG_fail
;
12598 swig_obj
[0] = args
;
12599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12600 if (!SWIG_IsOK(res1
)) {
12601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12603 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12604 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12605 resultobj
= SWIG_From_int(static_cast< int >(result
));
12612 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxNativeEncodingInfo
*result
= 0 ;
12616 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12630 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12631 PyObject
*resultobj
= 0;
12632 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12635 PyObject
*swig_obj
[1] ;
12637 if (!args
) SWIG_fail
;
12638 swig_obj
[0] = args
;
12639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12640 if (!SWIG_IsOK(res1
)) {
12641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12643 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_Py_Void();
12658 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
= 0;
12660 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12661 wxString
*arg2
= 0 ;
12665 bool temp2
= false ;
12666 PyObject
* obj0
= 0 ;
12667 PyObject
* obj1
= 0 ;
12668 char * kwnames
[] = {
12669 (char *) "self",(char *) "s", NULL
12672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12674 if (!SWIG_IsOK(res1
)) {
12675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12677 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12679 arg2
= wxString_in_helper(obj1
);
12680 if (arg2
== NULL
) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12706 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12707 PyObject
*resultobj
= 0;
12708 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12712 PyObject
*swig_obj
[1] ;
12714 if (!args
) SWIG_fail
;
12715 swig_obj
[0] = args
;
12716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12717 if (!SWIG_IsOK(res1
)) {
12718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12720 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12740 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12743 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12744 return SWIG_Py_Void();
12747 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12748 return SWIG_Python_InitShadowInstance(args
);
12751 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
= 0;
12753 wxFontEncoding arg1
;
12754 wxNativeEncodingInfo
*result
= 0 ;
12757 PyObject
* obj0
= 0 ;
12758 char * kwnames
[] = {
12759 (char *) "encoding", NULL
12762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12764 if (!SWIG_IsOK(ecode1
)) {
12765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12767 arg1
= static_cast< wxFontEncoding
>(val1
);
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12781 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
= 0;
12783 wxNativeEncodingInfo
*arg1
= 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char * kwnames
[] = {
12789 (char *) "info", NULL
12792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12793 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12794 if (!SWIG_IsOK(res1
)) {
12795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12800 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12816 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12817 PyObject
*resultobj
= 0;
12818 wxFontMapper
*result
= 0 ;
12820 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= (wxFontMapper
*)new wxFontMapper();
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12834 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12835 PyObject
*resultobj
= 0;
12836 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12839 PyObject
*swig_obj
[1] ;
12841 if (!args
) SWIG_fail
;
12842 swig_obj
[0] = args
;
12843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12844 if (!SWIG_IsOK(res1
)) {
12845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12847 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 resultobj
= SWIG_Py_Void();
12862 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12863 PyObject
*resultobj
= 0;
12864 wxFontMapper
*result
= 0 ;
12866 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (wxFontMapper
*)wxFontMapper::Get();
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12880 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
= 0;
12882 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12883 wxFontMapper
*result
= 0 ;
12886 PyObject
* obj0
= 0 ;
12887 char * kwnames
[] = {
12888 (char *) "mapper", NULL
12891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12893 if (!SWIG_IsOK(res1
)) {
12894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12896 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12910 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
= 0;
12912 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12913 wxString
*arg2
= 0 ;
12914 bool arg3
= (bool) true ;
12915 wxFontEncoding result
;
12918 bool temp2
= false ;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 PyObject
* obj2
= 0 ;
12924 char * kwnames
[] = {
12925 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12930 if (!SWIG_IsOK(res1
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12933 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12935 arg2
= wxString_in_helper(obj1
);
12936 if (arg2
== NULL
) SWIG_fail
;
12940 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12941 if (!SWIG_IsOK(ecode3
)) {
12942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12944 arg3
= static_cast< bool >(val3
);
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= SWIG_From_int(static_cast< int >(result
));
12967 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 PyObject
*resultobj
= 0;
12971 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12985 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
= 0;
12988 wxFontEncoding result
;
12991 PyObject
* obj0
= 0 ;
12992 char * kwnames
[] = {
12996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12997 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12998 if (!SWIG_IsOK(ecode1
)) {
12999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13001 arg1
= static_cast< size_t >(val1
);
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= SWIG_From_int(static_cast< int >(result
));
13015 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
= 0;
13017 wxFontEncoding arg1
;
13021 PyObject
* obj0
= 0 ;
13022 char * kwnames
[] = {
13023 (char *) "encoding", NULL
13026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13028 if (!SWIG_IsOK(ecode1
)) {
13029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13031 arg1
= static_cast< wxFontEncoding
>(val1
);
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= wxFontMapper::GetEncodingName(arg1
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13051 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
= 0;
13053 wxFontEncoding arg1
;
13057 PyObject
* obj0
= 0 ;
13058 char * kwnames
[] = {
13059 (char *) "encoding", NULL
13062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13063 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13064 if (!SWIG_IsOK(ecode1
)) {
13065 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13067 arg1
= static_cast< wxFontEncoding
>(val1
);
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= wxFontMapper::GetEncodingDescription(arg1
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13087 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
= 0;
13089 wxString
*arg1
= 0 ;
13090 wxFontEncoding result
;
13091 bool temp1
= false ;
13092 PyObject
* obj0
= 0 ;
13093 char * kwnames
[] = {
13094 (char *) "name", NULL
13097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13099 arg1
= wxString_in_helper(obj0
);
13100 if (arg1
== NULL
) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= SWIG_From_int(static_cast< int >(result
));
13124 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
= 0;
13126 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13127 wxString
*arg2
= 0 ;
13130 bool temp2
= false ;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 char * kwnames
[] = {
13134 (char *) "self",(char *) "prefix", NULL
13137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13139 if (!SWIG_IsOK(res1
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13142 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13144 arg2
= wxString_in_helper(obj1
);
13145 if (arg2
== NULL
) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= SWIG_Py_Void();
13169 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13170 PyObject
*resultobj
= 0;
13173 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= wxFontMapper::GetDefaultConfigPath();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13193 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
= 0;
13195 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13196 wxFontEncoding arg2
;
13197 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13198 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13199 bool arg4
= (bool) true ;
13200 PyObject
*result
= 0 ;
13205 bool temp3
= false ;
13208 PyObject
* obj0
= 0 ;
13209 PyObject
* obj1
= 0 ;
13210 PyObject
* obj2
= 0 ;
13211 PyObject
* obj3
= 0 ;
13212 char * kwnames
[] = {
13213 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13218 if (!SWIG_IsOK(res1
)) {
13219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13221 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13223 if (!SWIG_IsOK(ecode2
)) {
13224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13226 arg2
= static_cast< wxFontEncoding
>(val2
);
13229 arg3
= wxString_in_helper(obj2
);
13230 if (arg3
== NULL
) SWIG_fail
;
13235 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13236 if (!SWIG_IsOK(ecode4
)) {
13237 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13239 arg4
= static_cast< bool >(val4
);
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= result
;
13262 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
= 0;
13264 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13265 wxFontEncoding arg2
;
13266 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13273 bool temp3
= false ;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 PyObject
* obj2
= 0 ;
13277 char * kwnames
[] = {
13278 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13286 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13288 if (!SWIG_IsOK(ecode2
)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13291 arg2
= static_cast< wxFontEncoding
>(val2
);
13294 arg3
= wxString_in_helper(obj2
);
13295 if (arg3
== NULL
) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13322 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
= 0;
13324 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13325 wxWindow
*arg2
= (wxWindow
*) 0 ;
13330 PyObject
* obj0
= 0 ;
13331 PyObject
* obj1
= 0 ;
13332 char * kwnames
[] = {
13333 (char *) "self",(char *) "parent", NULL
13336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13338 if (!SWIG_IsOK(res1
)) {
13339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13341 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13342 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13343 if (!SWIG_IsOK(res2
)) {
13344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13346 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 (arg1
)->SetDialogParent(arg2
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_Py_Void();
13360 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
= 0;
13362 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13363 wxString
*arg2
= 0 ;
13366 bool temp2
= false ;
13367 PyObject
* obj0
= 0 ;
13368 PyObject
* obj1
= 0 ;
13369 char * kwnames
[] = {
13370 (char *) "self",(char *) "title", NULL
13373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13375 if (!SWIG_IsOK(res1
)) {
13376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13378 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13380 arg2
= wxString_in_helper(obj1
);
13381 if (arg2
== NULL
) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= SWIG_Py_Void();
13405 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13408 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13409 return SWIG_Py_Void();
13412 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13413 return SWIG_Python_InitShadowInstance(args
);
13416 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
= 0;
13422 bool arg5
= (bool) false ;
13423 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13424 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13425 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13426 wxFont
*result
= 0 ;
13437 bool temp6
= false ;
13440 PyObject
* obj0
= 0 ;
13441 PyObject
* obj1
= 0 ;
13442 PyObject
* obj2
= 0 ;
13443 PyObject
* obj3
= 0 ;
13444 PyObject
* obj4
= 0 ;
13445 PyObject
* obj5
= 0 ;
13446 PyObject
* obj6
= 0 ;
13447 char * kwnames
[] = {
13448 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13452 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13453 if (!SWIG_IsOK(ecode1
)) {
13454 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13456 arg1
= static_cast< int >(val1
);
13457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13458 if (!SWIG_IsOK(ecode2
)) {
13459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13461 arg2
= static_cast< int >(val2
);
13462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13463 if (!SWIG_IsOK(ecode3
)) {
13464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13466 arg3
= static_cast< int >(val3
);
13467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13468 if (!SWIG_IsOK(ecode4
)) {
13469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13471 arg4
= static_cast< int >(val4
);
13473 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13474 if (!SWIG_IsOK(ecode5
)) {
13475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13477 arg5
= static_cast< bool >(val5
);
13481 arg6
= wxString_in_helper(obj5
);
13482 if (arg6
== NULL
) SWIG_fail
;
13487 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13488 if (!SWIG_IsOK(ecode7
)) {
13489 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13491 arg7
= static_cast< wxFontEncoding
>(val7
);
13494 if (!wxPyCheckForApp()) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13515 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13516 PyObject
*resultobj
= 0;
13517 wxFont
*arg1
= (wxFont
*) 0 ;
13520 PyObject
*swig_obj
[1] ;
13522 if (!args
) SWIG_fail
;
13523 swig_obj
[0] = args
;
13524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13525 if (!SWIG_IsOK(res1
)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13528 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= SWIG_Py_Void();
13543 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
= 0;
13545 wxNativeFontInfo
*arg1
= 0 ;
13546 wxFont
*result
= 0 ;
13549 PyObject
* obj0
= 0 ;
13550 char * kwnames
[] = {
13551 (char *) "info", NULL
13554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13555 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13556 if (!SWIG_IsOK(res1
)) {
13557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13562 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13564 if (!wxPyCheckForApp()) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13577 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
= 0;
13579 wxString
*arg1
= 0 ;
13580 wxFont
*result
= 0 ;
13581 bool temp1
= false ;
13582 PyObject
* obj0
= 0 ;
13583 char * kwnames
[] = {
13584 (char *) "info", NULL
13587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13589 arg1
= wxString_in_helper(obj0
);
13590 if (arg1
== NULL
) SWIG_fail
;
13594 if (!wxPyCheckForApp()) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13615 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
= 0;
13618 wxFontFamily arg2
;
13619 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13620 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13621 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13622 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13623 wxFont
*result
= 0 ;
13630 bool temp4
= false ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 PyObject
* obj2
= 0 ;
13636 PyObject
* obj3
= 0 ;
13637 PyObject
* obj4
= 0 ;
13638 char * kwnames
[] = {
13639 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13643 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13644 if (!SWIG_IsOK(ecode1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13647 arg1
= static_cast< int >(val1
);
13648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13649 if (!SWIG_IsOK(ecode2
)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13652 arg2
= static_cast< wxFontFamily
>(val2
);
13654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13655 if (!SWIG_IsOK(ecode3
)) {
13656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13658 arg3
= static_cast< int >(val3
);
13662 arg4
= wxString_in_helper(obj3
);
13663 if (arg4
== NULL
) SWIG_fail
;
13668 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13669 if (!SWIG_IsOK(ecode5
)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13672 arg5
= static_cast< wxFontEncoding
>(val5
);
13675 if (!wxPyCheckForApp()) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13696 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
= 0;
13702 bool arg5
= (bool) false ;
13703 wxString
const &arg6_defvalue
= wxEmptyString
;
13704 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13705 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13706 wxFont
*result
= 0 ;
13716 bool temp6
= false ;
13719 PyObject
* obj0
= 0 ;
13720 PyObject
* obj1
= 0 ;
13721 PyObject
* obj2
= 0 ;
13722 PyObject
* obj3
= 0 ;
13723 PyObject
* obj4
= 0 ;
13724 PyObject
* obj5
= 0 ;
13725 PyObject
* obj6
= 0 ;
13726 char * kwnames
[] = {
13727 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13733 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13736 if (!SWIG_IsOK(ecode2
)) {
13737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13739 arg2
= static_cast< int >(val2
);
13740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13741 if (!SWIG_IsOK(ecode3
)) {
13742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13744 arg3
= static_cast< int >(val3
);
13745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13746 if (!SWIG_IsOK(ecode4
)) {
13747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13749 arg4
= static_cast< int >(val4
);
13751 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13752 if (!SWIG_IsOK(ecode5
)) {
13753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13755 arg5
= static_cast< bool >(val5
);
13759 arg6
= wxString_in_helper(obj5
);
13760 if (arg6
== NULL
) SWIG_fail
;
13765 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13766 if (!SWIG_IsOK(ecode7
)) {
13767 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13769 arg7
= static_cast< wxFontEncoding
>(val7
);
13772 if (!wxPyCheckForApp()) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13793 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
= 0;
13796 wxFontFamily arg2
;
13797 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13798 wxString
const &arg4_defvalue
= wxEmptyString
;
13799 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13800 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13801 wxFont
*result
= 0 ;
13807 bool temp4
= false ;
13810 PyObject
* obj0
= 0 ;
13811 PyObject
* obj1
= 0 ;
13812 PyObject
* obj2
= 0 ;
13813 PyObject
* obj3
= 0 ;
13814 PyObject
* obj4
= 0 ;
13815 char * kwnames
[] = {
13816 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13822 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13825 if (!SWIG_IsOK(ecode2
)) {
13826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13828 arg2
= static_cast< wxFontFamily
>(val2
);
13830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13831 if (!SWIG_IsOK(ecode3
)) {
13832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13834 arg3
= static_cast< int >(val3
);
13838 arg4
= wxString_in_helper(obj3
);
13839 if (arg4
== NULL
) SWIG_fail
;
13844 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13845 if (!SWIG_IsOK(ecode5
)) {
13846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13848 arg5
= static_cast< wxFontEncoding
>(val5
);
13851 if (!wxPyCheckForApp()) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13872 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13873 PyObject
*resultobj
= 0;
13874 wxFont
*arg1
= (wxFont
*) 0 ;
13878 PyObject
*swig_obj
[1] ;
13880 if (!args
) SWIG_fail
;
13881 swig_obj
[0] = args
;
13882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13883 if (!SWIG_IsOK(res1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
13886 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 result
= (bool)((wxFont
const *)arg1
)->IsOk();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13902 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
= 0;
13904 wxFont
*arg1
= (wxFont
*) 0 ;
13905 wxFont
*arg2
= (wxFont
*) 0 ;
13911 PyObject
* obj0
= 0 ;
13912 PyObject
* obj1
= 0 ;
13913 char * kwnames
[] = {
13914 (char *) "self",(char *) "other", NULL
13917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13919 if (!SWIG_IsOK(res1
)) {
13920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13922 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13924 if (!SWIG_IsOK(res2
)) {
13925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13927 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13943 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
= 0;
13945 wxFont
*arg1
= (wxFont
*) 0 ;
13946 wxFont
*arg2
= (wxFont
*) 0 ;
13952 PyObject
* obj0
= 0 ;
13953 PyObject
* obj1
= 0 ;
13954 char * kwnames
[] = {
13955 (char *) "self",(char *) "other", NULL
13958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13960 if (!SWIG_IsOK(res1
)) {
13961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13963 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13964 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13965 if (!SWIG_IsOK(res2
)) {
13966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13968 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13984 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13985 PyObject
*resultobj
= 0;
13986 wxFont
*arg1
= (wxFont
*) 0 ;
13990 PyObject
*swig_obj
[1] ;
13992 if (!args
) SWIG_fail
;
13993 swig_obj
[0] = args
;
13994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13995 if (!SWIG_IsOK(res1
)) {
13996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13998 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_From_int(static_cast< int >(result
));
14012 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14013 PyObject
*resultobj
= 0;
14014 wxFont
*arg1
= (wxFont
*) 0 ;
14018 PyObject
*swig_obj
[1] ;
14020 if (!args
) SWIG_fail
;
14021 swig_obj
[0] = args
;
14022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14023 if (!SWIG_IsOK(res1
)) {
14024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14026 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14040 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14041 PyObject
*resultobj
= 0;
14042 wxFont
*arg1
= (wxFont
*) 0 ;
14046 PyObject
*swig_obj
[1] ;
14048 if (!args
) SWIG_fail
;
14049 swig_obj
[0] = args
;
14050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14051 if (!SWIG_IsOK(res1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14054 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14070 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14071 PyObject
*resultobj
= 0;
14072 wxFont
*arg1
= (wxFont
*) 0 ;
14076 PyObject
*swig_obj
[1] ;
14078 if (!args
) SWIG_fail
;
14079 swig_obj
[0] = args
;
14080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14081 if (!SWIG_IsOK(res1
)) {
14082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14084 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= SWIG_From_int(static_cast< int >(result
));
14098 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14099 PyObject
*resultobj
= 0;
14100 wxFont
*arg1
= (wxFont
*) 0 ;
14104 PyObject
*swig_obj
[1] ;
14106 if (!args
) SWIG_fail
;
14107 swig_obj
[0] = args
;
14108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14112 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_From_int(static_cast< int >(result
));
14126 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 PyObject
*resultobj
= 0;
14128 wxFont
*arg1
= (wxFont
*) 0 ;
14132 PyObject
*swig_obj
[1] ;
14134 if (!args
) SWIG_fail
;
14135 swig_obj
[0] = args
;
14136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14137 if (!SWIG_IsOK(res1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14140 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= SWIG_From_int(static_cast< int >(result
));
14154 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14155 PyObject
*resultobj
= 0;
14156 wxFont
*arg1
= (wxFont
*) 0 ;
14160 PyObject
*swig_obj
[1] ;
14162 if (!args
) SWIG_fail
;
14163 swig_obj
[0] = args
;
14164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14165 if (!SWIG_IsOK(res1
)) {
14166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14168 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14184 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14185 PyObject
*resultobj
= 0;
14186 wxFont
*arg1
= (wxFont
*) 0 ;
14190 PyObject
*swig_obj
[1] ;
14192 if (!args
) SWIG_fail
;
14193 swig_obj
[0] = args
;
14194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14195 if (!SWIG_IsOK(res1
)) {
14196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14198 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= ((wxFont
const *)arg1
)->GetFaceName();
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14218 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14219 PyObject
*resultobj
= 0;
14220 wxFont
*arg1
= (wxFont
*) 0 ;
14221 wxFontEncoding result
;
14224 PyObject
*swig_obj
[1] ;
14226 if (!args
) SWIG_fail
;
14227 swig_obj
[0] = args
;
14228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14229 if (!SWIG_IsOK(res1
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14232 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= SWIG_From_int(static_cast< int >(result
));
14246 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14247 PyObject
*resultobj
= 0;
14248 wxFont
*arg1
= (wxFont
*) 0 ;
14249 wxNativeFontInfo
*result
= 0 ;
14252 PyObject
*swig_obj
[1] ;
14254 if (!args
) SWIG_fail
;
14255 swig_obj
[0] = args
;
14256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14260 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14274 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14275 PyObject
*resultobj
= 0;
14276 wxFont
*arg1
= (wxFont
*) 0 ;
14280 PyObject
*swig_obj
[1] ;
14282 if (!args
) SWIG_fail
;
14283 swig_obj
[0] = args
;
14284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14285 if (!SWIG_IsOK(res1
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14288 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14304 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14305 PyObject
*resultobj
= 0;
14306 wxFont
*arg1
= (wxFont
*) 0 ;
14310 PyObject
*swig_obj
[1] ;
14312 if (!args
) SWIG_fail
;
14313 swig_obj
[0] = args
;
14314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14315 if (!SWIG_IsOK(res1
)) {
14316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14318 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14338 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14339 PyObject
*resultobj
= 0;
14340 wxFont
*arg1
= (wxFont
*) 0 ;
14344 PyObject
*swig_obj
[1] ;
14346 if (!args
) SWIG_fail
;
14347 swig_obj
[0] = args
;
14348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14349 if (!SWIG_IsOK(res1
)) {
14350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14352 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14372 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
= 0;
14374 wxFont
*arg1
= (wxFont
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 char * kwnames
[] = {
14383 (char *) "self",(char *) "pointSize", NULL
14386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14388 if (!SWIG_IsOK(res1
)) {
14389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14391 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14393 if (!SWIG_IsOK(ecode2
)) {
14394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14396 arg2
= static_cast< int >(val2
);
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 (arg1
)->SetPointSize(arg2
);
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= SWIG_Py_Void();
14410 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14411 PyObject
*resultobj
= 0;
14412 wxFont
*arg1
= (wxFont
*) 0 ;
14417 PyObject
* obj0
= 0 ;
14418 PyObject
* obj1
= 0 ;
14419 char * kwnames
[] = {
14420 (char *) "self",(char *) "pixelSize", NULL
14423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14425 if (!SWIG_IsOK(res1
)) {
14426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14428 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14431 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_Py_Void();
14446 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
= 0;
14448 wxFont
*arg1
= (wxFont
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 PyObject
* obj1
= 0 ;
14456 char * kwnames
[] = {
14457 (char *) "self",(char *) "family", NULL
14460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14462 if (!SWIG_IsOK(res1
)) {
14463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14465 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14467 if (!SWIG_IsOK(ecode2
)) {
14468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14470 arg2
= static_cast< int >(val2
);
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 (arg1
)->SetFamily(arg2
);
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= SWIG_Py_Void();
14484 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
= 0;
14486 wxFont
*arg1
= (wxFont
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 PyObject
* obj1
= 0 ;
14494 char * kwnames
[] = {
14495 (char *) "self",(char *) "style", NULL
14498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14500 if (!SWIG_IsOK(res1
)) {
14501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14503 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14505 if (!SWIG_IsOK(ecode2
)) {
14506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14508 arg2
= static_cast< int >(val2
);
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 (arg1
)->SetStyle(arg2
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= SWIG_Py_Void();
14522 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
= 0;
14524 wxFont
*arg1
= (wxFont
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 PyObject
* obj1
= 0 ;
14532 char * kwnames
[] = {
14533 (char *) "self",(char *) "weight", NULL
14536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14538 if (!SWIG_IsOK(res1
)) {
14539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14541 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14543 if (!SWIG_IsOK(ecode2
)) {
14544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14546 arg2
= static_cast< int >(val2
);
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 (arg1
)->SetWeight(arg2
);
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= SWIG_Py_Void();
14560 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
= 0;
14562 wxFont
*arg1
= (wxFont
*) 0 ;
14563 wxString
*arg2
= 0 ;
14567 bool temp2
= false ;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 char * kwnames
[] = {
14571 (char *) "self",(char *) "faceName", NULL
14574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14576 if (!SWIG_IsOK(res1
)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14579 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14581 arg2
= wxString_in_helper(obj1
);
14582 if (arg2
== NULL
) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14608 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
= 0;
14610 wxFont
*arg1
= (wxFont
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 PyObject
* obj1
= 0 ;
14618 char * kwnames
[] = {
14619 (char *) "self",(char *) "underlined", NULL
14622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14624 if (!SWIG_IsOK(res1
)) {
14625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14627 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14629 if (!SWIG_IsOK(ecode2
)) {
14630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14632 arg2
= static_cast< bool >(val2
);
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 (arg1
)->SetUnderlined(arg2
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= SWIG_Py_Void();
14646 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
= 0;
14648 wxFont
*arg1
= (wxFont
*) 0 ;
14649 wxFontEncoding arg2
;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 char * kwnames
[] = {
14657 (char *) "self",(char *) "encoding", NULL
14660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14662 if (!SWIG_IsOK(res1
)) {
14663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14665 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14667 if (!SWIG_IsOK(ecode2
)) {
14668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14670 arg2
= static_cast< wxFontEncoding
>(val2
);
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 (arg1
)->SetEncoding(arg2
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= SWIG_Py_Void();
14684 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
= 0;
14686 wxFont
*arg1
= (wxFont
*) 0 ;
14687 wxNativeFontInfo
*arg2
= 0 ;
14692 PyObject
* obj0
= 0 ;
14693 PyObject
* obj1
= 0 ;
14694 char * kwnames
[] = {
14695 (char *) "self",(char *) "info", NULL
14698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14700 if (!SWIG_IsOK(res1
)) {
14701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14703 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14705 if (!SWIG_IsOK(res2
)) {
14706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14711 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_Py_Void();
14725 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
= 0;
14727 wxFont
*arg1
= (wxFont
*) 0 ;
14728 wxString
*arg2
= 0 ;
14732 bool temp2
= false ;
14733 PyObject
* obj0
= 0 ;
14734 PyObject
* obj1
= 0 ;
14735 char * kwnames
[] = {
14736 (char *) "self",(char *) "info", NULL
14739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14741 if (!SWIG_IsOK(res1
)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14744 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14746 arg2
= wxString_in_helper(obj1
);
14747 if (arg2
== NULL
) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14773 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
= 0;
14775 wxFont
*arg1
= (wxFont
*) 0 ;
14776 wxString
*arg2
= 0 ;
14780 bool temp2
= false ;
14781 PyObject
* obj0
= 0 ;
14782 PyObject
* obj1
= 0 ;
14783 char * kwnames
[] = {
14784 (char *) "self",(char *) "info", NULL
14787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14789 if (!SWIG_IsOK(res1
)) {
14790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14792 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14794 arg2
= wxString_in_helper(obj1
);
14795 if (arg2
== NULL
) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14821 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14822 PyObject
*resultobj
= 0;
14823 wxFont
*arg1
= (wxFont
*) 0 ;
14827 PyObject
*swig_obj
[1] ;
14829 if (!args
) SWIG_fail
;
14830 swig_obj
[0] = args
;
14831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14832 if (!SWIG_IsOK(res1
)) {
14833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14835 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14855 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14856 PyObject
*resultobj
= 0;
14857 wxFont
*arg1
= (wxFont
*) 0 ;
14861 PyObject
*swig_obj
[1] ;
14863 if (!args
) SWIG_fail
;
14864 swig_obj
[0] = args
;
14865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14866 if (!SWIG_IsOK(res1
)) {
14867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14869 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= ((wxFont
const *)arg1
)->GetStyleString();
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14889 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14890 PyObject
*resultobj
= 0;
14891 wxFont
*arg1
= (wxFont
*) 0 ;
14895 PyObject
*swig_obj
[1] ;
14897 if (!args
) SWIG_fail
;
14898 swig_obj
[0] = args
;
14899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14900 if (!SWIG_IsOK(res1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14903 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= ((wxFont
const *)arg1
)->GetWeightString();
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14923 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
= 0;
14925 wxFont
*arg1
= (wxFont
*) 0 ;
14926 bool arg2
= (bool) true ;
14931 PyObject
* obj0
= 0 ;
14932 PyObject
* obj1
= 0 ;
14933 char * kwnames
[] = {
14934 (char *) "self",(char *) "no", NULL
14937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14939 if (!SWIG_IsOK(res1
)) {
14940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14942 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14944 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14945 if (!SWIG_IsOK(ecode2
)) {
14946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14948 arg2
= static_cast< bool >(val2
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 (arg1
)->SetNoAntiAliasing(arg2
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= SWIG_Py_Void();
14963 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14964 PyObject
*resultobj
= 0;
14965 wxFont
*arg1
= (wxFont
*) 0 ;
14969 PyObject
*swig_obj
[1] ;
14971 if (!args
) SWIG_fail
;
14972 swig_obj
[0] = args
;
14973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14977 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14993 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14994 PyObject
*resultobj
= 0;
14995 wxFontEncoding result
;
14997 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14999 if (!wxPyCheckForApp()) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_From_int(static_cast< int >(result
));
15012 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
= 0;
15014 wxFontEncoding arg1
;
15017 PyObject
* obj0
= 0 ;
15018 char * kwnames
[] = {
15019 (char *) "encoding", NULL
15022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15023 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15024 if (!SWIG_IsOK(ecode1
)) {
15025 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15027 arg1
= static_cast< wxFontEncoding
>(val1
);
15029 if (!wxPyCheckForApp()) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 wxFont::SetDefaultEncoding(arg1
);
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= SWIG_Py_Void();
15042 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15045 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15046 return SWIG_Py_Void();
15049 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15050 return SWIG_Python_InitShadowInstance(args
);
15053 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15054 PyObject
*resultobj
= 0;
15055 wxPyFontEnumerator
*result
= 0 ;
15057 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15059 if (!wxPyCheckForApp()) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15072 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15073 PyObject
*resultobj
= 0;
15074 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15077 PyObject
*swig_obj
[1] ;
15079 if (!args
) SWIG_fail
;
15080 swig_obj
[0] = args
;
15081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15082 if (!SWIG_IsOK(res1
)) {
15083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15085 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= SWIG_Py_Void();
15100 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
= 0;
15102 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15103 PyObject
*arg2
= (PyObject
*) 0 ;
15104 PyObject
*arg3
= (PyObject
*) 0 ;
15110 PyObject
* obj0
= 0 ;
15111 PyObject
* obj1
= 0 ;
15112 PyObject
* obj2
= 0 ;
15113 PyObject
* obj3
= 0 ;
15114 char * kwnames
[] = {
15115 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15120 if (!SWIG_IsOK(res1
)) {
15121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15123 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15126 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15127 if (!SWIG_IsOK(ecode4
)) {
15128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15130 arg4
= static_cast< bool >(val4
);
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_Py_Void();
15144 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
= 0;
15146 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15147 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15148 bool arg3
= (bool) false ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 PyObject
* obj2
= 0 ;
15159 char * kwnames
[] = {
15160 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15165 if (!SWIG_IsOK(res1
)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15168 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15171 if (!SWIG_IsOK(ecode2
)) {
15172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15174 arg2
= static_cast< wxFontEncoding
>(val2
);
15177 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15178 if (!SWIG_IsOK(ecode3
)) {
15179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15181 arg3
= static_cast< bool >(val3
);
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15198 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
= 0;
15200 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15201 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15202 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15206 bool temp2
= false ;
15207 PyObject
* obj0
= 0 ;
15208 PyObject
* obj1
= 0 ;
15209 char * kwnames
[] = {
15210 (char *) "self",(char *) "facename", NULL
15213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15215 if (!SWIG_IsOK(res1
)) {
15216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15218 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15221 arg2
= wxString_in_helper(obj1
);
15222 if (arg2
== NULL
) SWIG_fail
;
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15249 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15250 PyObject
*resultobj
= 0;
15251 PyObject
*result
= 0 ;
15253 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= result
;
15267 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15268 PyObject
*resultobj
= 0;
15269 PyObject
*result
= 0 ;
15271 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
;
15285 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
= 0;
15287 wxString
*arg1
= 0 ;
15289 bool temp1
= false ;
15290 PyObject
* obj0
= 0 ;
15291 char * kwnames
[] = {
15292 (char *) "str", NULL
15295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15297 arg1
= wxString_in_helper(obj0
);
15298 if (arg1
== NULL
) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15324 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15327 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15328 return SWIG_Py_Void();
15331 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15332 return SWIG_Python_InitShadowInstance(args
);
15335 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15336 PyObject
*resultobj
= 0;
15337 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15343 PyObject
*swig_obj
[2] ;
15345 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15347 if (!SWIG_IsOK(res1
)) {
15348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15350 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15351 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15352 if (!SWIG_IsOK(ecode2
)) {
15353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15355 arg2
= static_cast< int >(val2
);
15356 if (arg1
) (arg1
)->Language
= arg2
;
15358 resultobj
= SWIG_Py_Void();
15365 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15366 PyObject
*resultobj
= 0;
15367 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15371 PyObject
*swig_obj
[1] ;
15373 if (!args
) SWIG_fail
;
15374 swig_obj
[0] = args
;
15375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15376 if (!SWIG_IsOK(res1
)) {
15377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15379 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15380 result
= (int) ((arg1
)->Language
);
15381 resultobj
= SWIG_From_int(static_cast< int >(result
));
15388 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15389 PyObject
*resultobj
= 0;
15390 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15391 wxString
*arg2
= (wxString
*) 0 ;
15394 bool temp2
= false ;
15395 PyObject
*swig_obj
[2] ;
15397 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15399 if (!SWIG_IsOK(res1
)) {
15400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15402 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15404 arg2
= wxString_in_helper(swig_obj
[1]);
15405 if (arg2
== NULL
) SWIG_fail
;
15408 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15410 resultobj
= SWIG_Py_Void();
15425 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15426 PyObject
*resultobj
= 0;
15427 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15428 wxString
*result
= 0 ;
15431 PyObject
*swig_obj
[1] ;
15433 if (!args
) SWIG_fail
;
15434 swig_obj
[0] = args
;
15435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15436 if (!SWIG_IsOK(res1
)) {
15437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15439 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15440 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15443 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15445 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15454 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15455 PyObject
*resultobj
= 0;
15456 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15457 wxString
*arg2
= (wxString
*) 0 ;
15460 bool temp2
= false ;
15461 PyObject
*swig_obj
[2] ;
15463 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15465 if (!SWIG_IsOK(res1
)) {
15466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15468 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15470 arg2
= wxString_in_helper(swig_obj
[1]);
15471 if (arg2
== NULL
) SWIG_fail
;
15474 if (arg1
) (arg1
)->Description
= *arg2
;
15476 resultobj
= SWIG_Py_Void();
15491 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15492 PyObject
*resultobj
= 0;
15493 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15494 wxString
*result
= 0 ;
15497 PyObject
*swig_obj
[1] ;
15499 if (!args
) SWIG_fail
;
15500 swig_obj
[0] = args
;
15501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15502 if (!SWIG_IsOK(res1
)) {
15503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15505 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15506 result
= (wxString
*)& ((arg1
)->Description
);
15509 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15511 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15520 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15522 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15523 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15524 return SWIG_Py_Void();
15527 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
= 0;
15529 int arg1
= (int) -1 ;
15530 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15531 wxLocale
*result
= 0 ;
15536 PyObject
* obj0
= 0 ;
15537 PyObject
* obj1
= 0 ;
15538 char * kwnames
[] = {
15539 (char *) "language",(char *) "flags", NULL
15542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15544 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15545 if (!SWIG_IsOK(ecode1
)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15548 arg1
= static_cast< int >(val1
);
15551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15552 if (!SWIG_IsOK(ecode2
)) {
15553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15555 arg2
= static_cast< int >(val2
);
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15570 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15571 PyObject
*resultobj
= 0;
15572 wxLocale
*arg1
= (wxLocale
*) 0 ;
15575 PyObject
*swig_obj
[1] ;
15577 if (!args
) SWIG_fail
;
15578 swig_obj
[0] = args
;
15579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15580 if (!SWIG_IsOK(res1
)) {
15581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15583 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_Py_Void();
15598 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
= 0;
15600 wxLocale
*arg1
= (wxLocale
*) 0 ;
15601 wxString
*arg2
= 0 ;
15602 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15603 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15604 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15605 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15606 bool arg5
= (bool) true ;
15607 bool arg6
= (bool) false ;
15611 bool temp2
= false ;
15612 bool temp3
= false ;
15613 bool temp4
= false ;
15618 PyObject
* obj0
= 0 ;
15619 PyObject
* obj1
= 0 ;
15620 PyObject
* obj2
= 0 ;
15621 PyObject
* obj3
= 0 ;
15622 PyObject
* obj4
= 0 ;
15623 PyObject
* obj5
= 0 ;
15624 char * kwnames
[] = {
15625 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15630 if (!SWIG_IsOK(res1
)) {
15631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15633 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15635 arg2
= wxString_in_helper(obj1
);
15636 if (arg2
== NULL
) SWIG_fail
;
15641 arg3
= wxString_in_helper(obj2
);
15642 if (arg3
== NULL
) SWIG_fail
;
15648 arg4
= wxString_in_helper(obj3
);
15649 if (arg4
== NULL
) SWIG_fail
;
15654 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15655 if (!SWIG_IsOK(ecode5
)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15658 arg5
= static_cast< bool >(val5
);
15661 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15662 if (!SWIG_IsOK(ecode6
)) {
15663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15665 arg6
= static_cast< bool >(val6
);
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15706 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxLocale
*arg1
= (wxLocale
*) 0 ;
15709 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15710 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15718 PyObject
* obj0
= 0 ;
15719 PyObject
* obj1
= 0 ;
15720 PyObject
* obj2
= 0 ;
15721 char * kwnames
[] = {
15722 (char *) "self",(char *) "language",(char *) "flags", NULL
15725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15727 if (!SWIG_IsOK(res1
)) {
15728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15730 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15733 if (!SWIG_IsOK(ecode2
)) {
15734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15736 arg2
= static_cast< int >(val2
);
15739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15740 if (!SWIG_IsOK(ecode3
)) {
15741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15743 arg3
= static_cast< int >(val3
);
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15760 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15761 PyObject
*resultobj
= 0;
15764 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 result
= (int)wxLocale::GetSystemLanguage();
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= SWIG_From_int(static_cast< int >(result
));
15778 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15779 PyObject
*resultobj
= 0;
15780 wxFontEncoding result
;
15782 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_From_int(static_cast< int >(result
));
15796 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15797 PyObject
*resultobj
= 0;
15800 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= wxLocale::GetSystemEncodingName();
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15820 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15821 PyObject
*resultobj
= 0;
15822 wxLocale
*arg1
= (wxLocale
*) 0 ;
15826 PyObject
*swig_obj
[1] ;
15828 if (!args
) SWIG_fail
;
15829 swig_obj
[0] = args
;
15830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15831 if (!SWIG_IsOK(res1
)) {
15832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15834 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15850 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15851 PyObject
*resultobj
= 0;
15852 wxLocale
*arg1
= (wxLocale
*) 0 ;
15856 PyObject
*swig_obj
[1] ;
15858 if (!args
) SWIG_fail
;
15859 swig_obj
[0] = args
;
15860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15861 if (!SWIG_IsOK(res1
)) {
15862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15864 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= ((wxLocale
const *)arg1
)->GetLocale();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15884 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15885 PyObject
*resultobj
= 0;
15886 wxLocale
*arg1
= (wxLocale
*) 0 ;
15890 PyObject
*swig_obj
[1] ;
15892 if (!args
) SWIG_fail
;
15893 swig_obj
[0] = args
;
15894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15895 if (!SWIG_IsOK(res1
)) {
15896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15898 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= SWIG_From_int(static_cast< int >(result
));
15912 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15913 PyObject
*resultobj
= 0;
15914 wxLocale
*arg1
= (wxLocale
*) 0 ;
15918 PyObject
*swig_obj
[1] ;
15920 if (!args
) SWIG_fail
;
15921 swig_obj
[0] = args
;
15922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15923 if (!SWIG_IsOK(res1
)) {
15924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15926 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= ((wxLocale
const *)arg1
)->GetSysName();
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15946 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15947 PyObject
*resultobj
= 0;
15948 wxLocale
*arg1
= (wxLocale
*) 0 ;
15952 PyObject
*swig_obj
[1] ;
15954 if (!args
) SWIG_fail
;
15955 swig_obj
[0] = args
;
15956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15957 if (!SWIG_IsOK(res1
)) {
15958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15960 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15980 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
= 0;
15982 wxString
*arg1
= 0 ;
15983 bool temp1
= false ;
15984 PyObject
* obj0
= 0 ;
15985 char * kwnames
[] = {
15986 (char *) "prefix", NULL
15989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15991 arg1
= wxString_in_helper(obj0
);
15992 if (arg1
== NULL
) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= SWIG_Py_Void();
16016 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
= 0;
16018 wxLocale
*arg1
= (wxLocale
*) 0 ;
16019 wxString
*arg2
= 0 ;
16023 bool temp2
= false ;
16024 PyObject
* obj0
= 0 ;
16025 PyObject
* obj1
= 0 ;
16026 char * kwnames
[] = {
16027 (char *) "self",(char *) "szDomain", NULL
16030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16035 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16037 arg2
= wxString_in_helper(obj1
);
16038 if (arg2
== NULL
) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16064 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
= 0;
16070 PyObject
* obj0
= 0 ;
16071 char * kwnames
[] = {
16072 (char *) "lang", NULL
16075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16076 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16077 if (!SWIG_IsOK(ecode1
)) {
16078 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16080 arg1
= static_cast< int >(val1
);
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (bool)wxLocale::IsAvailable(arg1
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16096 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
= 0;
16098 wxLocale
*arg1
= (wxLocale
*) 0 ;
16099 wxString
*arg2
= 0 ;
16103 bool temp2
= false ;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 char * kwnames
[] = {
16107 (char *) "self",(char *) "szDomain", NULL
16110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16112 if (!SWIG_IsOK(res1
)) {
16113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16115 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16117 arg2
= wxString_in_helper(obj1
);
16118 if (arg2
== NULL
) SWIG_fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16144 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
= 0;
16147 wxLanguageInfo
*result
= 0 ;
16150 PyObject
* obj0
= 0 ;
16151 char * kwnames
[] = {
16152 (char *) "lang", NULL
16155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16156 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16157 if (!SWIG_IsOK(ecode1
)) {
16158 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16160 arg1
= static_cast< int >(val1
);
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16174 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
= 0;
16180 PyObject
* obj0
= 0 ;
16181 char * kwnames
[] = {
16182 (char *) "lang", NULL
16185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16187 if (!SWIG_IsOK(ecode1
)) {
16188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16190 arg1
= static_cast< int >(val1
);
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= wxLocale::GetLanguageName(arg1
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16210 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
= 0;
16212 wxString
*arg1
= 0 ;
16213 wxLanguageInfo
*result
= 0 ;
16214 bool temp1
= false ;
16215 PyObject
* obj0
= 0 ;
16216 char * kwnames
[] = {
16217 (char *) "locale", NULL
16220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16222 arg1
= wxString_in_helper(obj0
);
16223 if (arg1
== NULL
) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16247 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
= 0;
16249 wxLanguageInfo
*arg1
= 0 ;
16252 PyObject
* obj0
= 0 ;
16253 char * kwnames
[] = {
16254 (char *) "info", NULL
16257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16258 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16259 if (!SWIG_IsOK(res1
)) {
16260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16265 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16272 resultobj
= SWIG_Py_Void();
16279 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
= 0;
16281 wxLocale
*arg1
= (wxLocale
*) 0 ;
16282 wxString
*arg2
= 0 ;
16283 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16284 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16288 bool temp2
= false ;
16289 bool temp3
= false ;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 PyObject
* obj2
= 0 ;
16293 char * kwnames
[] = {
16294 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16299 if (!SWIG_IsOK(res1
)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16302 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16304 arg2
= wxString_in_helper(obj1
);
16305 if (arg2
== NULL
) SWIG_fail
;
16310 arg3
= wxString_in_helper(obj2
);
16311 if (arg3
== NULL
) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16350 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16351 PyObject
*resultobj
= 0;
16352 wxLocale
*arg1
= (wxLocale
*) 0 ;
16353 wxString
*result
= 0 ;
16356 PyObject
*swig_obj
[1] ;
16358 if (!args
) SWIG_fail
;
16359 swig_obj
[0] = args
;
16360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16361 if (!SWIG_IsOK(res1
)) {
16362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16364 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16369 result
= (wxString
*) &_result_ref
;
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16378 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16387 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16390 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16391 return SWIG_Py_Void();
16394 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16395 return SWIG_Python_InitShadowInstance(args
);
16398 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
= 0;
16400 int arg1
= (int) -1 ;
16401 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16402 wxPyLocale
*result
= 0 ;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 char * kwnames
[] = {
16410 (char *) "language",(char *) "flags", NULL
16413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16415 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16416 if (!SWIG_IsOK(ecode1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16419 arg1
= static_cast< int >(val1
);
16422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16423 if (!SWIG_IsOK(ecode2
)) {
16424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16426 arg2
= static_cast< int >(val2
);
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16441 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16442 PyObject
*resultobj
= 0;
16443 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16446 PyObject
*swig_obj
[1] ;
16448 if (!args
) SWIG_fail
;
16449 swig_obj
[0] = args
;
16450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16451 if (!SWIG_IsOK(res1
)) {
16452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16454 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= SWIG_Py_Void();
16469 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
= 0;
16471 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16472 PyObject
*arg2
= (PyObject
*) 0 ;
16473 PyObject
*arg3
= (PyObject
*) 0 ;
16476 PyObject
* obj0
= 0 ;
16477 PyObject
* obj1
= 0 ;
16478 PyObject
* obj2
= 0 ;
16479 char * kwnames
[] = {
16480 (char *) "self",(char *) "self",(char *) "_class", NULL
16483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16485 if (!SWIG_IsOK(res1
)) {
16486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16488 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= SWIG_Py_Void();
16504 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
= 0;
16506 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16507 wxChar
*arg2
= (wxChar
*) 0 ;
16508 wxChar
*arg3
= (wxChar
*) NULL
;
16509 wxChar
*result
= 0 ;
16516 PyObject
* obj0
= 0 ;
16517 PyObject
* obj1
= 0 ;
16518 PyObject
* obj2
= 0 ;
16519 char * kwnames
[] = {
16520 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16525 if (!SWIG_IsOK(res1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16528 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16529 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16530 if (!SWIG_IsOK(res2
)) {
16531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16533 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16535 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16536 if (!SWIG_IsOK(res3
)) {
16537 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16539 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16554 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
= 0;
16556 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16557 wxChar
*arg2
= (wxChar
*) 0 ;
16558 wxChar
*arg3
= (wxChar
*) 0 ;
16560 wxChar
*arg5
= (wxChar
*) NULL
;
16561 wxChar
*result
= 0 ;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 PyObject
* obj2
= 0 ;
16575 PyObject
* obj3
= 0 ;
16576 PyObject
* obj4
= 0 ;
16577 char * kwnames
[] = {
16578 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16583 if (!SWIG_IsOK(res1
)) {
16584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16586 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16588 if (!SWIG_IsOK(res2
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16591 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16592 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16593 if (!SWIG_IsOK(res3
)) {
16594 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16596 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16597 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16598 if (!SWIG_IsOK(ecode4
)) {
16599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16601 arg4
= static_cast< size_t >(val4
);
16603 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16604 if (!SWIG_IsOK(res5
)) {
16605 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16607 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16622 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16625 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16626 return SWIG_Py_Void();
16629 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16630 return SWIG_Python_InitShadowInstance(args
);
16633 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16634 PyObject
*resultobj
= 0;
16635 wxLocale
*result
= 0 ;
16637 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (wxLocale
*)wxGetLocale();
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16651 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16652 PyObject
*resultobj
= 0;
16653 wxString
*arg1
= 0 ;
16655 bool temp1
= false ;
16657 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16659 arg1
= wxString_in_helper(swig_obj
[0]);
16660 if (arg1
== NULL
) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= wxGetTranslation((wxString
const &)*arg1
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16690 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16691 PyObject
*resultobj
= 0;
16692 wxString
*arg1
= 0 ;
16693 wxString
*arg2
= 0 ;
16695 bool temp1
= false ;
16696 bool temp2
= false ;
16698 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16700 arg1
= wxString_in_helper(swig_obj
[0]);
16701 if (arg1
== NULL
) SWIG_fail
;
16705 arg2
= wxString_in_helper(swig_obj
[1]);
16706 if (arg2
== NULL
) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16744 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16745 PyObject
*resultobj
= 0;
16746 wxString
*arg1
= 0 ;
16747 wxString
*arg2
= 0 ;
16750 bool temp1
= false ;
16751 bool temp2
= false ;
16755 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16757 arg1
= wxString_in_helper(swig_obj
[0]);
16758 if (arg1
== NULL
) SWIG_fail
;
16762 arg2
= wxString_in_helper(swig_obj
[1]);
16763 if (arg2
== NULL
) SWIG_fail
;
16766 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16767 if (!SWIG_IsOK(ecode3
)) {
16768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16770 arg3
= static_cast< size_t >(val3
);
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16806 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16807 PyObject
*resultobj
= 0;
16808 wxString
*arg1
= 0 ;
16809 wxString
*arg2
= 0 ;
16811 wxString
*arg4
= 0 ;
16813 bool temp1
= false ;
16814 bool temp2
= false ;
16817 bool temp4
= false ;
16819 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16821 arg1
= wxString_in_helper(swig_obj
[0]);
16822 if (arg1
== NULL
) SWIG_fail
;
16826 arg2
= wxString_in_helper(swig_obj
[1]);
16827 if (arg2
== NULL
) SWIG_fail
;
16830 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16831 if (!SWIG_IsOK(ecode3
)) {
16832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16834 arg3
= static_cast< size_t >(val3
);
16836 arg4
= wxString_in_helper(swig_obj
[3]);
16837 if (arg4
== NULL
) SWIG_fail
;
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16883 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16887 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16890 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16893 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16896 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16899 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16903 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16908 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16909 PyObject
*resultobj
= 0;
16910 wxEncodingConverter
*result
= 0 ;
16912 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16926 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16927 PyObject
*resultobj
= 0;
16928 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16931 PyObject
*swig_obj
[1] ;
16933 if (!args
) SWIG_fail
;
16934 swig_obj
[0] = args
;
16935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16939 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_Py_Void();
16954 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
= 0;
16956 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16957 wxFontEncoding arg2
;
16958 wxFontEncoding arg3
;
16959 int arg4
= (int) wxCONVERT_STRICT
;
16969 PyObject
* obj0
= 0 ;
16970 PyObject
* obj1
= 0 ;
16971 PyObject
* obj2
= 0 ;
16972 PyObject
* obj3
= 0 ;
16973 char * kwnames
[] = {
16974 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16979 if (!SWIG_IsOK(res1
)) {
16980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16982 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16984 if (!SWIG_IsOK(ecode2
)) {
16985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16987 arg2
= static_cast< wxFontEncoding
>(val2
);
16988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16989 if (!SWIG_IsOK(ecode3
)) {
16990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16992 arg3
= static_cast< wxFontEncoding
>(val3
);
16994 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16995 if (!SWIG_IsOK(ecode4
)) {
16996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16998 arg4
= static_cast< int >(val4
);
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17015 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
= 0;
17017 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17018 wxString
*arg2
= 0 ;
17022 bool temp2
= false ;
17023 PyObject
* obj0
= 0 ;
17024 PyObject
* obj1
= 0 ;
17025 char * kwnames
[] = {
17026 (char *) "self",(char *) "input", NULL
17029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17031 if (!SWIG_IsOK(res1
)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17034 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17036 arg2
= wxString_in_helper(obj1
);
17037 if (arg2
== NULL
) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17067 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
= 0;
17069 wxFontEncoding arg1
;
17070 int arg2
= (int) wxPLATFORM_CURRENT
;
17071 wxFontEncodingArray result
;
17076 PyObject
* obj0
= 0 ;
17077 PyObject
* obj1
= 0 ;
17078 char * kwnames
[] = {
17079 (char *) "enc",(char *) "platform", NULL
17082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17083 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17084 if (!SWIG_IsOK(ecode1
)) {
17085 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17087 arg1
= static_cast< wxFontEncoding
>(val1
);
17089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17090 if (!SWIG_IsOK(ecode2
)) {
17091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17093 arg2
= static_cast< int >(val2
);
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= PyList_New(0);
17103 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17104 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17105 PyList_Append(resultobj
, number
);
17115 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17116 PyObject
*resultobj
= 0;
17117 wxFontEncoding arg1
;
17118 wxFontEncodingArray result
;
17121 PyObject
* obj0
= 0 ;
17122 char * kwnames
[] = {
17123 (char *) "enc", NULL
17126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17127 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17128 if (!SWIG_IsOK(ecode1
)) {
17129 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17131 arg1
= static_cast< wxFontEncoding
>(val1
);
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17139 resultobj
= PyList_New(0);
17140 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17141 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17142 PyList_Append(resultobj
, number
);
17152 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
= 0;
17154 wxFontEncoding arg1
;
17155 wxFontEncoding arg2
;
17161 PyObject
* obj0
= 0 ;
17162 PyObject
* obj1
= 0 ;
17163 char * kwnames
[] = {
17164 (char *) "encIn",(char *) "encOut", NULL
17167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17168 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17169 if (!SWIG_IsOK(ecode1
)) {
17170 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17172 arg1
= static_cast< wxFontEncoding
>(val1
);
17173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17174 if (!SWIG_IsOK(ecode2
)) {
17175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17177 arg2
= static_cast< wxFontEncoding
>(val2
);
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17193 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17196 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17197 return SWIG_Py_Void();
17200 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17201 return SWIG_Python_InitShadowInstance(args
);
17204 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17205 PyObject
*resultobj
= 0;
17206 wxDC
*arg1
= (wxDC
*) 0 ;
17209 PyObject
*swig_obj
[1] ;
17211 if (!args
) SWIG_fail
;
17212 swig_obj
[0] = args
;
17213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17214 if (!SWIG_IsOK(res1
)) {
17215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_Py_Void();
17232 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
= 0;
17234 wxDC
*arg1
= (wxDC
*) 0 ;
17237 wxColour
*arg4
= 0 ;
17238 int arg5
= (int) wxFLOOD_SURFACE
;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 PyObject
* obj2
= 0 ;
17252 PyObject
* obj3
= 0 ;
17253 PyObject
* obj4
= 0 ;
17254 char * kwnames
[] = {
17255 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17260 if (!SWIG_IsOK(res1
)) {
17261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17265 if (!SWIG_IsOK(ecode2
)) {
17266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17268 arg2
= static_cast< int >(val2
);
17269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17270 if (!SWIG_IsOK(ecode3
)) {
17271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17273 arg3
= static_cast< int >(val3
);
17276 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17280 if (!SWIG_IsOK(ecode5
)) {
17281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17283 arg5
= static_cast< int >(val5
);
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17300 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
= 0;
17302 wxDC
*arg1
= (wxDC
*) 0 ;
17303 wxPoint
*arg2
= 0 ;
17304 wxColour
*arg3
= 0 ;
17305 int arg4
= (int) wxFLOOD_SURFACE
;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 PyObject
* obj2
= 0 ;
17316 PyObject
* obj3
= 0 ;
17317 char * kwnames
[] = {
17318 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17323 if (!SWIG_IsOK(res1
)) {
17324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17329 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17333 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17336 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17337 if (!SWIG_IsOK(ecode4
)) {
17338 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17340 arg4
= static_cast< int >(val4
);
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17357 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17358 PyObject
*resultobj
= 0;
17359 wxDC
*arg1
= (wxDC
*) 0 ;
17361 wxColour
*arg3
= 0 ;
17362 wxColour
*arg4
= 0 ;
17363 wxPoint
*arg5
= 0 ;
17370 PyObject
* obj0
= 0 ;
17371 PyObject
* obj1
= 0 ;
17372 PyObject
* obj2
= 0 ;
17373 PyObject
* obj3
= 0 ;
17374 PyObject
* obj4
= 0 ;
17375 char * kwnames
[] = {
17376 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17381 if (!SWIG_IsOK(res1
)) {
17382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17387 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17391 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17395 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17399 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= SWIG_Py_Void();
17414 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
= 0;
17416 wxDC
*arg1
= (wxDC
*) 0 ;
17418 wxColour
*arg3
= 0 ;
17419 wxColour
*arg4
= 0 ;
17420 wxDirection arg5
= (wxDirection
) wxEAST
;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 PyObject
* obj2
= 0 ;
17431 PyObject
* obj3
= 0 ;
17432 PyObject
* obj4
= 0 ;
17433 char * kwnames
[] = {
17434 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17439 if (!SWIG_IsOK(res1
)) {
17440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17445 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17449 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17453 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17457 if (!SWIG_IsOK(ecode5
)) {
17458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17460 arg5
= static_cast< wxDirection
>(val5
);
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= SWIG_Py_Void();
17475 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
= 0;
17477 wxDC
*arg1
= (wxDC
*) 0 ;
17487 PyObject
* obj0
= 0 ;
17488 PyObject
* obj1
= 0 ;
17489 PyObject
* obj2
= 0 ;
17490 char * kwnames
[] = {
17491 (char *) "self",(char *) "x",(char *) "y", NULL
17494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17496 if (!SWIG_IsOK(res1
)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17501 if (!SWIG_IsOK(ecode2
)) {
17502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17504 arg2
= static_cast< int >(val2
);
17505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17506 if (!SWIG_IsOK(ecode3
)) {
17507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17509 arg3
= static_cast< int >(val3
);
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17513 wxPyEndAllowThreads(__tstate
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17523 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
= 0;
17525 wxDC
*arg1
= (wxDC
*) 0 ;
17526 wxPoint
*arg2
= 0 ;
17531 PyObject
* obj0
= 0 ;
17532 PyObject
* obj1
= 0 ;
17533 char * kwnames
[] = {
17534 (char *) "self",(char *) "pt", NULL
17537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17539 if (!SWIG_IsOK(res1
)) {
17540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17560 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
= 0;
17562 wxDC
*arg1
= (wxDC
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 PyObject
* obj2
= 0 ;
17580 PyObject
* obj3
= 0 ;
17581 PyObject
* obj4
= 0 ;
17582 char * kwnames
[] = {
17583 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17588 if (!SWIG_IsOK(res1
)) {
17589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17593 if (!SWIG_IsOK(ecode2
)) {
17594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17596 arg2
= static_cast< int >(val2
);
17597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17598 if (!SWIG_IsOK(ecode3
)) {
17599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17601 arg3
= static_cast< int >(val3
);
17602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17603 if (!SWIG_IsOK(ecode4
)) {
17604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17606 arg4
= static_cast< int >(val4
);
17607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17608 if (!SWIG_IsOK(ecode5
)) {
17609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17611 arg5
= static_cast< int >(val5
);
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= SWIG_Py_Void();
17625 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
= 0;
17627 wxDC
*arg1
= (wxDC
*) 0 ;
17628 wxPoint
*arg2
= 0 ;
17629 wxPoint
*arg3
= 0 ;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 PyObject
* obj2
= 0 ;
17637 char * kwnames
[] = {
17638 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17643 if (!SWIG_IsOK(res1
)) {
17644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17646 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17653 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_Py_Void();
17668 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
= 0;
17670 wxDC
*arg1
= (wxDC
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 PyObject
* obj2
= 0 ;
17682 char * kwnames
[] = {
17683 (char *) "self",(char *) "x",(char *) "y", NULL
17686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17688 if (!SWIG_IsOK(res1
)) {
17689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17693 if (!SWIG_IsOK(ecode2
)) {
17694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17696 arg2
= static_cast< int >(val2
);
17697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17698 if (!SWIG_IsOK(ecode3
)) {
17699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17701 arg3
= static_cast< int >(val3
);
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 (arg1
)->CrossHair(arg2
,arg3
);
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= SWIG_Py_Void();
17715 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
= 0;
17717 wxDC
*arg1
= (wxDC
*) 0 ;
17718 wxPoint
*arg2
= 0 ;
17722 PyObject
* obj0
= 0 ;
17723 PyObject
* obj1
= 0 ;
17724 char * kwnames
[] = {
17725 (char *) "self",(char *) "pt", NULL
17728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17730 if (!SWIG_IsOK(res1
)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17736 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= SWIG_Py_Void();
17751 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
= 0;
17753 wxDC
*arg1
= (wxDC
*) 0 ;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 PyObject
* obj2
= 0 ;
17777 PyObject
* obj3
= 0 ;
17778 PyObject
* obj4
= 0 ;
17779 PyObject
* obj5
= 0 ;
17780 PyObject
* obj6
= 0 ;
17781 char * kwnames
[] = {
17782 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17787 if (!SWIG_IsOK(res1
)) {
17788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17792 if (!SWIG_IsOK(ecode2
)) {
17793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17795 arg2
= static_cast< int >(val2
);
17796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17797 if (!SWIG_IsOK(ecode3
)) {
17798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17800 arg3
= static_cast< int >(val3
);
17801 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17802 if (!SWIG_IsOK(ecode4
)) {
17803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17805 arg4
= static_cast< int >(val4
);
17806 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17807 if (!SWIG_IsOK(ecode5
)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17810 arg5
= static_cast< int >(val5
);
17811 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17812 if (!SWIG_IsOK(ecode6
)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17815 arg6
= static_cast< int >(val6
);
17816 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17817 if (!SWIG_IsOK(ecode7
)) {
17818 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17820 arg7
= static_cast< int >(val7
);
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= SWIG_Py_Void();
17834 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
= 0;
17836 wxDC
*arg1
= (wxDC
*) 0 ;
17837 wxPoint
*arg2
= 0 ;
17838 wxPoint
*arg3
= 0 ;
17839 wxPoint
*arg4
= 0 ;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 PyObject
* obj2
= 0 ;
17848 PyObject
* obj3
= 0 ;
17849 char * kwnames
[] = {
17850 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17855 if (!SWIG_IsOK(res1
)) {
17856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17861 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17865 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17869 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 resultobj
= SWIG_Py_Void();
17884 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
= 0;
17886 wxDC
*arg1
= (wxDC
*) 0 ;
17901 PyObject
* obj0
= 0 ;
17902 PyObject
* obj1
= 0 ;
17903 PyObject
* obj2
= 0 ;
17904 PyObject
* obj3
= 0 ;
17905 PyObject
* obj4
= 0 ;
17906 char * kwnames
[] = {
17907 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17912 if (!SWIG_IsOK(res1
)) {
17913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17917 if (!SWIG_IsOK(ecode2
)) {
17918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17920 arg2
= static_cast< int >(val2
);
17921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17922 if (!SWIG_IsOK(ecode3
)) {
17923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17925 arg3
= static_cast< int >(val3
);
17926 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17927 if (!SWIG_IsOK(ecode4
)) {
17928 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17930 arg4
= static_cast< int >(val4
);
17931 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17932 if (!SWIG_IsOK(ecode5
)) {
17933 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17935 arg5
= static_cast< int >(val5
);
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_Py_Void();
17949 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
= 0;
17951 wxDC
*arg1
= (wxDC
*) 0 ;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 char * kwnames
[] = {
17959 (char *) "self",(char *) "rect", NULL
17962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17970 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 resultobj
= SWIG_Py_Void();
17985 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
= 0;
17987 wxDC
*arg1
= (wxDC
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 PyObject
* obj2
= 0 ;
18011 PyObject
* obj3
= 0 ;
18012 PyObject
* obj4
= 0 ;
18013 PyObject
* obj5
= 0 ;
18014 PyObject
* obj6
= 0 ;
18015 char * kwnames
[] = {
18016 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18026 if (!SWIG_IsOK(ecode2
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18029 arg2
= static_cast< int >(val2
);
18030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18031 if (!SWIG_IsOK(ecode3
)) {
18032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18034 arg3
= static_cast< int >(val3
);
18035 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18036 if (!SWIG_IsOK(ecode4
)) {
18037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18039 arg4
= static_cast< int >(val4
);
18040 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18041 if (!SWIG_IsOK(ecode5
)) {
18042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18044 arg5
= static_cast< int >(val5
);
18045 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18046 if (!SWIG_IsOK(ecode6
)) {
18047 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18049 arg6
= static_cast< double >(val6
);
18050 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18051 if (!SWIG_IsOK(ecode7
)) {
18052 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18054 arg7
= static_cast< double >(val7
);
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= SWIG_Py_Void();
18068 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
= 0;
18070 wxDC
*arg1
= (wxDC
*) 0 ;
18071 wxPoint
*arg2
= 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 PyObject
* obj2
= 0 ;
18086 PyObject
* obj3
= 0 ;
18087 PyObject
* obj4
= 0 ;
18088 char * kwnames
[] = {
18089 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18100 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18104 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18106 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18107 if (!SWIG_IsOK(ecode4
)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18110 arg4
= static_cast< double >(val4
);
18111 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18112 if (!SWIG_IsOK(ecode5
)) {
18113 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18115 arg5
= static_cast< double >(val5
);
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= SWIG_Py_Void();
18129 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
= 0;
18131 wxDC
*arg1
= (wxDC
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 PyObject
* obj2
= 0 ;
18143 char * kwnames
[] = {
18144 (char *) "self",(char *) "x",(char *) "y", NULL
18147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18149 if (!SWIG_IsOK(res1
)) {
18150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18154 if (!SWIG_IsOK(ecode2
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18157 arg2
= static_cast< int >(val2
);
18158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18159 if (!SWIG_IsOK(ecode3
)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18162 arg3
= static_cast< int >(val3
);
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 (arg1
)->DrawPoint(arg2
,arg3
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_Py_Void();
18176 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
= 0;
18178 wxDC
*arg1
= (wxDC
*) 0 ;
18179 wxPoint
*arg2
= 0 ;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 char * kwnames
[] = {
18186 (char *) "self",(char *) "pt", NULL
18189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18191 if (!SWIG_IsOK(res1
)) {
18192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= SWIG_Py_Void();
18212 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
= 0;
18214 wxDC
*arg1
= (wxDC
*) 0 ;
18229 PyObject
* obj0
= 0 ;
18230 PyObject
* obj1
= 0 ;
18231 PyObject
* obj2
= 0 ;
18232 PyObject
* obj3
= 0 ;
18233 PyObject
* obj4
= 0 ;
18234 char * kwnames
[] = {
18235 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18240 if (!SWIG_IsOK(res1
)) {
18241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18245 if (!SWIG_IsOK(ecode2
)) {
18246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18248 arg2
= static_cast< int >(val2
);
18249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18250 if (!SWIG_IsOK(ecode3
)) {
18251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18253 arg3
= static_cast< int >(val3
);
18254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18255 if (!SWIG_IsOK(ecode4
)) {
18256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18258 arg4
= static_cast< int >(val4
);
18259 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18260 if (!SWIG_IsOK(ecode5
)) {
18261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18263 arg5
= static_cast< int >(val5
);
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= SWIG_Py_Void();
18277 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
= 0;
18279 wxDC
*arg1
= (wxDC
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char * kwnames
[] = {
18287 (char *) "self",(char *) "rect", NULL
18290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18292 if (!SWIG_IsOK(res1
)) {
18293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18298 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_Py_Void();
18313 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
= 0;
18315 wxDC
*arg1
= (wxDC
*) 0 ;
18316 wxPoint
*arg2
= 0 ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 PyObject
* obj2
= 0 ;
18325 char * kwnames
[] = {
18326 (char *) "self",(char *) "pt",(char *) "sz", NULL
18329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18331 if (!SWIG_IsOK(res1
)) {
18332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18341 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_Py_Void();
18356 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
= 0;
18358 wxDC
*arg1
= (wxDC
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 PyObject
* obj1
= 0 ;
18378 PyObject
* obj2
= 0 ;
18379 PyObject
* obj3
= 0 ;
18380 PyObject
* obj4
= 0 ;
18381 PyObject
* obj5
= 0 ;
18382 char * kwnames
[] = {
18383 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18388 if (!SWIG_IsOK(res1
)) {
18389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18393 if (!SWIG_IsOK(ecode2
)) {
18394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18396 arg2
= static_cast< int >(val2
);
18397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18398 if (!SWIG_IsOK(ecode3
)) {
18399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18401 arg3
= static_cast< int >(val3
);
18402 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18403 if (!SWIG_IsOK(ecode4
)) {
18404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18406 arg4
= static_cast< int >(val4
);
18407 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18408 if (!SWIG_IsOK(ecode5
)) {
18409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18411 arg5
= static_cast< int >(val5
);
18412 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18413 if (!SWIG_IsOK(ecode6
)) {
18414 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18416 arg6
= static_cast< double >(val6
);
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_Py_Void();
18430 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
= 0;
18432 wxDC
*arg1
= (wxDC
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 PyObject
* obj2
= 0 ;
18443 char * kwnames
[] = {
18444 (char *) "self",(char *) "r",(char *) "radius", NULL
18447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18449 if (!SWIG_IsOK(res1
)) {
18450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18455 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18457 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18458 if (!SWIG_IsOK(ecode3
)) {
18459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18461 arg3
= static_cast< double >(val3
);
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= SWIG_Py_Void();
18475 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
= 0;
18477 wxDC
*arg1
= (wxDC
*) 0 ;
18478 wxPoint
*arg2
= 0 ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 PyObject
* obj2
= 0 ;
18490 PyObject
* obj3
= 0 ;
18491 char * kwnames
[] = {
18492 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18503 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18507 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18509 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18510 if (!SWIG_IsOK(ecode4
)) {
18511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18513 arg4
= static_cast< double >(val4
);
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= SWIG_Py_Void();
18527 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
= 0;
18529 wxDC
*arg1
= (wxDC
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 PyObject
* obj2
= 0 ;
18544 PyObject
* obj3
= 0 ;
18545 char * kwnames
[] = {
18546 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18551 if (!SWIG_IsOK(res1
)) {
18552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18556 if (!SWIG_IsOK(ecode2
)) {
18557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18559 arg2
= static_cast< int >(val2
);
18560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18561 if (!SWIG_IsOK(ecode3
)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18564 arg3
= static_cast< int >(val3
);
18565 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18566 if (!SWIG_IsOK(ecode4
)) {
18567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18569 arg4
= static_cast< int >(val4
);
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= SWIG_Py_Void();
18583 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
= 0;
18585 wxDC
*arg1
= (wxDC
*) 0 ;
18586 wxPoint
*arg2
= 0 ;
18593 PyObject
* obj0
= 0 ;
18594 PyObject
* obj1
= 0 ;
18595 PyObject
* obj2
= 0 ;
18596 char * kwnames
[] = {
18597 (char *) "self",(char *) "pt",(char *) "radius", NULL
18600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18602 if (!SWIG_IsOK(res1
)) {
18603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18608 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18611 if (!SWIG_IsOK(ecode3
)) {
18612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18614 arg3
= static_cast< int >(val3
);
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= SWIG_Py_Void();
18628 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
= 0;
18630 wxDC
*arg1
= (wxDC
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 PyObject
* obj2
= 0 ;
18648 PyObject
* obj3
= 0 ;
18649 PyObject
* obj4
= 0 ;
18650 char * kwnames
[] = {
18651 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18656 if (!SWIG_IsOK(res1
)) {
18657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18661 if (!SWIG_IsOK(ecode2
)) {
18662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18664 arg2
= static_cast< int >(val2
);
18665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18666 if (!SWIG_IsOK(ecode3
)) {
18667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18669 arg3
= static_cast< int >(val3
);
18670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18671 if (!SWIG_IsOK(ecode4
)) {
18672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18674 arg4
= static_cast< int >(val4
);
18675 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18676 if (!SWIG_IsOK(ecode5
)) {
18677 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18679 arg5
= static_cast< int >(val5
);
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_Py_Void();
18693 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
= 0;
18695 wxDC
*arg1
= (wxDC
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 PyObject
* obj1
= 0 ;
18702 char * kwnames
[] = {
18703 (char *) "self",(char *) "rect", NULL
18706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18708 if (!SWIG_IsOK(res1
)) {
18709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18714 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18722 resultobj
= SWIG_Py_Void();
18729 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
= 0;
18731 wxDC
*arg1
= (wxDC
*) 0 ;
18732 wxPoint
*arg2
= 0 ;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj1
= 0 ;
18740 PyObject
* obj2
= 0 ;
18741 char * kwnames
[] = {
18742 (char *) "self",(char *) "pt",(char *) "sz", NULL
18745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18747 if (!SWIG_IsOK(res1
)) {
18748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18753 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18757 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= SWIG_Py_Void();
18772 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
= 0;
18774 wxDC
*arg1
= (wxDC
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 PyObject
* obj2
= 0 ;
18789 PyObject
* obj3
= 0 ;
18790 char * kwnames
[] = {
18791 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18796 if (!SWIG_IsOK(res1
)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18801 if (!SWIG_IsOK(res2
)) {
18802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18807 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18809 if (!SWIG_IsOK(ecode3
)) {
18810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18812 arg3
= static_cast< int >(val3
);
18813 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18814 if (!SWIG_IsOK(ecode4
)) {
18815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18817 arg4
= static_cast< int >(val4
);
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_Py_Void();
18831 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
= 0;
18833 wxDC
*arg1
= (wxDC
*) 0 ;
18835 wxPoint
*arg3
= 0 ;
18841 PyObject
* obj0
= 0 ;
18842 PyObject
* obj1
= 0 ;
18843 PyObject
* obj2
= 0 ;
18844 char * kwnames
[] = {
18845 (char *) "self",(char *) "icon",(char *) "pt", NULL
18848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18850 if (!SWIG_IsOK(res1
)) {
18851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18855 if (!SWIG_IsOK(res2
)) {
18856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18861 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= SWIG_Py_Void();
18879 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
= 0;
18881 wxDC
*arg1
= (wxDC
*) 0 ;
18882 wxBitmap
*arg2
= 0 ;
18885 bool arg5
= (bool) false ;
18896 PyObject
* obj0
= 0 ;
18897 PyObject
* obj1
= 0 ;
18898 PyObject
* obj2
= 0 ;
18899 PyObject
* obj3
= 0 ;
18900 PyObject
* obj4
= 0 ;
18901 char * kwnames
[] = {
18902 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18907 if (!SWIG_IsOK(res1
)) {
18908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18912 if (!SWIG_IsOK(res2
)) {
18913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18918 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18920 if (!SWIG_IsOK(ecode3
)) {
18921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18923 arg3
= static_cast< int >(val3
);
18924 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18925 if (!SWIG_IsOK(ecode4
)) {
18926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18928 arg4
= static_cast< int >(val4
);
18930 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18931 if (!SWIG_IsOK(ecode5
)) {
18932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18934 arg5
= static_cast< bool >(val5
);
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= SWIG_Py_Void();
18949 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
= 0;
18951 wxDC
*arg1
= (wxDC
*) 0 ;
18952 wxBitmap
*arg2
= 0 ;
18953 wxPoint
*arg3
= 0 ;
18954 bool arg4
= (bool) false ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 PyObject
* obj2
= 0 ;
18965 PyObject
* obj3
= 0 ;
18966 char * kwnames
[] = {
18967 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18972 if (!SWIG_IsOK(res1
)) {
18973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18977 if (!SWIG_IsOK(res2
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18983 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18986 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18989 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18990 if (!SWIG_IsOK(ecode4
)) {
18991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18993 arg4
= static_cast< bool >(val4
);
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_Py_Void();
19008 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
= 0;
19010 wxDC
*arg1
= (wxDC
*) 0 ;
19011 wxString
*arg2
= 0 ;
19016 bool temp2
= false ;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 PyObject
* obj2
= 0 ;
19024 PyObject
* obj3
= 0 ;
19025 char * kwnames
[] = {
19026 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19031 if (!SWIG_IsOK(res1
)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19036 arg2
= wxString_in_helper(obj1
);
19037 if (arg2
== NULL
) SWIG_fail
;
19040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19041 if (!SWIG_IsOK(ecode3
)) {
19042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19044 arg3
= static_cast< int >(val3
);
19045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19046 if (!SWIG_IsOK(ecode4
)) {
19047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19049 arg4
= static_cast< int >(val4
);
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 resultobj
= SWIG_Py_Void();
19071 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
= 0;
19073 wxDC
*arg1
= (wxDC
*) 0 ;
19074 wxString
*arg2
= 0 ;
19075 wxPoint
*arg3
= 0 ;
19078 bool temp2
= false ;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 PyObject
* obj2
= 0 ;
19083 char * kwnames
[] = {
19084 (char *) "self",(char *) "text",(char *) "pt", NULL
19087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19089 if (!SWIG_IsOK(res1
)) {
19090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19094 arg2
= wxString_in_helper(obj1
);
19095 if (arg2
== NULL
) SWIG_fail
;
19100 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= SWIG_Py_Void();
19123 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
= 0;
19125 wxDC
*arg1
= (wxDC
*) 0 ;
19126 wxString
*arg2
= 0 ;
19132 bool temp2
= false ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 PyObject
* obj2
= 0 ;
19142 PyObject
* obj3
= 0 ;
19143 PyObject
* obj4
= 0 ;
19144 char * kwnames
[] = {
19145 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19150 if (!SWIG_IsOK(res1
)) {
19151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19155 arg2
= wxString_in_helper(obj1
);
19156 if (arg2
== NULL
) SWIG_fail
;
19159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19160 if (!SWIG_IsOK(ecode3
)) {
19161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19163 arg3
= static_cast< int >(val3
);
19164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19165 if (!SWIG_IsOK(ecode4
)) {
19166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19168 arg4
= static_cast< int >(val4
);
19169 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19170 if (!SWIG_IsOK(ecode5
)) {
19171 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19173 arg5
= static_cast< double >(val5
);
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= SWIG_Py_Void();
19195 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
= 0;
19197 wxDC
*arg1
= (wxDC
*) 0 ;
19198 wxString
*arg2
= 0 ;
19199 wxPoint
*arg3
= 0 ;
19203 bool temp2
= false ;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 PyObject
* obj2
= 0 ;
19210 PyObject
* obj3
= 0 ;
19211 char * kwnames
[] = {
19212 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19217 if (!SWIG_IsOK(res1
)) {
19218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19222 arg2
= wxString_in_helper(obj1
);
19223 if (arg2
== NULL
) SWIG_fail
;
19228 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19230 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19231 if (!SWIG_IsOK(ecode4
)) {
19232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19234 arg4
= static_cast< double >(val4
);
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 resultobj
= SWIG_Py_Void();
19256 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
= 0;
19258 wxDC
*arg1
= (wxDC
*) 0 ;
19263 wxDC
*arg6
= (wxDC
*) 0 ;
19266 int arg9
= (int) wxCOPY
;
19267 bool arg10
= (bool) false ;
19268 int arg11
= (int) -1 ;
19269 int arg12
= (int) -1 ;
19295 PyObject
* obj0
= 0 ;
19296 PyObject
* obj1
= 0 ;
19297 PyObject
* obj2
= 0 ;
19298 PyObject
* obj3
= 0 ;
19299 PyObject
* obj4
= 0 ;
19300 PyObject
* obj5
= 0 ;
19301 PyObject
* obj6
= 0 ;
19302 PyObject
* obj7
= 0 ;
19303 PyObject
* obj8
= 0 ;
19304 PyObject
* obj9
= 0 ;
19305 PyObject
* obj10
= 0 ;
19306 PyObject
* obj11
= 0 ;
19307 char * kwnames
[] = {
19308 (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
19311 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
;
19312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19313 if (!SWIG_IsOK(res1
)) {
19314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19318 if (!SWIG_IsOK(ecode2
)) {
19319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19321 arg2
= static_cast< int >(val2
);
19322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19323 if (!SWIG_IsOK(ecode3
)) {
19324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19326 arg3
= static_cast< int >(val3
);
19327 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19328 if (!SWIG_IsOK(ecode4
)) {
19329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19331 arg4
= static_cast< int >(val4
);
19332 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19333 if (!SWIG_IsOK(ecode5
)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19336 arg5
= static_cast< int >(val5
);
19337 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19338 if (!SWIG_IsOK(res6
)) {
19339 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19341 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19342 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19343 if (!SWIG_IsOK(ecode7
)) {
19344 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19346 arg7
= static_cast< int >(val7
);
19347 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19348 if (!SWIG_IsOK(ecode8
)) {
19349 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19351 arg8
= static_cast< int >(val8
);
19353 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19354 if (!SWIG_IsOK(ecode9
)) {
19355 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19357 arg9
= static_cast< int >(val9
);
19360 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19361 if (!SWIG_IsOK(ecode10
)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19364 arg10
= static_cast< bool >(val10
);
19367 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19368 if (!SWIG_IsOK(ecode11
)) {
19369 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19371 arg11
= static_cast< int >(val11
);
19374 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19375 if (!SWIG_IsOK(ecode12
)) {
19376 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19378 arg12
= static_cast< int >(val12
);
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19395 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
= 0;
19397 wxDC
*arg1
= (wxDC
*) 0 ;
19398 wxPoint
*arg2
= 0 ;
19400 wxDC
*arg4
= (wxDC
*) 0 ;
19401 wxPoint
*arg5
= 0 ;
19402 int arg6
= (int) wxCOPY
;
19403 bool arg7
= (bool) false ;
19404 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19405 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 PyObject
* obj2
= 0 ;
19422 PyObject
* obj3
= 0 ;
19423 PyObject
* obj4
= 0 ;
19424 PyObject
* obj5
= 0 ;
19425 PyObject
* obj6
= 0 ;
19426 PyObject
* obj7
= 0 ;
19427 char * kwnames
[] = {
19428 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19433 if (!SWIG_IsOK(res1
)) {
19434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19443 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19445 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19446 if (!SWIG_IsOK(res4
)) {
19447 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19449 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19452 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19455 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19456 if (!SWIG_IsOK(ecode6
)) {
19457 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19459 arg6
= static_cast< int >(val6
);
19462 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19463 if (!SWIG_IsOK(ecode7
)) {
19464 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19466 arg7
= static_cast< bool >(val7
);
19471 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19477 wxPyEndAllowThreads(__tstate
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19489 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
= 0;
19491 wxDC
*arg1
= (wxDC
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 PyObject
* obj2
= 0 ;
19509 PyObject
* obj3
= 0 ;
19510 PyObject
* obj4
= 0 ;
19511 char * kwnames
[] = {
19512 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19517 if (!SWIG_IsOK(res1
)) {
19518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19522 if (!SWIG_IsOK(ecode2
)) {
19523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19525 arg2
= static_cast< int >(val2
);
19526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19527 if (!SWIG_IsOK(ecode3
)) {
19528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19530 arg3
= static_cast< int >(val3
);
19531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19532 if (!SWIG_IsOK(ecode4
)) {
19533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19535 arg4
= static_cast< int >(val4
);
19536 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19537 if (!SWIG_IsOK(ecode5
)) {
19538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19540 arg5
= static_cast< int >(val5
);
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_Py_Void();
19554 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
= 0;
19556 wxDC
*arg1
= (wxDC
*) 0 ;
19557 wxPoint
*arg2
= 0 ;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 PyObject
* obj2
= 0 ;
19566 char * kwnames
[] = {
19567 (char *) "self",(char *) "pt",(char *) "sz", NULL
19570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19572 if (!SWIG_IsOK(res1
)) {
19573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19582 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= SWIG_Py_Void();
19597 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
= 0;
19599 wxDC
*arg1
= (wxDC
*) 0 ;
19600 wxRegion
*arg2
= 0 ;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 char * kwnames
[] = {
19608 (char *) "self",(char *) "region", NULL
19611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19613 if (!SWIG_IsOK(res1
)) {
19614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19618 if (!SWIG_IsOK(res2
)) {
19619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19624 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= SWIG_Py_Void();
19638 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
= 0;
19640 wxDC
*arg1
= (wxDC
*) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 PyObject
* obj1
= 0 ;
19647 char * kwnames
[] = {
19648 (char *) "self",(char *) "rect", NULL
19651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19653 if (!SWIG_IsOK(res1
)) {
19654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19659 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= SWIG_Py_Void();
19674 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
= 0;
19676 wxDC
*arg1
= (wxDC
*) 0 ;
19678 wxPoint
*arg3
= (wxPoint
*) 0 ;
19679 int arg4
= (int) 0 ;
19680 int arg5
= (int) 0 ;
19687 PyObject
* obj0
= 0 ;
19688 PyObject
* obj1
= 0 ;
19689 PyObject
* obj2
= 0 ;
19690 PyObject
* obj3
= 0 ;
19691 char * kwnames
[] = {
19692 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19697 if (!SWIG_IsOK(res1
)) {
19698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19702 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19703 if (arg3
== NULL
) SWIG_fail
;
19706 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19707 if (!SWIG_IsOK(ecode4
)) {
19708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19710 arg4
= static_cast< int >(val4
);
19713 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19714 if (!SWIG_IsOK(ecode5
)) {
19715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19717 arg5
= static_cast< int >(val5
);
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_Py_Void();
19727 if (arg3
) delete [] arg3
;
19732 if (arg3
) delete [] arg3
;
19738 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
= 0;
19740 wxDC
*arg1
= (wxDC
*) 0 ;
19742 wxPoint
*arg3
= (wxPoint
*) 0 ;
19743 int arg4
= (int) 0 ;
19744 int arg5
= (int) 0 ;
19745 int arg6
= (int) wxODDEVEN_RULE
;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 PyObject
* obj2
= 0 ;
19757 PyObject
* obj3
= 0 ;
19758 PyObject
* obj4
= 0 ;
19759 char * kwnames
[] = {
19760 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19765 if (!SWIG_IsOK(res1
)) {
19766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19770 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19771 if (arg3
== NULL
) SWIG_fail
;
19774 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19775 if (!SWIG_IsOK(ecode4
)) {
19776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19778 arg4
= static_cast< int >(val4
);
19781 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19782 if (!SWIG_IsOK(ecode5
)) {
19783 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19785 arg5
= static_cast< int >(val5
);
19788 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19789 if (!SWIG_IsOK(ecode6
)) {
19790 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19792 arg6
= static_cast< int >(val6
);
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= SWIG_Py_Void();
19802 if (arg3
) delete [] arg3
;
19807 if (arg3
) delete [] arg3
;
19813 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
= 0;
19815 wxDC
*arg1
= (wxDC
*) 0 ;
19816 wxString
*arg2
= 0 ;
19818 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19819 int arg5
= (int) -1 ;
19822 bool temp2
= false ;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 PyObject
* obj2
= 0 ;
19831 PyObject
* obj3
= 0 ;
19832 PyObject
* obj4
= 0 ;
19833 char * kwnames
[] = {
19834 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19839 if (!SWIG_IsOK(res1
)) {
19840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19844 arg2
= wxString_in_helper(obj1
);
19845 if (arg2
== NULL
) SWIG_fail
;
19850 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19854 if (!SWIG_IsOK(ecode4
)) {
19855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19857 arg4
= static_cast< int >(val4
);
19860 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19861 if (!SWIG_IsOK(ecode5
)) {
19862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19864 arg5
= static_cast< int >(val5
);
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= SWIG_Py_Void();
19887 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
= 0;
19889 wxDC
*arg1
= (wxDC
*) 0 ;
19890 wxString
*arg2
= 0 ;
19891 wxBitmap
*arg3
= 0 ;
19893 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19894 int arg6
= (int) -1 ;
19898 bool temp2
= false ;
19906 PyObject
* obj0
= 0 ;
19907 PyObject
* obj1
= 0 ;
19908 PyObject
* obj2
= 0 ;
19909 PyObject
* obj3
= 0 ;
19910 PyObject
* obj4
= 0 ;
19911 PyObject
* obj5
= 0 ;
19912 char * kwnames
[] = {
19913 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19918 if (!SWIG_IsOK(res1
)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19923 arg2
= wxString_in_helper(obj1
);
19924 if (arg2
== NULL
) SWIG_fail
;
19927 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19928 if (!SWIG_IsOK(res3
)) {
19929 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19934 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19937 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19940 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19941 if (!SWIG_IsOK(ecode5
)) {
19942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19944 arg5
= static_cast< int >(val5
);
19947 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19948 if (!SWIG_IsOK(ecode6
)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19951 arg6
= static_cast< int >(val6
);
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19974 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
= 0;
19976 wxDC
*arg1
= (wxDC
*) 0 ;
19978 wxPoint
*arg3
= (wxPoint
*) 0 ;
19981 PyObject
* obj0
= 0 ;
19982 PyObject
* obj1
= 0 ;
19983 char * kwnames
[] = {
19984 (char *) "self",(char *) "points", NULL
19987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19989 if (!SWIG_IsOK(res1
)) {
19990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19994 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19995 if (arg3
== NULL
) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 (arg1
)->DrawSpline(arg2
,arg3
);
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_Py_Void();
20005 if (arg3
) delete [] arg3
;
20010 if (arg3
) delete [] arg3
;
20016 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20017 PyObject
*resultobj
= 0;
20018 wxDC
*arg1
= (wxDC
*) 0 ;
20021 PyObject
*swig_obj
[1] ;
20023 if (!args
) SWIG_fail
;
20024 swig_obj
[0] = args
;
20025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20026 if (!SWIG_IsOK(res1
)) {
20027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= SWIG_Py_Void();
20043 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
= 0;
20045 wxDC
*arg1
= (wxDC
*) 0 ;
20046 wxString
*arg2
= 0 ;
20050 bool temp2
= false ;
20051 PyObject
* obj0
= 0 ;
20052 PyObject
* obj1
= 0 ;
20053 char * kwnames
[] = {
20054 (char *) "self",(char *) "message", NULL
20057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20059 if (!SWIG_IsOK(res1
)) {
20060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20064 arg2
= wxString_in_helper(obj1
);
20065 if (arg2
== NULL
) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20091 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20092 PyObject
*resultobj
= 0;
20093 wxDC
*arg1
= (wxDC
*) 0 ;
20096 PyObject
*swig_obj
[1] ;
20098 if (!args
) SWIG_fail
;
20099 swig_obj
[0] = args
;
20100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20101 if (!SWIG_IsOK(res1
)) {
20102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= SWIG_Py_Void();
20118 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20119 PyObject
*resultobj
= 0;
20120 wxDC
*arg1
= (wxDC
*) 0 ;
20123 PyObject
*swig_obj
[1] ;
20125 if (!args
) SWIG_fail
;
20126 swig_obj
[0] = args
;
20127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20128 if (!SWIG_IsOK(res1
)) {
20129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 (arg1
)->StartPage();
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 resultobj
= SWIG_Py_Void();
20145 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20146 PyObject
*resultobj
= 0;
20147 wxDC
*arg1
= (wxDC
*) 0 ;
20150 PyObject
*swig_obj
[1] ;
20152 if (!args
) SWIG_fail
;
20153 swig_obj
[0] = args
;
20154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20155 if (!SWIG_IsOK(res1
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= SWIG_Py_Void();
20172 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
= 0;
20174 wxDC
*arg1
= (wxDC
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 PyObject
* obj1
= 0 ;
20182 char * kwnames
[] = {
20183 (char *) "self",(char *) "font", NULL
20186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20188 if (!SWIG_IsOK(res1
)) {
20189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20193 if (!SWIG_IsOK(res2
)) {
20194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20199 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20202 (arg1
)->SetFont((wxFont
const &)*arg2
);
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20206 resultobj
= SWIG_Py_Void();
20213 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
= 0;
20215 wxDC
*arg1
= (wxDC
*) 0 ;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 char * kwnames
[] = {
20224 (char *) "self",(char *) "pen", NULL
20227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20229 if (!SWIG_IsOK(res1
)) {
20230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20232 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20233 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20234 if (!SWIG_IsOK(res2
)) {
20235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20240 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 (arg1
)->SetPen((wxPen
const &)*arg2
);
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20247 resultobj
= SWIG_Py_Void();
20254 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
= 0;
20256 wxDC
*arg1
= (wxDC
*) 0 ;
20257 wxBrush
*arg2
= 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char * kwnames
[] = {
20265 (char *) "self",(char *) "brush", NULL
20268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20270 if (!SWIG_IsOK(res1
)) {
20271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20275 if (!SWIG_IsOK(res2
)) {
20276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20281 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= SWIG_Py_Void();
20295 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
= 0;
20297 wxDC
*arg1
= (wxDC
*) 0 ;
20298 wxBrush
*arg2
= 0 ;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20305 char * kwnames
[] = {
20306 (char *) "self",(char *) "brush", NULL
20309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20311 if (!SWIG_IsOK(res1
)) {
20312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20315 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20316 if (!SWIG_IsOK(res2
)) {
20317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20322 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 resultobj
= SWIG_Py_Void();
20336 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
= 0;
20338 wxDC
*arg1
= (wxDC
*) 0 ;
20344 PyObject
* obj0
= 0 ;
20345 PyObject
* obj1
= 0 ;
20346 char * kwnames
[] = {
20347 (char *) "self",(char *) "mode", NULL
20350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20352 if (!SWIG_IsOK(res1
)) {
20353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20357 if (!SWIG_IsOK(ecode2
)) {
20358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20360 arg2
= static_cast< int >(val2
);
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 (arg1
)->SetBackgroundMode(arg2
);
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= SWIG_Py_Void();
20374 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
= 0;
20376 wxDC
*arg1
= (wxDC
*) 0 ;
20377 wxPalette
*arg2
= 0 ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 char * kwnames
[] = {
20385 (char *) "self",(char *) "palette", NULL
20388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20390 if (!SWIG_IsOK(res1
)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20395 if (!SWIG_IsOK(res2
)) {
20396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20401 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 resultobj
= SWIG_Py_Void();
20415 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20416 PyObject
*resultobj
= 0;
20417 wxDC
*arg1
= (wxDC
*) 0 ;
20420 PyObject
*swig_obj
[1] ;
20422 if (!args
) SWIG_fail
;
20423 swig_obj
[0] = args
;
20424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20425 if (!SWIG_IsOK(res1
)) {
20426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 (arg1
)->DestroyClippingRegion();
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 resultobj
= SWIG_Py_Void();
20442 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20443 PyObject
*resultobj
= 0;
20444 wxDC
*arg1
= (wxDC
*) 0 ;
20445 int *arg2
= (int *) 0 ;
20446 int *arg3
= (int *) 0 ;
20447 int *arg4
= (int *) 0 ;
20448 int *arg5
= (int *) 0 ;
20452 int res2
= SWIG_TMPOBJ
;
20454 int res3
= SWIG_TMPOBJ
;
20456 int res4
= SWIG_TMPOBJ
;
20458 int res5
= SWIG_TMPOBJ
;
20459 PyObject
*swig_obj
[1] ;
20465 if (!args
) SWIG_fail
;
20466 swig_obj
[0] = args
;
20467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20468 if (!SWIG_IsOK(res1
)) {
20469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= SWIG_Py_Void();
20479 if (SWIG_IsTmpObj(res2
)) {
20480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20482 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20485 if (SWIG_IsTmpObj(res3
)) {
20486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20488 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20491 if (SWIG_IsTmpObj(res4
)) {
20492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20494 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20497 if (SWIG_IsTmpObj(res5
)) {
20498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20500 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20509 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20510 PyObject
*resultobj
= 0;
20511 wxDC
*arg1
= (wxDC
*) 0 ;
20515 PyObject
*swig_obj
[1] ;
20517 if (!args
) SWIG_fail
;
20518 swig_obj
[0] = args
;
20519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20520 if (!SWIG_IsOK(res1
)) {
20521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= wxDC_GetClippingRect(arg1
);
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20537 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20538 PyObject
*resultobj
= 0;
20539 wxDC
*arg1
= (wxDC
*) 0 ;
20543 PyObject
*swig_obj
[1] ;
20545 if (!args
) SWIG_fail
;
20546 swig_obj
[0] = args
;
20547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20548 if (!SWIG_IsOK(res1
)) {
20549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= SWIG_From_int(static_cast< int >(result
));
20565 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20566 PyObject
*resultobj
= 0;
20567 wxDC
*arg1
= (wxDC
*) 0 ;
20571 PyObject
*swig_obj
[1] ;
20573 if (!args
) SWIG_fail
;
20574 swig_obj
[0] = args
;
20575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20576 if (!SWIG_IsOK(res1
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= SWIG_From_int(static_cast< int >(result
));
20593 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
= 0;
20595 wxDC
*arg1
= (wxDC
*) 0 ;
20596 wxString
*arg2
= 0 ;
20597 int *arg3
= (int *) 0 ;
20598 int *arg4
= (int *) 0 ;
20601 bool temp2
= false ;
20603 int res3
= SWIG_TMPOBJ
;
20605 int res4
= SWIG_TMPOBJ
;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20608 char * kwnames
[] = {
20609 (char *) "self",(char *) "string", NULL
20614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20616 if (!SWIG_IsOK(res1
)) {
20617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20621 arg2
= wxString_in_helper(obj1
);
20622 if (arg2
== NULL
) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_Py_Void();
20632 if (SWIG_IsTmpObj(res3
)) {
20633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20635 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20638 if (SWIG_IsTmpObj(res4
)) {
20639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20641 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20658 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
= 0;
20660 wxDC
*arg1
= (wxDC
*) 0 ;
20661 wxString
*arg2
= 0 ;
20662 int *arg3
= (int *) 0 ;
20663 int *arg4
= (int *) 0 ;
20664 int *arg5
= (int *) 0 ;
20665 int *arg6
= (int *) 0 ;
20666 wxFont
*arg7
= (wxFont
*) NULL
;
20669 bool temp2
= false ;
20671 int res3
= SWIG_TMPOBJ
;
20673 int res4
= SWIG_TMPOBJ
;
20675 int res5
= SWIG_TMPOBJ
;
20677 int res6
= SWIG_TMPOBJ
;
20680 PyObject
* obj0
= 0 ;
20681 PyObject
* obj1
= 0 ;
20682 PyObject
* obj2
= 0 ;
20683 char * kwnames
[] = {
20684 (char *) "self",(char *) "string",(char *) "font", NULL
20691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20693 if (!SWIG_IsOK(res1
)) {
20694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20698 arg2
= wxString_in_helper(obj1
);
20699 if (arg2
== NULL
) SWIG_fail
;
20703 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20704 if (!SWIG_IsOK(res7
)) {
20705 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20707 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_Py_Void();
20716 if (SWIG_IsTmpObj(res3
)) {
20717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20719 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20722 if (SWIG_IsTmpObj(res4
)) {
20723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20725 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20726 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20728 if (SWIG_IsTmpObj(res5
)) {
20729 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20731 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20732 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20734 if (SWIG_IsTmpObj(res6
)) {
20735 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20737 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20754 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
= 0;
20756 wxDC
*arg1
= (wxDC
*) 0 ;
20757 wxString
*arg2
= 0 ;
20758 int *arg3
= (int *) 0 ;
20759 int *arg4
= (int *) 0 ;
20760 int *arg5
= (int *) 0 ;
20761 wxFont
*arg6
= (wxFont
*) NULL
;
20764 bool temp2
= false ;
20766 int res3
= SWIG_TMPOBJ
;
20768 int res4
= SWIG_TMPOBJ
;
20770 int res5
= SWIG_TMPOBJ
;
20773 PyObject
* obj0
= 0 ;
20774 PyObject
* obj1
= 0 ;
20775 PyObject
* obj2
= 0 ;
20776 char * kwnames
[] = {
20777 (char *) "self",(char *) "text",(char *) "font", NULL
20783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20785 if (!SWIG_IsOK(res1
)) {
20786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20790 arg2
= wxString_in_helper(obj1
);
20791 if (arg2
== NULL
) SWIG_fail
;
20795 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20796 if (!SWIG_IsOK(res6
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20799 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= SWIG_Py_Void();
20808 if (SWIG_IsTmpObj(res3
)) {
20809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20811 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20814 if (SWIG_IsTmpObj(res4
)) {
20815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20817 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20818 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20820 if (SWIG_IsTmpObj(res5
)) {
20821 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20823 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20840 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
= 0;
20842 wxDC
*arg1
= (wxDC
*) 0 ;
20843 wxString
*arg2
= 0 ;
20847 bool temp2
= false ;
20848 PyObject
* obj0
= 0 ;
20849 PyObject
* obj1
= 0 ;
20850 char * kwnames
[] = {
20851 (char *) "self",(char *) "text", NULL
20854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20856 if (!SWIG_IsOK(res1
)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20861 arg2
= wxString_in_helper(obj1
);
20862 if (arg2
== NULL
) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= wxArrayInt2PyList_helper(result
);
20888 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20889 PyObject
*resultobj
= 0;
20890 wxDC
*arg1
= (wxDC
*) 0 ;
20894 PyObject
*swig_obj
[1] ;
20896 if (!args
) SWIG_fail
;
20897 swig_obj
[0] = args
;
20898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20899 if (!SWIG_IsOK(res1
)) {
20900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 result
= (arg1
)->GetSize();
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20916 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20917 PyObject
*resultobj
= 0;
20918 wxDC
*arg1
= (wxDC
*) 0 ;
20919 int *arg2
= (int *) 0 ;
20920 int *arg3
= (int *) 0 ;
20924 int res2
= SWIG_TMPOBJ
;
20926 int res3
= SWIG_TMPOBJ
;
20927 PyObject
*swig_obj
[1] ;
20931 if (!args
) SWIG_fail
;
20932 swig_obj
[0] = args
;
20933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20934 if (!SWIG_IsOK(res1
)) {
20935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 (arg1
)->GetSize(arg2
,arg3
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_Py_Void();
20945 if (SWIG_IsTmpObj(res2
)) {
20946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20948 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20951 if (SWIG_IsTmpObj(res3
)) {
20952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20954 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20963 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20964 PyObject
*resultobj
= 0;
20965 wxDC
*arg1
= (wxDC
*) 0 ;
20969 PyObject
*swig_obj
[1] ;
20971 if (!args
) SWIG_fail
;
20972 swig_obj
[0] = args
;
20973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20974 if (!SWIG_IsOK(res1
)) {
20975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20991 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20992 PyObject
*resultobj
= 0;
20993 wxDC
*arg1
= (wxDC
*) 0 ;
20994 int *arg2
= (int *) 0 ;
20995 int *arg3
= (int *) 0 ;
20999 int res2
= SWIG_TMPOBJ
;
21001 int res3
= SWIG_TMPOBJ
;
21002 PyObject
*swig_obj
[1] ;
21006 if (!args
) SWIG_fail
;
21007 swig_obj
[0] = args
;
21008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21009 if (!SWIG_IsOK(res1
)) {
21010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= SWIG_Py_Void();
21020 if (SWIG_IsTmpObj(res2
)) {
21021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21023 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21026 if (SWIG_IsTmpObj(res3
)) {
21027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21029 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21038 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
= 0;
21040 wxDC
*arg1
= (wxDC
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char * kwnames
[] = {
21050 (char *) "self",(char *) "x", NULL
21053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21055 if (!SWIG_IsOK(res1
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21060 if (!SWIG_IsOK(ecode2
)) {
21061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21063 arg2
= static_cast< int >(val2
);
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= SWIG_From_int(static_cast< int >(result
));
21077 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
= 0;
21079 wxDC
*arg1
= (wxDC
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 char * kwnames
[] = {
21089 (char *) "self",(char *) "y", NULL
21092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21094 if (!SWIG_IsOK(res1
)) {
21095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21099 if (!SWIG_IsOK(ecode2
)) {
21100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21102 arg2
= static_cast< int >(val2
);
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= SWIG_From_int(static_cast< int >(result
));
21116 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
= 0;
21118 wxDC
*arg1
= (wxDC
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char * kwnames
[] = {
21128 (char *) "self",(char *) "x", NULL
21131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21133 if (!SWIG_IsOK(res1
)) {
21134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21138 if (!SWIG_IsOK(ecode2
)) {
21139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21141 arg2
= static_cast< int >(val2
);
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= SWIG_From_int(static_cast< int >(result
));
21155 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
= 0;
21157 wxDC
*arg1
= (wxDC
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char * kwnames
[] = {
21167 (char *) "self",(char *) "y", NULL
21170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21172 if (!SWIG_IsOK(res1
)) {
21173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21177 if (!SWIG_IsOK(ecode2
)) {
21178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21180 arg2
= static_cast< int >(val2
);
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= SWIG_From_int(static_cast< int >(result
));
21194 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
= 0;
21196 wxDC
*arg1
= (wxDC
*) 0 ;
21203 PyObject
* obj0
= 0 ;
21204 PyObject
* obj1
= 0 ;
21205 char * kwnames
[] = {
21206 (char *) "self",(char *) "x", NULL
21209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21211 if (!SWIG_IsOK(res1
)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21216 if (!SWIG_IsOK(ecode2
)) {
21217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21219 arg2
= static_cast< int >(val2
);
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= SWIG_From_int(static_cast< int >(result
));
21233 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
= 0;
21235 wxDC
*arg1
= (wxDC
*) 0 ;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 char * kwnames
[] = {
21245 (char *) "self",(char *) "y", NULL
21248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21250 if (!SWIG_IsOK(res1
)) {
21251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21255 if (!SWIG_IsOK(ecode2
)) {
21256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21258 arg2
= static_cast< int >(val2
);
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_From_int(static_cast< int >(result
));
21272 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
= 0;
21274 wxDC
*arg1
= (wxDC
*) 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 char * kwnames
[] = {
21284 (char *) "self",(char *) "x", NULL
21287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21289 if (!SWIG_IsOK(res1
)) {
21290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21294 if (!SWIG_IsOK(ecode2
)) {
21295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21297 arg2
= static_cast< int >(val2
);
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_From_int(static_cast< int >(result
));
21311 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
= 0;
21313 wxDC
*arg1
= (wxDC
*) 0 ;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 char * kwnames
[] = {
21323 (char *) "self",(char *) "y", NULL
21326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21328 if (!SWIG_IsOK(res1
)) {
21329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21333 if (!SWIG_IsOK(ecode2
)) {
21334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21336 arg2
= static_cast< int >(val2
);
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= SWIG_From_int(static_cast< int >(result
));
21350 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21351 PyObject
*resultobj
= 0;
21352 wxDC
*arg1
= (wxDC
*) 0 ;
21356 PyObject
*swig_obj
[1] ;
21358 if (!args
) SWIG_fail
;
21359 swig_obj
[0] = args
;
21360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21361 if (!SWIG_IsOK(res1
)) {
21362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21380 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21381 PyObject
*resultobj
= 0;
21382 wxDC
*arg1
= (wxDC
*) 0 ;
21386 PyObject
*swig_obj
[1] ;
21388 if (!args
) SWIG_fail
;
21389 swig_obj
[0] = args
;
21390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21391 if (!SWIG_IsOK(res1
)) {
21392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21410 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21411 PyObject
*resultobj
= 0;
21412 wxDC
*arg1
= (wxDC
*) 0 ;
21416 PyObject
*swig_obj
[1] ;
21418 if (!args
) SWIG_fail
;
21419 swig_obj
[0] = args
;
21420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21421 if (!SWIG_IsOK(res1
)) {
21422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_From_int(static_cast< int >(result
));
21438 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21439 PyObject
*resultobj
= 0;
21440 wxDC
*arg1
= (wxDC
*) 0 ;
21444 PyObject
*swig_obj
[1] ;
21446 if (!args
) SWIG_fail
;
21447 swig_obj
[0] = args
;
21448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21449 if (!SWIG_IsOK(res1
)) {
21450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= ((wxDC
const *)arg1
)->GetPPI();
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21466 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21467 PyObject
*resultobj
= 0;
21468 wxDC
*arg1
= (wxDC
*) 0 ;
21472 PyObject
*swig_obj
[1] ;
21474 if (!args
) SWIG_fail
;
21475 swig_obj
[0] = args
;
21476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21477 if (!SWIG_IsOK(res1
)) {
21478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21496 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21497 PyObject
*resultobj
= 0;
21498 wxDC
*arg1
= (wxDC
*) 0 ;
21502 PyObject
*swig_obj
[1] ;
21504 if (!args
) SWIG_fail
;
21505 swig_obj
[0] = args
;
21506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21507 if (!SWIG_IsOK(res1
)) {
21508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_From_int(static_cast< int >(result
));
21524 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21525 PyObject
*resultobj
= 0;
21526 wxDC
*arg1
= (wxDC
*) 0 ;
21527 wxBrush
*result
= 0 ;
21530 PyObject
*swig_obj
[1] ;
21532 if (!args
) SWIG_fail
;
21533 swig_obj
[0] = args
;
21534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21543 result
= (wxBrush
*) &_result_ref
;
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21549 wxBrush
* resultptr
= new wxBrush(*result
);
21550 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21558 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21559 PyObject
*resultobj
= 0;
21560 wxDC
*arg1
= (wxDC
*) 0 ;
21561 wxBrush
*result
= 0 ;
21564 PyObject
*swig_obj
[1] ;
21566 if (!args
) SWIG_fail
;
21567 swig_obj
[0] = args
;
21568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21569 if (!SWIG_IsOK(res1
)) {
21570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21577 result
= (wxBrush
*) &_result_ref
;
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 wxBrush
* resultptr
= new wxBrush(*result
);
21584 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21592 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21593 PyObject
*resultobj
= 0;
21594 wxDC
*arg1
= (wxDC
*) 0 ;
21595 wxFont
*result
= 0 ;
21598 PyObject
*swig_obj
[1] ;
21600 if (!args
) SWIG_fail
;
21601 swig_obj
[0] = args
;
21602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21603 if (!SWIG_IsOK(res1
)) {
21604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21611 result
= (wxFont
*) &_result_ref
;
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21617 wxFont
* resultptr
= new wxFont(*result
);
21618 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21626 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21627 PyObject
*resultobj
= 0;
21628 wxDC
*arg1
= (wxDC
*) 0 ;
21629 wxPen
*result
= 0 ;
21632 PyObject
*swig_obj
[1] ;
21634 if (!args
) SWIG_fail
;
21635 swig_obj
[0] = args
;
21636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21637 if (!SWIG_IsOK(res1
)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21645 result
= (wxPen
*) &_result_ref
;
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21651 wxPen
* resultptr
= new wxPen(*result
);
21652 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21660 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21661 PyObject
*resultobj
= 0;
21662 wxDC
*arg1
= (wxDC
*) 0 ;
21663 wxColour
*result
= 0 ;
21666 PyObject
*swig_obj
[1] ;
21668 if (!args
) SWIG_fail
;
21669 swig_obj
[0] = args
;
21670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21671 if (!SWIG_IsOK(res1
)) {
21672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21679 result
= (wxColour
*) &_result_ref
;
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21691 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21692 PyObject
*resultobj
= 0;
21693 wxDC
*arg1
= (wxDC
*) 0 ;
21694 wxColour
*result
= 0 ;
21697 PyObject
*swig_obj
[1] ;
21699 if (!args
) SWIG_fail
;
21700 swig_obj
[0] = args
;
21701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21702 if (!SWIG_IsOK(res1
)) {
21703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21710 result
= (wxColour
*) &_result_ref
;
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21722 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
= 0;
21724 wxDC
*arg1
= (wxDC
*) 0 ;
21725 wxColour
*arg2
= 0 ;
21729 PyObject
* obj0
= 0 ;
21730 PyObject
* obj1
= 0 ;
21731 char * kwnames
[] = {
21732 (char *) "self",(char *) "colour", NULL
21735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21737 if (!SWIG_IsOK(res1
)) {
21738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21743 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_Py_Void();
21758 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
= 0;
21760 wxDC
*arg1
= (wxDC
*) 0 ;
21761 wxColour
*arg2
= 0 ;
21765 PyObject
* obj0
= 0 ;
21766 PyObject
* obj1
= 0 ;
21767 char * kwnames
[] = {
21768 (char *) "self",(char *) "colour", NULL
21771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21773 if (!SWIG_IsOK(res1
)) {
21774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21779 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_Py_Void();
21794 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21795 PyObject
*resultobj
= 0;
21796 wxDC
*arg1
= (wxDC
*) 0 ;
21800 PyObject
*swig_obj
[1] ;
21802 if (!args
) SWIG_fail
;
21803 swig_obj
[0] = args
;
21804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21805 if (!SWIG_IsOK(res1
)) {
21806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= SWIG_From_int(static_cast< int >(result
));
21822 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
= 0;
21824 wxDC
*arg1
= (wxDC
*) 0 ;
21830 PyObject
* obj0
= 0 ;
21831 PyObject
* obj1
= 0 ;
21832 char * kwnames
[] = {
21833 (char *) "self",(char *) "mode", NULL
21836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21838 if (!SWIG_IsOK(res1
)) {
21839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21843 if (!SWIG_IsOK(ecode2
)) {
21844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21846 arg2
= static_cast< int >(val2
);
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 (arg1
)->SetMapMode(arg2
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21853 resultobj
= SWIG_Py_Void();
21860 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21861 PyObject
*resultobj
= 0;
21862 wxDC
*arg1
= (wxDC
*) 0 ;
21863 double *arg2
= (double *) 0 ;
21864 double *arg3
= (double *) 0 ;
21868 int res2
= SWIG_TMPOBJ
;
21870 int res3
= SWIG_TMPOBJ
;
21871 PyObject
*swig_obj
[1] ;
21875 if (!args
) SWIG_fail
;
21876 swig_obj
[0] = args
;
21877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 resultobj
= SWIG_Py_Void();
21889 if (SWIG_IsTmpObj(res2
)) {
21890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21892 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21895 if (SWIG_IsTmpObj(res3
)) {
21896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21898 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21907 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21908 PyObject
*resultobj
= 0;
21909 wxDC
*arg1
= (wxDC
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 PyObject
* obj2
= 0 ;
21921 char * kwnames
[] = {
21922 (char *) "self",(char *) "x",(char *) "y", NULL
21925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21927 if (!SWIG_IsOK(res1
)) {
21928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21930 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21931 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21932 if (!SWIG_IsOK(ecode2
)) {
21933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21935 arg2
= static_cast< double >(val2
);
21936 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21937 if (!SWIG_IsOK(ecode3
)) {
21938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21940 arg3
= static_cast< double >(val3
);
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 (arg1
)->SetUserScale(arg2
,arg3
);
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= SWIG_Py_Void();
21954 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21955 PyObject
*resultobj
= 0;
21956 wxDC
*arg1
= (wxDC
*) 0 ;
21957 double *arg2
= (double *) 0 ;
21958 double *arg3
= (double *) 0 ;
21962 int res2
= SWIG_TMPOBJ
;
21964 int res3
= SWIG_TMPOBJ
;
21965 PyObject
*swig_obj
[1] ;
21969 if (!args
) SWIG_fail
;
21970 swig_obj
[0] = args
;
21971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21972 if (!SWIG_IsOK(res1
)) {
21973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 (arg1
)->GetLogicalScale(arg2
,arg3
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= SWIG_Py_Void();
21983 if (SWIG_IsTmpObj(res2
)) {
21984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21986 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21989 if (SWIG_IsTmpObj(res3
)) {
21990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21992 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22001 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
= 0;
22003 wxDC
*arg1
= (wxDC
*) 0 ;
22012 PyObject
* obj0
= 0 ;
22013 PyObject
* obj1
= 0 ;
22014 PyObject
* obj2
= 0 ;
22015 char * kwnames
[] = {
22016 (char *) "self",(char *) "x",(char *) "y", NULL
22019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22021 if (!SWIG_IsOK(res1
)) {
22022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22025 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22026 if (!SWIG_IsOK(ecode2
)) {
22027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22029 arg2
= static_cast< double >(val2
);
22030 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22031 if (!SWIG_IsOK(ecode3
)) {
22032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22034 arg3
= static_cast< double >(val3
);
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 (arg1
)->SetLogicalScale(arg2
,arg3
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= SWIG_Py_Void();
22048 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22049 PyObject
*resultobj
= 0;
22050 wxDC
*arg1
= (wxDC
*) 0 ;
22054 PyObject
*swig_obj
[1] ;
22056 if (!args
) SWIG_fail
;
22057 swig_obj
[0] = args
;
22058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22059 if (!SWIG_IsOK(res1
)) {
22060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22076 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22077 PyObject
*resultobj
= 0;
22078 wxDC
*arg1
= (wxDC
*) 0 ;
22079 int *arg2
= (int *) 0 ;
22080 int *arg3
= (int *) 0 ;
22084 int res2
= SWIG_TMPOBJ
;
22086 int res3
= SWIG_TMPOBJ
;
22087 PyObject
*swig_obj
[1] ;
22091 if (!args
) SWIG_fail
;
22092 swig_obj
[0] = args
;
22093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22094 if (!SWIG_IsOK(res1
)) {
22095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= SWIG_Py_Void();
22105 if (SWIG_IsTmpObj(res2
)) {
22106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22108 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22111 if (SWIG_IsTmpObj(res3
)) {
22112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22114 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22123 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
= 0;
22125 wxDC
*arg1
= (wxDC
*) 0 ;
22134 PyObject
* obj0
= 0 ;
22135 PyObject
* obj1
= 0 ;
22136 PyObject
* obj2
= 0 ;
22137 char * kwnames
[] = {
22138 (char *) "self",(char *) "x",(char *) "y", NULL
22141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22143 if (!SWIG_IsOK(res1
)) {
22144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22148 if (!SWIG_IsOK(ecode2
)) {
22149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22151 arg2
= static_cast< int >(val2
);
22152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22153 if (!SWIG_IsOK(ecode3
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22156 arg3
= static_cast< int >(val3
);
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= SWIG_Py_Void();
22170 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
= 0;
22172 wxDC
*arg1
= (wxDC
*) 0 ;
22173 wxPoint
*arg2
= 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 char * kwnames
[] = {
22180 (char *) "self",(char *) "point", NULL
22183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22185 if (!SWIG_IsOK(res1
)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= SWIG_Py_Void();
22206 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22207 PyObject
*resultobj
= 0;
22208 wxDC
*arg1
= (wxDC
*) 0 ;
22212 PyObject
*swig_obj
[1] ;
22214 if (!args
) SWIG_fail
;
22215 swig_obj
[0] = args
;
22216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22217 if (!SWIG_IsOK(res1
)) {
22218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22234 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22235 PyObject
*resultobj
= 0;
22236 wxDC
*arg1
= (wxDC
*) 0 ;
22237 int *arg2
= (int *) 0 ;
22238 int *arg3
= (int *) 0 ;
22242 int res2
= SWIG_TMPOBJ
;
22244 int res3
= SWIG_TMPOBJ
;
22245 PyObject
*swig_obj
[1] ;
22249 if (!args
) SWIG_fail
;
22250 swig_obj
[0] = args
;
22251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22252 if (!SWIG_IsOK(res1
)) {
22253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= SWIG_Py_Void();
22263 if (SWIG_IsTmpObj(res2
)) {
22264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22266 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22269 if (SWIG_IsTmpObj(res3
)) {
22270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22272 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22281 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
= 0;
22283 wxDC
*arg1
= (wxDC
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 PyObject
* obj1
= 0 ;
22294 PyObject
* obj2
= 0 ;
22295 char * kwnames
[] = {
22296 (char *) "self",(char *) "x",(char *) "y", NULL
22299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22301 if (!SWIG_IsOK(res1
)) {
22302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22304 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22306 if (!SWIG_IsOK(ecode2
)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22309 arg2
= static_cast< int >(val2
);
22310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22311 if (!SWIG_IsOK(ecode3
)) {
22312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22314 arg3
= static_cast< int >(val3
);
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= SWIG_Py_Void();
22328 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
= 0;
22330 wxDC
*arg1
= (wxDC
*) 0 ;
22331 wxPoint
*arg2
= 0 ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 char * kwnames
[] = {
22338 (char *) "self",(char *) "point", NULL
22341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22343 if (!SWIG_IsOK(res1
)) {
22344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22346 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22349 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= SWIG_Py_Void();
22364 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
= 0;
22366 wxDC
*arg1
= (wxDC
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 PyObject
* obj2
= 0 ;
22378 char * kwnames
[] = {
22379 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22384 if (!SWIG_IsOK(res1
)) {
22385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22388 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22389 if (!SWIG_IsOK(ecode2
)) {
22390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22392 arg2
= static_cast< bool >(val2
);
22393 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22394 if (!SWIG_IsOK(ecode3
)) {
22395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22397 arg3
= static_cast< bool >(val3
);
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= SWIG_Py_Void();
22411 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22412 PyObject
*resultobj
= 0;
22413 wxDC
*arg1
= (wxDC
*) 0 ;
22417 PyObject
*swig_obj
[1] ;
22419 if (!args
) SWIG_fail
;
22420 swig_obj
[0] = args
;
22421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22422 if (!SWIG_IsOK(res1
)) {
22423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_From_int(static_cast< int >(result
));
22439 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
= 0;
22441 wxDC
*arg1
= (wxDC
*) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 PyObject
* obj1
= 0 ;
22449 char * kwnames
[] = {
22450 (char *) "self",(char *) "function", NULL
22453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22460 if (!SWIG_IsOK(ecode2
)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22463 arg2
= static_cast< int >(val2
);
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 (arg1
)->SetLogicalFunction(arg2
);
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= SWIG_Py_Void();
22477 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22478 PyObject
*resultobj
= 0;
22479 wxDC
*arg1
= (wxDC
*) 0 ;
22482 PyObject
*swig_obj
[1] ;
22484 if (!args
) SWIG_fail
;
22485 swig_obj
[0] = args
;
22486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22487 if (!SWIG_IsOK(res1
)) {
22488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22493 (arg1
)->ComputeScaleAndOrigin();
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 resultobj
= SWIG_Py_Void();
22504 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
= 0;
22506 wxDC
*arg1
= (wxDC
*) 0 ;
22515 PyObject
* obj0
= 0 ;
22516 PyObject
* obj1
= 0 ;
22517 PyObject
* obj2
= 0 ;
22518 char * kwnames
[] = {
22519 (char *) "self",(char *) "x",(char *) "y", NULL
22522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22524 if (!SWIG_IsOK(res1
)) {
22525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22529 if (!SWIG_IsOK(ecode2
)) {
22530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22532 arg2
= static_cast< int >(val2
);
22533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22534 if (!SWIG_IsOK(ecode3
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22537 arg3
= static_cast< int >(val3
);
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= SWIG_Py_Void();
22551 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
= 0;
22553 wxDC
*arg1
= (wxDC
*) 0 ;
22554 wxPoint
*arg2
= 0 ;
22558 PyObject
* obj0
= 0 ;
22559 PyObject
* obj1
= 0 ;
22560 char * kwnames
[] = {
22561 (char *) "self",(char *) "point", NULL
22564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22566 if (!SWIG_IsOK(res1
)) {
22567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22572 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_Py_Void();
22587 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22588 PyObject
*resultobj
= 0;
22589 wxDC
*arg1
= (wxDC
*) 0 ;
22592 PyObject
*swig_obj
[1] ;
22594 if (!args
) SWIG_fail
;
22595 swig_obj
[0] = args
;
22596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22597 if (!SWIG_IsOK(res1
)) {
22598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 (arg1
)->ResetBoundingBox();
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= SWIG_Py_Void();
22614 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22615 PyObject
*resultobj
= 0;
22616 wxDC
*arg1
= (wxDC
*) 0 ;
22620 PyObject
*swig_obj
[1] ;
22622 if (!args
) SWIG_fail
;
22623 swig_obj
[0] = args
;
22624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22625 if (!SWIG_IsOK(res1
)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 result
= (int)((wxDC
const *)arg1
)->MinX();
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_From_int(static_cast< int >(result
));
22642 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22643 PyObject
*resultobj
= 0;
22644 wxDC
*arg1
= (wxDC
*) 0 ;
22648 PyObject
*swig_obj
[1] ;
22650 if (!args
) SWIG_fail
;
22651 swig_obj
[0] = args
;
22652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22653 if (!SWIG_IsOK(res1
)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 result
= (int)((wxDC
const *)arg1
)->MaxX();
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= SWIG_From_int(static_cast< int >(result
));
22670 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22671 PyObject
*resultobj
= 0;
22672 wxDC
*arg1
= (wxDC
*) 0 ;
22676 PyObject
*swig_obj
[1] ;
22678 if (!args
) SWIG_fail
;
22679 swig_obj
[0] = args
;
22680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22681 if (!SWIG_IsOK(res1
)) {
22682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22684 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 result
= (int)((wxDC
const *)arg1
)->MinY();
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 resultobj
= SWIG_From_int(static_cast< int >(result
));
22698 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22699 PyObject
*resultobj
= 0;
22700 wxDC
*arg1
= (wxDC
*) 0 ;
22704 PyObject
*swig_obj
[1] ;
22706 if (!args
) SWIG_fail
;
22707 swig_obj
[0] = args
;
22708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22709 if (!SWIG_IsOK(res1
)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 result
= (int)((wxDC
const *)arg1
)->MaxY();
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 resultobj
= SWIG_From_int(static_cast< int >(result
));
22726 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22727 PyObject
*resultobj
= 0;
22728 wxDC
*arg1
= (wxDC
*) 0 ;
22729 int *arg2
= (int *) 0 ;
22730 int *arg3
= (int *) 0 ;
22731 int *arg4
= (int *) 0 ;
22732 int *arg5
= (int *) 0 ;
22736 int res2
= SWIG_TMPOBJ
;
22738 int res3
= SWIG_TMPOBJ
;
22740 int res4
= SWIG_TMPOBJ
;
22742 int res5
= SWIG_TMPOBJ
;
22743 PyObject
*swig_obj
[1] ;
22749 if (!args
) SWIG_fail
;
22750 swig_obj
[0] = args
;
22751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22752 if (!SWIG_IsOK(res1
)) {
22753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 resultobj
= SWIG_Py_Void();
22763 if (SWIG_IsTmpObj(res2
)) {
22764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22766 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22769 if (SWIG_IsTmpObj(res3
)) {
22770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22772 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22775 if (SWIG_IsTmpObj(res4
)) {
22776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22778 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22781 if (SWIG_IsTmpObj(res5
)) {
22782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22784 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22793 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22794 PyObject
*resultobj
= 0;
22795 wxDC
*arg1
= (wxDC
*) 0 ;
22796 wxLayoutDirection result
;
22799 PyObject
*swig_obj
[1] ;
22801 if (!args
) SWIG_fail
;
22802 swig_obj
[0] = args
;
22803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22804 if (!SWIG_IsOK(res1
)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_From_int(static_cast< int >(result
));
22821 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
= 0;
22823 wxDC
*arg1
= (wxDC
*) 0 ;
22824 wxLayoutDirection arg2
;
22829 PyObject
* obj0
= 0 ;
22830 PyObject
* obj1
= 0 ;
22831 char * kwnames
[] = {
22832 (char *) "self",(char *) "dir", NULL
22835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22837 if (!SWIG_IsOK(res1
)) {
22838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
22840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22842 if (!SWIG_IsOK(ecode2
)) {
22843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
22845 arg2
= static_cast< wxLayoutDirection
>(val2
);
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 (arg1
)->SetLayoutDirection(arg2
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= SWIG_Py_Void();
22859 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
= 0;
22861 wxDC
*arg1
= (wxDC
*) 0 ;
22862 PyObject
*arg2
= (PyObject
*) 0 ;
22863 PyObject
*arg3
= (PyObject
*) 0 ;
22864 PyObject
*arg4
= (PyObject
*) 0 ;
22865 PyObject
*result
= 0 ;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 PyObject
* obj2
= 0 ;
22871 PyObject
* obj3
= 0 ;
22872 char * kwnames
[] = {
22873 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22878 if (!SWIG_IsOK(res1
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= result
;
22898 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
= 0;
22900 wxDC
*arg1
= (wxDC
*) 0 ;
22901 PyObject
*arg2
= (PyObject
*) 0 ;
22902 PyObject
*arg3
= (PyObject
*) 0 ;
22903 PyObject
*arg4
= (PyObject
*) 0 ;
22904 PyObject
*result
= 0 ;
22907 PyObject
* obj0
= 0 ;
22908 PyObject
* obj1
= 0 ;
22909 PyObject
* obj2
= 0 ;
22910 PyObject
* obj3
= 0 ;
22911 char * kwnames
[] = {
22912 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22917 if (!SWIG_IsOK(res1
)) {
22918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22920 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 resultobj
= result
;
22937 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
= 0;
22939 wxDC
*arg1
= (wxDC
*) 0 ;
22940 PyObject
*arg2
= (PyObject
*) 0 ;
22941 PyObject
*arg3
= (PyObject
*) 0 ;
22942 PyObject
*arg4
= (PyObject
*) 0 ;
22943 PyObject
*result
= 0 ;
22946 PyObject
* obj0
= 0 ;
22947 PyObject
* obj1
= 0 ;
22948 PyObject
* obj2
= 0 ;
22949 PyObject
* obj3
= 0 ;
22950 char * kwnames
[] = {
22951 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= result
;
22976 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
= 0;
22978 wxDC
*arg1
= (wxDC
*) 0 ;
22979 PyObject
*arg2
= (PyObject
*) 0 ;
22980 PyObject
*arg3
= (PyObject
*) 0 ;
22981 PyObject
*arg4
= (PyObject
*) 0 ;
22982 PyObject
*result
= 0 ;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 PyObject
* obj2
= 0 ;
22988 PyObject
* obj3
= 0 ;
22989 char * kwnames
[] = {
22990 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22995 if (!SWIG_IsOK(res1
)) {
22996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= result
;
23015 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23016 PyObject
*resultobj
= 0;
23017 wxDC
*arg1
= (wxDC
*) 0 ;
23018 PyObject
*arg2
= (PyObject
*) 0 ;
23019 PyObject
*arg3
= (PyObject
*) 0 ;
23020 PyObject
*arg4
= (PyObject
*) 0 ;
23021 PyObject
*result
= 0 ;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 PyObject
* obj2
= 0 ;
23027 PyObject
* obj3
= 0 ;
23028 char * kwnames
[] = {
23029 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23034 if (!SWIG_IsOK(res1
)) {
23035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23037 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= result
;
23054 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
= 0;
23056 wxDC
*arg1
= (wxDC
*) 0 ;
23057 PyObject
*arg2
= (PyObject
*) 0 ;
23058 PyObject
*arg3
= (PyObject
*) 0 ;
23059 PyObject
*arg4
= (PyObject
*) 0 ;
23060 PyObject
*arg5
= (PyObject
*) 0 ;
23061 PyObject
*result
= 0 ;
23064 PyObject
* obj0
= 0 ;
23065 PyObject
* obj1
= 0 ;
23066 PyObject
* obj2
= 0 ;
23067 PyObject
* obj3
= 0 ;
23068 PyObject
* obj4
= 0 ;
23069 char * kwnames
[] = {
23070 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23075 if (!SWIG_IsOK(res1
)) {
23076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= result
;
23096 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23099 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23100 return SWIG_Py_Void();
23103 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
= 0;
23105 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23106 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23107 wxMemoryDC
*result
= 0 ;
23110 PyObject
* obj0
= 0 ;
23111 char * kwnames
[] = {
23112 (char *) "bitmap", NULL
23115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23117 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23118 if (!SWIG_IsOK(res1
)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23124 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23127 if (!wxPyCheckForApp()) SWIG_fail
;
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23140 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
= 0;
23142 wxDC
*arg1
= (wxDC
*) 0 ;
23143 wxMemoryDC
*result
= 0 ;
23146 PyObject
* obj0
= 0 ;
23147 char * kwnames
[] = {
23148 (char *) "oldDC", NULL
23151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23153 if (!SWIG_IsOK(res1
)) {
23154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23158 if (!wxPyCheckForApp()) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23171 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
= 0;
23173 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23174 wxBitmap
*arg2
= 0 ;
23179 PyObject
* obj0
= 0 ;
23180 PyObject
* obj1
= 0 ;
23181 char * kwnames
[] = {
23182 (char *) "self",(char *) "bitmap", NULL
23185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23187 if (!SWIG_IsOK(res1
)) {
23188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23190 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23192 if (!SWIG_IsOK(res2
)) {
23193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23198 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= SWIG_Py_Void();
23212 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23215 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23216 return SWIG_Py_Void();
23219 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23220 return SWIG_Python_InitShadowInstance(args
);
23223 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23224 PyObject
*resultobj
= 0;
23225 wxScreenDC
*result
= 0 ;
23227 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23229 if (!wxPyCheckForApp()) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 result
= (wxScreenDC
*)new wxScreenDC();
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23242 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
= 0;
23244 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23245 wxWindow
*arg2
= (wxWindow
*) 0 ;
23251 PyObject
* obj0
= 0 ;
23252 PyObject
* obj1
= 0 ;
23253 char * kwnames
[] = {
23254 (char *) "self",(char *) "window", NULL
23257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23259 if (!SWIG_IsOK(res1
)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23262 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23264 if (!SWIG_IsOK(res2
)) {
23265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23267 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23283 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
= 0;
23285 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23286 wxRect
*arg2
= (wxRect
*) NULL
;
23292 PyObject
* obj0
= 0 ;
23293 PyObject
* obj1
= 0 ;
23294 char * kwnames
[] = {
23295 (char *) "self",(char *) "rect", NULL
23298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23300 if (!SWIG_IsOK(res1
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23303 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23305 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23306 if (!SWIG_IsOK(res2
)) {
23307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23309 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23326 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23327 PyObject
*resultobj
= 0;
23328 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23332 PyObject
*swig_obj
[1] ;
23334 if (!args
) SWIG_fail
;
23335 swig_obj
[0] = args
;
23336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23337 if (!SWIG_IsOK(res1
)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23340 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (bool)(arg1
)->EndDrawingOnTop();
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23356 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23359 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23360 return SWIG_Py_Void();
23363 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23364 return SWIG_Python_InitShadowInstance(args
);
23367 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
= 0;
23369 wxWindow
*arg1
= (wxWindow
*) 0 ;
23370 wxWindowDC
*result
= 0 ;
23373 PyObject
* obj0
= 0 ;
23374 char * kwnames
[] = {
23375 (char *) "win", NULL
23378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23380 if (!SWIG_IsOK(res1
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23383 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23385 if (!wxPyCheckForApp()) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23398 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23401 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23402 return SWIG_Py_Void();
23405 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23406 return SWIG_Python_InitShadowInstance(args
);
23409 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23410 PyObject
*resultobj
= 0;
23411 wxWindow
*arg1
= (wxWindow
*) 0 ;
23412 wxClientDC
*result
= 0 ;
23415 PyObject
* obj0
= 0 ;
23416 char * kwnames
[] = {
23417 (char *) "win", NULL
23420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23422 if (!SWIG_IsOK(res1
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23425 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23427 if (!wxPyCheckForApp()) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (wxClientDC
*)new wxClientDC(arg1
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23440 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23443 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23444 return SWIG_Py_Void();
23447 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23448 return SWIG_Python_InitShadowInstance(args
);
23451 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
= 0;
23453 wxWindow
*arg1
= (wxWindow
*) 0 ;
23454 wxPaintDC
*result
= 0 ;
23457 PyObject
* obj0
= 0 ;
23458 char * kwnames
[] = {
23459 (char *) "win", NULL
23462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23464 if (!SWIG_IsOK(res1
)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23467 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23469 if (!wxPyCheckForApp()) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23482 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23485 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23486 return SWIG_Py_Void();
23489 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23490 return SWIG_Python_InitShadowInstance(args
);
23493 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23494 PyObject
*resultobj
= 0;
23495 wxDC
*arg1
= (wxDC
*) 0 ;
23496 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23497 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23498 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23499 wxBufferedDC
*result
= 0 ;
23507 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23509 if (!SWIG_IsOK(res1
)) {
23510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23514 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23515 if (!SWIG_IsOK(res2
)) {
23516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23521 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23524 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23525 if (!SWIG_IsOK(ecode3
)) {
23526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23528 arg3
= static_cast< int >(val3
);
23531 if (!wxPyCheckForApp()) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23544 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23545 PyObject
*resultobj
= 0;
23546 wxDC
*arg1
= (wxDC
*) 0 ;
23548 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23549 wxBufferedDC
*result
= 0 ;
23556 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23558 if (!SWIG_IsOK(res1
)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23564 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23567 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23568 if (!SWIG_IsOK(ecode3
)) {
23569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23571 arg3
= static_cast< int >(val3
);
23574 if (!wxPyCheckForApp()) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23587 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23591 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23593 if ((argc
>= 1) && (argc
<= 3)) {
23597 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23598 _v
= SWIG_CheckState(res
);
23600 if (!_v
) goto check_1
;
23602 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23606 if ((argc
>= 2) && (argc
<= 3)) {
23607 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23611 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23616 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23617 PyObject
*resultobj
= 0;
23618 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23621 PyObject
*swig_obj
[1] ;
23623 if (!args
) SWIG_fail
;
23624 swig_obj
[0] = args
;
23625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23626 if (!SWIG_IsOK(res1
)) {
23627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23629 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= SWIG_Py_Void();
23644 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23645 PyObject
*resultobj
= 0;
23646 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23649 PyObject
*swig_obj
[1] ;
23651 if (!args
) SWIG_fail
;
23652 swig_obj
[0] = args
;
23653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23654 if (!SWIG_IsOK(res1
)) {
23655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23657 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= SWIG_Py_Void();
23671 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23674 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23675 return SWIG_Py_Void();
23678 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23679 return SWIG_Python_InitShadowInstance(args
);
23682 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
= 0;
23684 wxWindow
*arg1
= (wxWindow
*) 0 ;
23685 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23686 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23687 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23688 wxBufferedPaintDC
*result
= 0 ;
23695 PyObject
* obj0
= 0 ;
23696 PyObject
* obj1
= 0 ;
23697 PyObject
* obj2
= 0 ;
23698 char * kwnames
[] = {
23699 (char *) "window",(char *) "buffer",(char *) "style", NULL
23702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23704 if (!SWIG_IsOK(res1
)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23707 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23710 if (!SWIG_IsOK(res2
)) {
23711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23716 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23720 if (!SWIG_IsOK(ecode3
)) {
23721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23723 arg3
= static_cast< int >(val3
);
23726 if (!wxPyCheckForApp()) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23739 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23742 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23743 return SWIG_Py_Void();
23746 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23747 return SWIG_Python_InitShadowInstance(args
);
23750 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
= 0;
23752 wxWindow
*arg1
= (wxWindow
*) 0 ;
23753 wxAutoBufferedPaintDC
*result
= 0 ;
23756 PyObject
* obj0
= 0 ;
23757 char * kwnames
[] = {
23758 (char *) "win", NULL
23761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
23762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23766 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23780 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23783 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
23784 return SWIG_Py_Void();
23787 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23788 return SWIG_Python_InitShadowInstance(args
);
23791 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
= 0;
23793 wxWindow
*arg1
= (wxWindow
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 char * kwnames
[] = {
23799 (char *) "window", NULL
23802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
23803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23804 if (!SWIG_IsOK(res1
)) {
23805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
23807 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
23823 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
= 0;
23827 wxMirrorDC
*result
= 0 ;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 char * kwnames
[] = {
23835 (char *) "dc",(char *) "mirror", NULL
23838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23839 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23840 if (!SWIG_IsOK(res1
)) {
23841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23847 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23848 if (!SWIG_IsOK(ecode2
)) {
23849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23851 arg2
= static_cast< bool >(val2
);
23853 if (!wxPyCheckForApp()) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23866 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23869 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23870 return SWIG_Py_Void();
23873 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23874 return SWIG_Python_InitShadowInstance(args
);
23877 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
= 0;
23879 wxPrintData
*arg1
= 0 ;
23880 wxPostScriptDC
*result
= 0 ;
23883 PyObject
* obj0
= 0 ;
23884 char * kwnames
[] = {
23885 (char *) "printData", NULL
23888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23889 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23890 if (!SWIG_IsOK(res1
)) {
23891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23896 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23898 if (!wxPyCheckForApp()) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23911 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23912 PyObject
*resultobj
= 0;
23913 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23914 wxPrintData
*result
= 0 ;
23917 PyObject
*swig_obj
[1] ;
23919 if (!args
) SWIG_fail
;
23920 swig_obj
[0] = args
;
23921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23922 if (!SWIG_IsOK(res1
)) {
23923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23925 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23930 result
= (wxPrintData
*) &_result_ref
;
23932 wxPyEndAllowThreads(__tstate
);
23933 if (PyErr_Occurred()) SWIG_fail
;
23935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23942 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
= 0;
23944 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23945 wxPrintData
*arg2
= 0 ;
23950 PyObject
* obj0
= 0 ;
23951 PyObject
* obj1
= 0 ;
23952 char * kwnames
[] = {
23953 (char *) "self",(char *) "data", NULL
23956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23958 if (!SWIG_IsOK(res1
)) {
23959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23961 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23963 if (!SWIG_IsOK(res2
)) {
23964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23969 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= SWIG_Py_Void();
23983 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23984 PyObject
*resultobj
= 0;
23988 PyObject
* obj0
= 0 ;
23989 char * kwnames
[] = {
23990 (char *) "ppi", NULL
23993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23995 if (!SWIG_IsOK(ecode1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23998 arg1
= static_cast< int >(val1
);
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 wxPostScriptDC::SetResolution(arg1
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 resultobj
= SWIG_Py_Void();
24012 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24013 PyObject
*resultobj
= 0;
24016 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 result
= (int)wxPostScriptDC::GetResolution();
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 resultobj
= SWIG_From_int(static_cast< int >(result
));
24030 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24033 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24034 return SWIG_Py_Void();
24037 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24038 return SWIG_Python_InitShadowInstance(args
);
24041 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
= 0;
24043 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24044 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24045 wxMetaFile
*result
= 0 ;
24046 bool temp1
= false ;
24047 PyObject
* obj0
= 0 ;
24048 char * kwnames
[] = {
24049 (char *) "filename", NULL
24052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24055 arg1
= wxString_in_helper(obj0
);
24056 if (arg1
== NULL
) SWIG_fail
;
24061 if (!wxPyCheckForApp()) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24082 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24085 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24086 return SWIG_Py_Void();
24089 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24090 return SWIG_Python_InitShadowInstance(args
);
24093 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
= 0;
24095 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24096 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24097 int arg2
= (int) 0 ;
24098 int arg3
= (int) 0 ;
24099 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24100 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24101 wxMetaFileDC
*result
= 0 ;
24102 bool temp1
= false ;
24107 bool temp4
= false ;
24108 PyObject
* obj0
= 0 ;
24109 PyObject
* obj1
= 0 ;
24110 PyObject
* obj2
= 0 ;
24111 PyObject
* obj3
= 0 ;
24112 char * kwnames
[] = {
24113 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24119 arg1
= wxString_in_helper(obj0
);
24120 if (arg1
== NULL
) SWIG_fail
;
24125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24126 if (!SWIG_IsOK(ecode2
)) {
24127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24129 arg2
= static_cast< int >(val2
);
24132 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24133 if (!SWIG_IsOK(ecode3
)) {
24134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24136 arg3
= static_cast< int >(val3
);
24140 arg4
= wxString_in_helper(obj3
);
24141 if (arg4
== NULL
) SWIG_fail
;
24146 if (!wxPyCheckForApp()) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24175 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24178 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24179 return SWIG_Py_Void();
24182 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24183 return SWIG_Python_InitShadowInstance(args
);
24186 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
= 0;
24188 wxPrintData
*arg1
= 0 ;
24189 wxPrinterDC
*result
= 0 ;
24192 PyObject
* obj0
= 0 ;
24193 char * kwnames
[] = {
24194 (char *) "printData", NULL
24197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24198 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24199 if (!SWIG_IsOK(res1
)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24205 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24207 if (!wxPyCheckForApp()) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24220 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24223 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24224 return SWIG_Py_Void();
24227 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24228 return SWIG_Python_InitShadowInstance(args
);
24231 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24232 PyObject
*resultobj
= 0;
24233 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24236 PyObject
*swig_obj
[1] ;
24238 if (!args
) SWIG_fail
;
24239 swig_obj
[0] = args
;
24240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24241 if (!SWIG_IsOK(res1
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24244 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24250 resultobj
= SWIG_Py_Void();
24257 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24258 PyObject
*resultobj
= 0;
24259 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 PyObject
* obj1
= 0 ;
24270 PyObject
* obj2
= 0 ;
24271 char * kwnames
[] = {
24272 (char *) "self",(char *) "x",(char *) "y", NULL
24275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24277 if (!SWIG_IsOK(res1
)) {
24278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24280 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24281 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24282 if (!SWIG_IsOK(ecode2
)) {
24283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24285 arg2
= static_cast< wxDouble
>(val2
);
24286 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24287 if (!SWIG_IsOK(ecode3
)) {
24288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24290 arg3
= static_cast< wxDouble
>(val3
);
24292 (arg1
)->MoveToPoint(arg2
,arg3
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= SWIG_Py_Void();
24302 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
= 0;
24304 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24315 PyObject
* obj2
= 0 ;
24316 char * kwnames
[] = {
24317 (char *) "self",(char *) "x",(char *) "y", NULL
24320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24322 if (!SWIG_IsOK(res1
)) {
24323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24325 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24326 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24327 if (!SWIG_IsOK(ecode2
)) {
24328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24330 arg2
= static_cast< wxDouble
>(val2
);
24331 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24332 if (!SWIG_IsOK(ecode3
)) {
24333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24335 arg3
= static_cast< wxDouble
>(val3
);
24337 (arg1
)->AddLineToPoint(arg2
,arg3
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= SWIG_Py_Void();
24347 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
= 0;
24349 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24372 PyObject
* obj2
= 0 ;
24373 PyObject
* obj3
= 0 ;
24374 PyObject
* obj4
= 0 ;
24375 PyObject
* obj5
= 0 ;
24376 PyObject
* obj6
= 0 ;
24377 char * kwnames
[] = {
24378 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24383 if (!SWIG_IsOK(res1
)) {
24384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24386 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24387 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24388 if (!SWIG_IsOK(ecode2
)) {
24389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24391 arg2
= static_cast< wxDouble
>(val2
);
24392 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24393 if (!SWIG_IsOK(ecode3
)) {
24394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24396 arg3
= static_cast< wxDouble
>(val3
);
24397 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24398 if (!SWIG_IsOK(ecode4
)) {
24399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24401 arg4
= static_cast< wxDouble
>(val4
);
24402 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24403 if (!SWIG_IsOK(ecode5
)) {
24404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24406 arg5
= static_cast< wxDouble
>(val5
);
24407 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24408 if (!SWIG_IsOK(ecode6
)) {
24409 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24411 arg6
= static_cast< wxDouble
>(val6
);
24412 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24413 if (!SWIG_IsOK(ecode7
)) {
24414 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24416 arg7
= static_cast< wxDouble
>(val7
);
24418 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_Py_Void();
24428 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24429 PyObject
*resultobj
= 0;
24430 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24433 PyObject
*swig_obj
[1] ;
24435 if (!args
) SWIG_fail
;
24436 swig_obj
[0] = args
;
24437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24438 if (!SWIG_IsOK(res1
)) {
24439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24441 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24443 (arg1
)->CloseSubpath();
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= SWIG_Py_Void();
24453 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24454 PyObject
*resultobj
= 0;
24455 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24459 PyObject
*swig_obj
[1] ;
24461 if (!args
) SWIG_fail
;
24462 swig_obj
[0] = args
;
24463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24464 if (!SWIG_IsOK(res1
)) {
24465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24467 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24469 result
= (arg1
)->GetCurrentPoint();
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24479 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
= 0;
24481 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24502 PyObject
* obj0
= 0 ;
24503 PyObject
* obj1
= 0 ;
24504 PyObject
* obj2
= 0 ;
24505 PyObject
* obj3
= 0 ;
24506 PyObject
* obj4
= 0 ;
24507 PyObject
* obj5
= 0 ;
24508 PyObject
* obj6
= 0 ;
24509 char * kwnames
[] = {
24510 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24515 if (!SWIG_IsOK(res1
)) {
24516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24518 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24519 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24520 if (!SWIG_IsOK(ecode2
)) {
24521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24523 arg2
= static_cast< wxDouble
>(val2
);
24524 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24525 if (!SWIG_IsOK(ecode3
)) {
24526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24528 arg3
= static_cast< wxDouble
>(val3
);
24529 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24530 if (!SWIG_IsOK(ecode4
)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24533 arg4
= static_cast< wxDouble
>(val4
);
24534 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24535 if (!SWIG_IsOK(ecode5
)) {
24536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24538 arg5
= static_cast< wxDouble
>(val5
);
24539 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24540 if (!SWIG_IsOK(ecode6
)) {
24541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24543 arg6
= static_cast< wxDouble
>(val6
);
24544 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24545 if (!SWIG_IsOK(ecode7
)) {
24546 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24548 arg7
= static_cast< bool >(val7
);
24550 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= SWIG_Py_Void();
24560 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
= 0;
24562 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 PyObject
* obj2
= 0 ;
24580 PyObject
* obj3
= 0 ;
24581 PyObject
* obj4
= 0 ;
24582 char * kwnames
[] = {
24583 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24588 if (!SWIG_IsOK(res1
)) {
24589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24591 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24592 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24593 if (!SWIG_IsOK(ecode2
)) {
24594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24596 arg2
= static_cast< wxDouble
>(val2
);
24597 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24598 if (!SWIG_IsOK(ecode3
)) {
24599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24601 arg3
= static_cast< wxDouble
>(val3
);
24602 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24603 if (!SWIG_IsOK(ecode4
)) {
24604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24606 arg4
= static_cast< wxDouble
>(val4
);
24607 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24608 if (!SWIG_IsOK(ecode5
)) {
24609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24611 arg5
= static_cast< wxDouble
>(val5
);
24613 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= SWIG_Py_Void();
24623 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
= 0;
24625 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24640 PyObject
* obj0
= 0 ;
24641 PyObject
* obj1
= 0 ;
24642 PyObject
* obj2
= 0 ;
24643 PyObject
* obj3
= 0 ;
24644 PyObject
* obj4
= 0 ;
24645 char * kwnames
[] = {
24646 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24651 if (!SWIG_IsOK(res1
)) {
24652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24654 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24655 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24656 if (!SWIG_IsOK(ecode2
)) {
24657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24659 arg2
= static_cast< wxDouble
>(val2
);
24660 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24661 if (!SWIG_IsOK(ecode3
)) {
24662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24664 arg3
= static_cast< wxDouble
>(val3
);
24665 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24666 if (!SWIG_IsOK(ecode4
)) {
24667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24669 arg4
= static_cast< wxDouble
>(val4
);
24670 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24671 if (!SWIG_IsOK(ecode5
)) {
24672 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24674 arg5
= static_cast< wxDouble
>(val5
);
24676 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= SWIG_Py_Void();
24686 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
= 0;
24688 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 PyObject
* obj2
= 0 ;
24703 PyObject
* obj3
= 0 ;
24704 char * kwnames
[] = {
24705 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24710 if (!SWIG_IsOK(res1
)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24713 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24714 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24715 if (!SWIG_IsOK(ecode2
)) {
24716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24718 arg2
= static_cast< wxDouble
>(val2
);
24719 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24720 if (!SWIG_IsOK(ecode3
)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24723 arg3
= static_cast< wxDouble
>(val3
);
24724 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24725 if (!SWIG_IsOK(ecode4
)) {
24726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24728 arg4
= static_cast< wxDouble
>(val4
);
24730 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= SWIG_Py_Void();
24740 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
= 0;
24742 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 PyObject
* obj2
= 0 ;
24763 PyObject
* obj3
= 0 ;
24764 PyObject
* obj4
= 0 ;
24765 PyObject
* obj5
= 0 ;
24766 char * kwnames
[] = {
24767 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24772 if (!SWIG_IsOK(res1
)) {
24773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24775 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24776 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24777 if (!SWIG_IsOK(ecode2
)) {
24778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24780 arg2
= static_cast< wxDouble
>(val2
);
24781 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24782 if (!SWIG_IsOK(ecode3
)) {
24783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24785 arg3
= static_cast< wxDouble
>(val3
);
24786 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24787 if (!SWIG_IsOK(ecode4
)) {
24788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24790 arg4
= static_cast< wxDouble
>(val4
);
24791 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24792 if (!SWIG_IsOK(ecode5
)) {
24793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24795 arg5
= static_cast< wxDouble
>(val5
);
24796 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24797 if (!SWIG_IsOK(ecode6
)) {
24798 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24800 arg6
= static_cast< wxDouble
>(val6
);
24802 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= SWIG_Py_Void();
24812 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24815 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
24816 return SWIG_Py_Void();
24819 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24820 PyObject
*resultobj
= 0;
24821 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24824 PyObject
*swig_obj
[1] ;
24826 if (!args
) SWIG_fail
;
24827 swig_obj
[0] = args
;
24828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
24829 if (!SWIG_IsOK(res1
)) {
24830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24832 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24838 resultobj
= SWIG_Py_Void();
24845 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
= 0;
24847 wxWindowDC
*arg1
= 0 ;
24848 wxGraphicsContext
*result
= 0 ;
24851 PyObject
* obj0
= 0 ;
24852 char * kwnames
[] = {
24853 (char *) "dc", NULL
24856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
24857 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
24858 if (!SWIG_IsOK(res1
)) {
24859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24864 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
24866 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24876 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24877 PyObject
*resultobj
= 0;
24878 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24879 wxGraphicsPath
*result
= 0 ;
24882 PyObject
*swig_obj
[1] ;
24884 if (!args
) SWIG_fail
;
24885 swig_obj
[0] = args
;
24886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24890 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24892 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
24893 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24902 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24903 PyObject
*resultobj
= 0;
24904 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24907 PyObject
*swig_obj
[1] ;
24909 if (!args
) SWIG_fail
;
24910 swig_obj
[0] = args
;
24911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24912 if (!SWIG_IsOK(res1
)) {
24913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24915 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24917 (arg1
)->PushState();
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_Py_Void();
24927 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24928 PyObject
*resultobj
= 0;
24929 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24932 PyObject
*swig_obj
[1] ;
24934 if (!args
) SWIG_fail
;
24935 swig_obj
[0] = args
;
24936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24937 if (!SWIG_IsOK(res1
)) {
24938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24940 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24942 (arg1
)->PopState();
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= SWIG_Py_Void();
24952 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
= 0;
24954 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24955 wxRegion
*arg2
= 0 ;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 char * kwnames
[] = {
24963 (char *) "self",(char *) "region", NULL
24966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24968 if (!SWIG_IsOK(res1
)) {
24969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24971 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24973 if (!SWIG_IsOK(res2
)) {
24974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
24977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
24979 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24981 (arg1
)->Clip((wxRegion
const &)*arg2
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= SWIG_Py_Void();
24991 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
= 0;
24993 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25002 PyObject
* obj0
= 0 ;
25003 PyObject
* obj1
= 0 ;
25004 PyObject
* obj2
= 0 ;
25005 char * kwnames
[] = {
25006 (char *) "self",(char *) "dx",(char *) "dy", NULL
25009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25011 if (!SWIG_IsOK(res1
)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25014 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25015 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25016 if (!SWIG_IsOK(ecode2
)) {
25017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25019 arg2
= static_cast< wxDouble
>(val2
);
25020 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25021 if (!SWIG_IsOK(ecode3
)) {
25022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25024 arg3
= static_cast< wxDouble
>(val3
);
25026 (arg1
)->Translate(arg2
,arg3
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_Py_Void();
25036 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
= 0;
25038 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 PyObject
* obj1
= 0 ;
25049 PyObject
* obj2
= 0 ;
25050 char * kwnames
[] = {
25051 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25056 if (!SWIG_IsOK(res1
)) {
25057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25059 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25060 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25061 if (!SWIG_IsOK(ecode2
)) {
25062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25064 arg2
= static_cast< wxDouble
>(val2
);
25065 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25066 if (!SWIG_IsOK(ecode3
)) {
25067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25069 arg3
= static_cast< wxDouble
>(val3
);
25071 (arg1
)->Scale(arg2
,arg3
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= SWIG_Py_Void();
25081 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
= 0;
25083 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 char * kwnames
[] = {
25092 (char *) "self",(char *) "angle", NULL
25095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25097 if (!SWIG_IsOK(res1
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25100 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25101 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25102 if (!SWIG_IsOK(ecode2
)) {
25103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25105 arg2
= static_cast< wxDouble
>(val2
);
25107 (arg1
)->Rotate(arg2
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= SWIG_Py_Void();
25117 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25118 PyObject
*resultobj
= 0;
25119 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25125 PyObject
* obj0
= 0 ;
25126 PyObject
* obj1
= 0 ;
25127 char * kwnames
[] = {
25128 (char *) "self",(char *) "pen", NULL
25131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25133 if (!SWIG_IsOK(res1
)) {
25134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25136 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25138 if (!SWIG_IsOK(res2
)) {
25139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25144 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25146 (arg1
)->SetPen((wxPen
const &)*arg2
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_Py_Void();
25156 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
= 0;
25158 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25159 wxBrush
*arg2
= 0 ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 char * kwnames
[] = {
25167 (char *) "self",(char *) "brush", NULL
25170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25172 if (!SWIG_IsOK(res1
)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25175 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25177 if (!SWIG_IsOK(res2
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25183 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25185 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_Py_Void();
25195 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
= 0;
25197 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25202 wxColour
*arg6
= 0 ;
25203 wxColour
*arg7
= 0 ;
25216 PyObject
* obj0
= 0 ;
25217 PyObject
* obj1
= 0 ;
25218 PyObject
* obj2
= 0 ;
25219 PyObject
* obj3
= 0 ;
25220 PyObject
* obj4
= 0 ;
25221 PyObject
* obj5
= 0 ;
25222 PyObject
* obj6
= 0 ;
25223 char * kwnames
[] = {
25224 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25229 if (!SWIG_IsOK(res1
)) {
25230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25232 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25233 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25234 if (!SWIG_IsOK(ecode2
)) {
25235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25237 arg2
= static_cast< wxDouble
>(val2
);
25238 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25239 if (!SWIG_IsOK(ecode3
)) {
25240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25242 arg3
= static_cast< wxDouble
>(val3
);
25243 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25244 if (!SWIG_IsOK(ecode4
)) {
25245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25247 arg4
= static_cast< wxDouble
>(val4
);
25248 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25249 if (!SWIG_IsOK(ecode5
)) {
25250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25252 arg5
= static_cast< wxDouble
>(val5
);
25255 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25259 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25262 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_Py_Void();
25272 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
= 0;
25274 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25280 wxColour
*arg7
= 0 ;
25281 wxColour
*arg8
= 0 ;
25296 PyObject
* obj0
= 0 ;
25297 PyObject
* obj1
= 0 ;
25298 PyObject
* obj2
= 0 ;
25299 PyObject
* obj3
= 0 ;
25300 PyObject
* obj4
= 0 ;
25301 PyObject
* obj5
= 0 ;
25302 PyObject
* obj6
= 0 ;
25303 PyObject
* obj7
= 0 ;
25304 char * kwnames
[] = {
25305 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25310 if (!SWIG_IsOK(res1
)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25313 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25314 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25315 if (!SWIG_IsOK(ecode2
)) {
25316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25318 arg2
= static_cast< wxDouble
>(val2
);
25319 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25320 if (!SWIG_IsOK(ecode3
)) {
25321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25323 arg3
= static_cast< wxDouble
>(val3
);
25324 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25325 if (!SWIG_IsOK(ecode4
)) {
25326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25328 arg4
= static_cast< wxDouble
>(val4
);
25329 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25330 if (!SWIG_IsOK(ecode5
)) {
25331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25333 arg5
= static_cast< wxDouble
>(val5
);
25334 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25335 if (!SWIG_IsOK(ecode6
)) {
25336 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25338 arg6
= static_cast< wxDouble
>(val6
);
25341 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25345 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25348 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= SWIG_Py_Void();
25358 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
= 0;
25360 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 char * kwnames
[] = {
25369 (char *) "self",(char *) "font", NULL
25372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25374 if (!SWIG_IsOK(res1
)) {
25375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25377 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25379 if (!SWIG_IsOK(res2
)) {
25380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25385 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25387 (arg1
)->SetFont((wxFont
const &)*arg2
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 resultobj
= SWIG_Py_Void();
25397 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
= 0;
25399 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25400 wxColour
*arg2
= 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char * kwnames
[] = {
25407 (char *) "self",(char *) "col", NULL
25410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25412 if (!SWIG_IsOK(res1
)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25415 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25418 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25421 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_Py_Void();
25431 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
= 0;
25433 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25434 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 char * kwnames
[] = {
25442 (char *) "self",(char *) "path", NULL
25445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25447 if (!SWIG_IsOK(res1
)) {
25448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25450 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25452 if (!SWIG_IsOK(res2
)) {
25453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25455 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25457 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_Py_Void();
25467 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
= 0;
25469 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25470 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25471 int arg3
= (int) wxWINDING_RULE
;
25478 PyObject
* obj0
= 0 ;
25479 PyObject
* obj1
= 0 ;
25480 PyObject
* obj2
= 0 ;
25481 char * kwnames
[] = {
25482 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25487 if (!SWIG_IsOK(res1
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25490 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25491 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25492 if (!SWIG_IsOK(res2
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25495 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25498 if (!SWIG_IsOK(ecode3
)) {
25499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25501 arg3
= static_cast< int >(val3
);
25504 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_Py_Void();
25514 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
= 0;
25516 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25517 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25518 int arg3
= (int) wxWINDING_RULE
;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 PyObject
* obj2
= 0 ;
25528 char * kwnames
[] = {
25529 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25534 if (!SWIG_IsOK(res1
)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25537 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25539 if (!SWIG_IsOK(res2
)) {
25540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25542 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25545 if (!SWIG_IsOK(ecode3
)) {
25546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25548 arg3
= static_cast< int >(val3
);
25551 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_Py_Void();
25561 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
= 0;
25563 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25564 wxString
*arg2
= 0 ;
25569 bool temp2
= false ;
25574 PyObject
* obj0
= 0 ;
25575 PyObject
* obj1
= 0 ;
25576 PyObject
* obj2
= 0 ;
25577 PyObject
* obj3
= 0 ;
25578 char * kwnames
[] = {
25579 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25584 if (!SWIG_IsOK(res1
)) {
25585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25587 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25589 arg2
= wxString_in_helper(obj1
);
25590 if (arg2
== NULL
) SWIG_fail
;
25593 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25594 if (!SWIG_IsOK(ecode3
)) {
25595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25597 arg3
= static_cast< wxDouble
>(val3
);
25598 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25599 if (!SWIG_IsOK(ecode4
)) {
25600 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25602 arg4
= static_cast< wxDouble
>(val4
);
25604 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_Py_Void();
25622 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
= 0;
25624 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25625 wxString
*arg2
= 0 ;
25631 bool temp2
= false ;
25638 PyObject
* obj0
= 0 ;
25639 PyObject
* obj1
= 0 ;
25640 PyObject
* obj2
= 0 ;
25641 PyObject
* obj3
= 0 ;
25642 PyObject
* obj4
= 0 ;
25643 char * kwnames
[] = {
25644 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
25647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25649 if (!SWIG_IsOK(res1
)) {
25650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25652 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25654 arg2
= wxString_in_helper(obj1
);
25655 if (arg2
== NULL
) SWIG_fail
;
25658 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25659 if (!SWIG_IsOK(ecode3
)) {
25660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
25662 arg3
= static_cast< wxDouble
>(val3
);
25663 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25664 if (!SWIG_IsOK(ecode4
)) {
25665 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
25667 arg4
= static_cast< wxDouble
>(val4
);
25668 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25669 if (!SWIG_IsOK(ecode5
)) {
25670 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
25672 arg5
= static_cast< wxDouble
>(val5
);
25674 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_Py_Void();
25692 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
= 0;
25694 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25695 wxString
*arg2
= 0 ;
25696 wxDouble
*arg3
= (wxDouble
*) 0 ;
25697 wxDouble
*arg4
= (wxDouble
*) 0 ;
25698 wxDouble
*arg5
= (wxDouble
*) 0 ;
25699 wxDouble
*arg6
= (wxDouble
*) 0 ;
25702 bool temp2
= false ;
25704 int res3
= SWIG_TMPOBJ
;
25706 int res4
= SWIG_TMPOBJ
;
25708 int res5
= SWIG_TMPOBJ
;
25710 int res6
= SWIG_TMPOBJ
;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 char * kwnames
[] = {
25714 (char *) "self",(char *) "text", NULL
25721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25723 if (!SWIG_IsOK(res1
)) {
25724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25726 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25728 arg2
= wxString_in_helper(obj1
);
25729 if (arg2
== NULL
) SWIG_fail
;
25733 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_Py_Void();
25737 if (SWIG_IsTmpObj(res3
)) {
25738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25740 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25743 if (SWIG_IsTmpObj(res4
)) {
25744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25746 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25749 if (SWIG_IsTmpObj(res5
)) {
25750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25752 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25755 if (SWIG_IsTmpObj(res6
)) {
25756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25758 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25775 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
= 0;
25777 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25778 wxString
*arg2
= 0 ;
25779 wxArrayDouble result
;
25782 bool temp2
= false ;
25783 PyObject
* obj0
= 0 ;
25784 PyObject
* obj1
= 0 ;
25785 char * kwnames
[] = {
25786 (char *) "self",(char *) "text", NULL
25789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25791 if (!SWIG_IsOK(res1
)) {
25792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25794 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25796 arg2
= wxString_in_helper(obj1
);
25797 if (arg2
== NULL
) SWIG_fail
;
25801 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= wxArrayDouble2PyList_helper(result
);
25821 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
= 0;
25823 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25824 wxBitmap
*arg2
= 0 ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 PyObject
* obj2
= 0 ;
25844 PyObject
* obj3
= 0 ;
25845 PyObject
* obj4
= 0 ;
25846 PyObject
* obj5
= 0 ;
25847 char * kwnames
[] = {
25848 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25853 if (!SWIG_IsOK(res1
)) {
25854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25856 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25858 if (!SWIG_IsOK(res2
)) {
25859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25864 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25865 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25866 if (!SWIG_IsOK(ecode3
)) {
25867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
25869 arg3
= static_cast< wxDouble
>(val3
);
25870 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25871 if (!SWIG_IsOK(ecode4
)) {
25872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
25874 arg4
= static_cast< wxDouble
>(val4
);
25875 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25876 if (!SWIG_IsOK(ecode5
)) {
25877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
25879 arg5
= static_cast< wxDouble
>(val5
);
25880 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25881 if (!SWIG_IsOK(ecode6
)) {
25882 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
25884 arg6
= static_cast< wxDouble
>(val6
);
25886 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= SWIG_Py_Void();
25896 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
= 0;
25898 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25916 PyObject
* obj0
= 0 ;
25917 PyObject
* obj1
= 0 ;
25918 PyObject
* obj2
= 0 ;
25919 PyObject
* obj3
= 0 ;
25920 PyObject
* obj4
= 0 ;
25921 PyObject
* obj5
= 0 ;
25922 char * kwnames
[] = {
25923 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25928 if (!SWIG_IsOK(res1
)) {
25929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25931 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25932 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
25933 if (!SWIG_IsOK(res2
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25939 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
25940 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25941 if (!SWIG_IsOK(ecode3
)) {
25942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
25944 arg3
= static_cast< wxDouble
>(val3
);
25945 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25946 if (!SWIG_IsOK(ecode4
)) {
25947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
25949 arg4
= static_cast< wxDouble
>(val4
);
25950 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25951 if (!SWIG_IsOK(ecode5
)) {
25952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
25954 arg5
= static_cast< wxDouble
>(val5
);
25955 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25956 if (!SWIG_IsOK(ecode6
)) {
25957 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
25959 arg6
= static_cast< wxDouble
>(val6
);
25961 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= SWIG_Py_Void();
25971 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
= 0;
25973 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 PyObject
* obj2
= 0 ;
25991 PyObject
* obj3
= 0 ;
25992 PyObject
* obj4
= 0 ;
25993 char * kwnames
[] = {
25994 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
25997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25999 if (!SWIG_IsOK(res1
)) {
26000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26002 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26003 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26004 if (!SWIG_IsOK(ecode2
)) {
26005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26007 arg2
= static_cast< wxDouble
>(val2
);
26008 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26009 if (!SWIG_IsOK(ecode3
)) {
26010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26012 arg3
= static_cast< wxDouble
>(val3
);
26013 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26014 if (!SWIG_IsOK(ecode4
)) {
26015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26017 arg4
= static_cast< wxDouble
>(val4
);
26018 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26019 if (!SWIG_IsOK(ecode5
)) {
26020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26022 arg5
= static_cast< wxDouble
>(val5
);
26024 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= SWIG_Py_Void();
26034 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26035 PyObject
*resultobj
= 0;
26036 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26038 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 char * kwnames
[] = {
26044 (char *) "self",(char *) "points", NULL
26047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26049 if (!SWIG_IsOK(res1
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26052 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26054 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26055 if (arg3
== NULL
) SWIG_fail
;
26058 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= SWIG_Py_Void();
26063 if (arg3
) delete [] arg3
;
26068 if (arg3
) delete [] arg3
;
26074 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
= 0;
26076 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26077 PyObject
*arg2
= (PyObject
*) 0 ;
26078 PyObject
*arg3
= (PyObject
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 PyObject
* obj2
= 0 ;
26084 char * kwnames
[] = {
26085 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26090 if (!SWIG_IsOK(res1
)) {
26091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26093 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26097 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26100 resultobj
= SWIG_Py_Void();
26107 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26108 PyObject
*resultobj
= 0;
26109 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26111 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26112 int arg4
= (int) wxWINDING_RULE
;
26117 PyObject
* obj0
= 0 ;
26118 PyObject
* obj1
= 0 ;
26119 PyObject
* obj2
= 0 ;
26120 char * kwnames
[] = {
26121 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26126 if (!SWIG_IsOK(res1
)) {
26127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26129 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26131 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26132 if (arg3
== NULL
) SWIG_fail
;
26135 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26136 if (!SWIG_IsOK(ecode4
)) {
26137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26139 arg4
= static_cast< int >(val4
);
26142 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26145 resultobj
= SWIG_Py_Void();
26147 if (arg3
) delete [] arg3
;
26152 if (arg3
) delete [] arg3
;
26158 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
= 0;
26160 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26175 PyObject
* obj0
= 0 ;
26176 PyObject
* obj1
= 0 ;
26177 PyObject
* obj2
= 0 ;
26178 PyObject
* obj3
= 0 ;
26179 PyObject
* obj4
= 0 ;
26180 char * kwnames
[] = {
26181 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26186 if (!SWIG_IsOK(res1
)) {
26187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26189 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26190 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26191 if (!SWIG_IsOK(ecode2
)) {
26192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26194 arg2
= static_cast< wxDouble
>(val2
);
26195 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26196 if (!SWIG_IsOK(ecode3
)) {
26197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26199 arg3
= static_cast< wxDouble
>(val3
);
26200 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26201 if (!SWIG_IsOK(ecode4
)) {
26202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26204 arg4
= static_cast< wxDouble
>(val4
);
26205 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26206 if (!SWIG_IsOK(ecode5
)) {
26207 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26209 arg5
= static_cast< wxDouble
>(val5
);
26211 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= SWIG_Py_Void();
26221 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
= 0;
26223 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 PyObject
* obj2
= 0 ;
26241 PyObject
* obj3
= 0 ;
26242 PyObject
* obj4
= 0 ;
26243 char * kwnames
[] = {
26244 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26249 if (!SWIG_IsOK(res1
)) {
26250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26252 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26253 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26254 if (!SWIG_IsOK(ecode2
)) {
26255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26257 arg2
= static_cast< wxDouble
>(val2
);
26258 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26259 if (!SWIG_IsOK(ecode3
)) {
26260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26262 arg3
= static_cast< wxDouble
>(val3
);
26263 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26264 if (!SWIG_IsOK(ecode4
)) {
26265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26267 arg4
= static_cast< wxDouble
>(val4
);
26268 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26269 if (!SWIG_IsOK(ecode5
)) {
26270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26272 arg5
= static_cast< wxDouble
>(val5
);
26274 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 resultobj
= SWIG_Py_Void();
26284 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
= 0;
26286 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 PyObject
* obj2
= 0 ;
26307 PyObject
* obj3
= 0 ;
26308 PyObject
* obj4
= 0 ;
26309 PyObject
* obj5
= 0 ;
26310 char * kwnames
[] = {
26311 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26316 if (!SWIG_IsOK(res1
)) {
26317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26319 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26320 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26321 if (!SWIG_IsOK(ecode2
)) {
26322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26324 arg2
= static_cast< wxDouble
>(val2
);
26325 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26326 if (!SWIG_IsOK(ecode3
)) {
26327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26329 arg3
= static_cast< wxDouble
>(val3
);
26330 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26331 if (!SWIG_IsOK(ecode4
)) {
26332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26334 arg4
= static_cast< wxDouble
>(val4
);
26335 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26336 if (!SWIG_IsOK(ecode5
)) {
26337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26339 arg5
= static_cast< wxDouble
>(val5
);
26340 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26341 if (!SWIG_IsOK(ecode6
)) {
26342 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26344 arg6
= static_cast< wxDouble
>(val6
);
26346 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_Py_Void();
26356 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26359 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26360 return SWIG_Py_Void();
26363 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
= 0;
26365 wxWindowDC
*arg1
= 0 ;
26366 wxGCDC
*result
= 0 ;
26369 PyObject
* obj0
= 0 ;
26370 char * kwnames
[] = {
26371 (char *) "dc", NULL
26374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26375 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26376 if (!SWIG_IsOK(res1
)) {
26377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26382 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26384 if (!wxPyCheckForApp()) SWIG_fail
;
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26397 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26398 PyObject
*resultobj
= 0;
26399 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26402 PyObject
*swig_obj
[1] ;
26404 if (!args
) SWIG_fail
;
26405 swig_obj
[0] = args
;
26406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26407 if (!SWIG_IsOK(res1
)) {
26408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26410 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= SWIG_Py_Void();
26423 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26424 PyObject
*resultobj
= 0;
26425 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26426 wxGraphicsContext
*result
= 0 ;
26429 PyObject
*swig_obj
[1] ;
26431 if (!args
) SWIG_fail
;
26432 swig_obj
[0] = args
;
26433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26434 if (!SWIG_IsOK(res1
)) {
26435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26437 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26439 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26449 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26452 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26453 return SWIG_Py_Void();
26456 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26457 return SWIG_Python_InitShadowInstance(args
);
26460 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26461 PyObject
*resultobj
= 0;
26462 wxOverlay
*result
= 0 ;
26464 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= (wxOverlay
*)new wxOverlay();
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26478 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26479 PyObject
*resultobj
= 0;
26480 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26483 PyObject
*swig_obj
[1] ;
26485 if (!args
) SWIG_fail
;
26486 swig_obj
[0] = args
;
26487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26488 if (!SWIG_IsOK(res1
)) {
26489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26491 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 wxPyEndAllowThreads(__tstate
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 resultobj
= SWIG_Py_Void();
26506 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26507 PyObject
*resultobj
= 0;
26508 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26511 PyObject
*swig_obj
[1] ;
26513 if (!args
) SWIG_fail
;
26514 swig_obj
[0] = args
;
26515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26516 if (!SWIG_IsOK(res1
)) {
26517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26519 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26526 resultobj
= SWIG_Py_Void();
26533 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26536 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26537 return SWIG_Py_Void();
26540 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26541 return SWIG_Python_InitShadowInstance(args
);
26544 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26545 PyObject
*resultobj
= 0;
26546 wxOverlay
*arg1
= 0 ;
26547 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26552 wxDCOverlay
*result
= 0 ;
26566 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26568 if (!SWIG_IsOK(res1
)) {
26569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26574 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26575 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26576 if (!SWIG_IsOK(res2
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26579 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26580 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26581 if (!SWIG_IsOK(ecode3
)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
26584 arg3
= static_cast< int >(val3
);
26585 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26586 if (!SWIG_IsOK(ecode4
)) {
26587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
26589 arg4
= static_cast< int >(val4
);
26590 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
26591 if (!SWIG_IsOK(ecode5
)) {
26592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
26594 arg5
= static_cast< int >(val5
);
26595 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
26596 if (!SWIG_IsOK(ecode6
)) {
26597 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
26599 arg6
= static_cast< int >(val6
);
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26613 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26614 PyObject
*resultobj
= 0;
26615 wxOverlay
*arg1
= 0 ;
26616 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26617 wxDCOverlay
*result
= 0 ;
26623 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26625 if (!SWIG_IsOK(res1
)) {
26626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26631 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26632 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26633 if (!SWIG_IsOK(res2
)) {
26634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26636 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26650 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
26654 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
26657 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
26660 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
26664 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
26669 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26670 PyObject
*resultobj
= 0;
26671 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26674 PyObject
*swig_obj
[1] ;
26676 if (!args
) SWIG_fail
;
26677 swig_obj
[0] = args
;
26678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
26679 if (!SWIG_IsOK(res1
)) {
26680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26682 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= SWIG_Py_Void();
26697 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26698 PyObject
*resultobj
= 0;
26699 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26702 PyObject
*swig_obj
[1] ;
26704 if (!args
) SWIG_fail
;
26705 swig_obj
[0] = args
;
26706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
26707 if (!SWIG_IsOK(res1
)) {
26708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26710 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= SWIG_Py_Void();
26724 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26727 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
26728 return SWIG_Py_Void();
26731 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26732 return SWIG_Python_InitShadowInstance(args
);
26735 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
= 0;
26739 int arg3
= (int) true ;
26740 int arg4
= (int) 1 ;
26741 wxImageList
*result
= 0 ;
26750 PyObject
* obj0
= 0 ;
26751 PyObject
* obj1
= 0 ;
26752 PyObject
* obj2
= 0 ;
26753 PyObject
* obj3
= 0 ;
26754 char * kwnames
[] = {
26755 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26760 if (!SWIG_IsOK(ecode1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
26763 arg1
= static_cast< int >(val1
);
26764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26765 if (!SWIG_IsOK(ecode2
)) {
26766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
26768 arg2
= static_cast< int >(val2
);
26770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26771 if (!SWIG_IsOK(ecode3
)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
26774 arg3
= static_cast< int >(val3
);
26777 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26778 if (!SWIG_IsOK(ecode4
)) {
26779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
26781 arg4
= static_cast< int >(val4
);
26784 if (!wxPyCheckForApp()) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26791 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26799 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26800 PyObject
*resultobj
= 0;
26801 wxImageList
*arg1
= (wxImageList
*) 0 ;
26804 PyObject
*swig_obj
[1] ;
26806 if (!args
) SWIG_fail
;
26807 swig_obj
[0] = args
;
26808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
26809 if (!SWIG_IsOK(res1
)) {
26810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
26812 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= SWIG_Py_Void();
26827 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26828 PyObject
*resultobj
= 0;
26829 wxImageList
*arg1
= (wxImageList
*) 0 ;
26830 wxBitmap
*arg2
= 0 ;
26831 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
26832 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
26840 PyObject
* obj0
= 0 ;
26841 PyObject
* obj1
= 0 ;
26842 PyObject
* obj2
= 0 ;
26843 char * kwnames
[] = {
26844 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
26847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26849 if (!SWIG_IsOK(res1
)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
26852 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26854 if (!SWIG_IsOK(res2
)) {
26855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26860 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26862 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26863 if (!SWIG_IsOK(res3
)) {
26864 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26869 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= SWIG_From_int(static_cast< int >(result
));
26884 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
= 0;
26886 wxImageList
*arg1
= (wxImageList
*) 0 ;
26887 wxBitmap
*arg2
= 0 ;
26888 wxColour
*arg3
= 0 ;
26895 PyObject
* obj0
= 0 ;
26896 PyObject
* obj1
= 0 ;
26897 PyObject
* obj2
= 0 ;
26898 char * kwnames
[] = {
26899 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
26902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26904 if (!SWIG_IsOK(res1
)) {
26905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
26907 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26909 if (!SWIG_IsOK(res2
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26915 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26918 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_From_int(static_cast< int >(result
));
26933 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
= 0;
26935 wxImageList
*arg1
= (wxImageList
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char * kwnames
[] = {
26945 (char *) "self",(char *) "icon", NULL
26948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26950 if (!SWIG_IsOK(res1
)) {
26951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
26953 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26955 if (!SWIG_IsOK(res2
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26961 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_From_int(static_cast< int >(result
));
26975 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
= 0;
26977 wxImageList
*arg1
= (wxImageList
*) 0 ;
26979 SwigValueWrapper
<wxBitmap
> result
;
26984 PyObject
* obj0
= 0 ;
26985 PyObject
* obj1
= 0 ;
26986 char * kwnames
[] = {
26987 (char *) "self",(char *) "index", NULL
26990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26992 if (!SWIG_IsOK(res1
)) {
26993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
26995 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26997 if (!SWIG_IsOK(ecode2
)) {
26998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27000 arg2
= static_cast< int >(val2
);
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27014 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
= 0;
27016 wxImageList
*arg1
= (wxImageList
*) 0 ;
27023 PyObject
* obj0
= 0 ;
27024 PyObject
* obj1
= 0 ;
27025 char * kwnames
[] = {
27026 (char *) "self",(char *) "index", NULL
27029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27031 if (!SWIG_IsOK(res1
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27034 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27036 if (!SWIG_IsOK(ecode2
)) {
27037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27039 arg2
= static_cast< int >(val2
);
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27053 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
= 0;
27055 wxImageList
*arg1
= (wxImageList
*) 0 ;
27057 wxBitmap
*arg3
= 0 ;
27058 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27059 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 PyObject
* obj2
= 0 ;
27072 PyObject
* obj3
= 0 ;
27073 char * kwnames
[] = {
27074 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27079 if (!SWIG_IsOK(res1
)) {
27080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27082 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27084 if (!SWIG_IsOK(ecode2
)) {
27085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27087 arg2
= static_cast< int >(val2
);
27088 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27089 if (!SWIG_IsOK(res3
)) {
27090 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27095 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27097 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27098 if (!SWIG_IsOK(res4
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27104 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27121 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
= 0;
27123 wxImageList
*arg1
= (wxImageList
*) 0 ;
27128 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27129 bool arg7
= (bool) (bool)false ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 PyObject
* obj2
= 0 ;
27148 PyObject
* obj3
= 0 ;
27149 PyObject
* obj4
= 0 ;
27150 PyObject
* obj5
= 0 ;
27151 PyObject
* obj6
= 0 ;
27152 char * kwnames
[] = {
27153 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27158 if (!SWIG_IsOK(res1
)) {
27159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27161 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27163 if (!SWIG_IsOK(ecode2
)) {
27164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27166 arg2
= static_cast< int >(val2
);
27167 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27168 if (!SWIG_IsOK(res3
)) {
27169 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27174 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27176 if (!SWIG_IsOK(ecode4
)) {
27177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27179 arg4
= static_cast< int >(val4
);
27180 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27181 if (!SWIG_IsOK(ecode5
)) {
27182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27184 arg5
= static_cast< int >(val5
);
27186 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27187 if (!SWIG_IsOK(ecode6
)) {
27188 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27190 arg6
= static_cast< int >(val6
);
27193 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27194 if (!SWIG_IsOK(ecode7
)) {
27195 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27197 arg7
= static_cast< bool >(val7
);
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27214 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27215 PyObject
*resultobj
= 0;
27216 wxImageList
*arg1
= (wxImageList
*) 0 ;
27220 PyObject
*swig_obj
[1] ;
27222 if (!args
) SWIG_fail
;
27223 swig_obj
[0] = args
;
27224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27225 if (!SWIG_IsOK(res1
)) {
27226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27228 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 result
= (int)(arg1
)->GetImageCount();
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 resultobj
= SWIG_From_int(static_cast< int >(result
));
27242 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
= 0;
27244 wxImageList
*arg1
= (wxImageList
*) 0 ;
27251 PyObject
* obj0
= 0 ;
27252 PyObject
* obj1
= 0 ;
27253 char * kwnames
[] = {
27254 (char *) "self",(char *) "index", NULL
27257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27259 if (!SWIG_IsOK(res1
)) {
27260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27262 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27264 if (!SWIG_IsOK(ecode2
)) {
27265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27267 arg2
= static_cast< int >(val2
);
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 result
= (bool)(arg1
)->Remove(arg2
);
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27283 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27284 PyObject
*resultobj
= 0;
27285 wxImageList
*arg1
= (wxImageList
*) 0 ;
27289 PyObject
*swig_obj
[1] ;
27291 if (!args
) SWIG_fail
;
27292 swig_obj
[0] = args
;
27293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27294 if (!SWIG_IsOK(res1
)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27297 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27300 result
= (bool)(arg1
)->RemoveAll();
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27313 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
= 0;
27315 wxImageList
*arg1
= (wxImageList
*) 0 ;
27324 int res3
= SWIG_TMPOBJ
;
27326 int res4
= SWIG_TMPOBJ
;
27327 PyObject
* obj0
= 0 ;
27328 PyObject
* obj1
= 0 ;
27329 char * kwnames
[] = {
27330 (char *) "self",(char *) "index", NULL
27335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27337 if (!SWIG_IsOK(res1
)) {
27338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27340 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27342 if (!SWIG_IsOK(ecode2
)) {
27343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27345 arg2
= static_cast< int >(val2
);
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= SWIG_Py_Void();
27353 if (SWIG_IsTmpObj(res3
)) {
27354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27356 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27359 if (SWIG_IsTmpObj(res4
)) {
27360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27362 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27371 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27374 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27375 return SWIG_Py_Void();
27378 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27379 return SWIG_Python_InitShadowInstance(args
);
27382 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27383 PyObject
*resultobj
= 0;
27384 wxStockGDI
*result
= 0 ;
27386 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 result
= (wxStockGDI
*)new wxStockGDI();
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27400 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27401 PyObject
*resultobj
= 0;
27402 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27405 PyObject
*swig_obj
[1] ;
27407 if (!args
) SWIG_fail
;
27408 swig_obj
[0] = args
;
27409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27410 if (!SWIG_IsOK(res1
)) {
27411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27413 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= SWIG_Py_Void();
27428 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27429 PyObject
*resultobj
= 0;
27431 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 wxStockGDI::DeleteAll();
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27438 resultobj
= SWIG_Py_Void();
27445 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27446 PyObject
*resultobj
= 0;
27447 wxStockGDI
*result
= 0 ;
27449 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27453 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27454 result
= (wxStockGDI
*) &_result_ref
;
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27466 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
= 0;
27468 wxStockGDI::Item arg1
;
27469 wxBrush
*result
= 0 ;
27472 PyObject
* obj0
= 0 ;
27473 char * kwnames
[] = {
27474 (char *) "item", NULL
27477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27478 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27479 if (!SWIG_IsOK(ecode1
)) {
27480 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27482 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27485 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27486 wxPyEndAllowThreads(__tstate
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27496 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27497 PyObject
*resultobj
= 0;
27498 wxStockGDI::Item arg1
;
27499 wxColour
*result
= 0 ;
27502 PyObject
* obj0
= 0 ;
27503 char * kwnames
[] = {
27504 (char *) "item", NULL
27507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27508 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27509 if (!SWIG_IsOK(ecode1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27512 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27526 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27527 PyObject
*resultobj
= 0;
27528 wxStockGDI::Item arg1
;
27529 wxCursor
*result
= 0 ;
27532 PyObject
* obj0
= 0 ;
27533 char * kwnames
[] = {
27534 (char *) "item", NULL
27537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27538 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27539 if (!SWIG_IsOK(ecode1
)) {
27540 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27542 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27556 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
= 0;
27558 wxStockGDI::Item arg1
;
27559 wxPen
*result
= 0 ;
27562 PyObject
* obj0
= 0 ;
27563 char * kwnames
[] = {
27564 (char *) "item", NULL
27567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27569 if (!SWIG_IsOK(ecode1
)) {
27570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27572 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27586 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27587 PyObject
*resultobj
= 0;
27588 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27589 wxStockGDI::Item arg2
;
27590 wxFont
*result
= 0 ;
27595 PyObject
* obj0
= 0 ;
27596 PyObject
* obj1
= 0 ;
27597 char * kwnames
[] = {
27598 (char *) "self",(char *) "item", NULL
27601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27603 if (!SWIG_IsOK(res1
)) {
27604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27606 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27608 if (!SWIG_IsOK(ecode2
)) {
27609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27611 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27615 wxPyEndAllowThreads(__tstate
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27625 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27628 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27629 return SWIG_Py_Void();
27632 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27633 return SWIG_Python_InitShadowInstance(args
);
27636 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27637 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27642 SWIGINTERN PyObject
*NullBitmap_get(void) {
27643 PyObject
*pyobj
= 0;
27645 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27650 SWIGINTERN
int NullIcon_set(PyObject
*) {
27651 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27656 SWIGINTERN PyObject
*NullIcon_get(void) {
27657 PyObject
*pyobj
= 0;
27659 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27664 SWIGINTERN
int NullCursor_set(PyObject
*) {
27665 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27670 SWIGINTERN PyObject
*NullCursor_get(void) {
27671 PyObject
*pyobj
= 0;
27673 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27678 SWIGINTERN
int NullPen_set(PyObject
*) {
27679 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27684 SWIGINTERN PyObject
*NullPen_get(void) {
27685 PyObject
*pyobj
= 0;
27687 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27692 SWIGINTERN
int NullBrush_set(PyObject
*) {
27693 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27698 SWIGINTERN PyObject
*NullBrush_get(void) {
27699 PyObject
*pyobj
= 0;
27701 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27706 SWIGINTERN
int NullPalette_set(PyObject
*) {
27707 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27712 SWIGINTERN PyObject
*NullPalette_get(void) {
27713 PyObject
*pyobj
= 0;
27715 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27720 SWIGINTERN
int NullFont_set(PyObject
*) {
27721 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27726 SWIGINTERN PyObject
*NullFont_get(void) {
27727 PyObject
*pyobj
= 0;
27729 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27734 SWIGINTERN
int NullColour_set(PyObject
*) {
27735 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27740 SWIGINTERN PyObject
*NullColour_get(void) {
27741 PyObject
*pyobj
= 0;
27743 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27748 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27749 PyObject
*resultobj
= 0;
27750 wxGDIObjListBase
*result
= 0 ;
27752 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
27766 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27767 PyObject
*resultobj
= 0;
27768 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
27771 PyObject
*swig_obj
[1] ;
27773 if (!args
) SWIG_fail
;
27774 swig_obj
[0] = args
;
27775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
27776 if (!SWIG_IsOK(res1
)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
27779 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27784 wxPyEndAllowThreads(__tstate
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27787 resultobj
= SWIG_Py_Void();
27794 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27797 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
27798 return SWIG_Py_Void();
27801 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27802 return SWIG_Python_InitShadowInstance(args
);
27805 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
= 0;
27807 wxPenList
*arg1
= (wxPenList
*) 0 ;
27808 wxColour
*arg2
= 0 ;
27811 wxPen
*result
= 0 ;
27819 PyObject
* obj0
= 0 ;
27820 PyObject
* obj1
= 0 ;
27821 PyObject
* obj2
= 0 ;
27822 PyObject
* obj3
= 0 ;
27823 char * kwnames
[] = {
27824 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
27827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27829 if (!SWIG_IsOK(res1
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27832 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27835 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27838 if (!SWIG_IsOK(ecode3
)) {
27839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
27841 arg3
= static_cast< int >(val3
);
27842 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27843 if (!SWIG_IsOK(ecode4
)) {
27844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
27846 arg4
= static_cast< int >(val4
);
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27860 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
= 0;
27862 wxPenList
*arg1
= (wxPenList
*) 0 ;
27863 wxPen
*arg2
= (wxPen
*) 0 ;
27868 PyObject
* obj0
= 0 ;
27869 PyObject
* obj1
= 0 ;
27870 char * kwnames
[] = {
27871 (char *) "self",(char *) "pen", NULL
27874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27876 if (!SWIG_IsOK(res1
)) {
27877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
27879 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
27881 if (!SWIG_IsOK(res2
)) {
27882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
27884 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 (arg1
)->AddPen(arg2
);
27888 wxPyEndAllowThreads(__tstate
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27891 resultobj
= SWIG_Py_Void();
27898 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27899 PyObject
*resultobj
= 0;
27900 wxPenList
*arg1
= (wxPenList
*) 0 ;
27901 wxPen
*arg2
= (wxPen
*) 0 ;
27906 PyObject
* obj0
= 0 ;
27907 PyObject
* obj1
= 0 ;
27908 char * kwnames
[] = {
27909 (char *) "self",(char *) "pen", NULL
27912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27914 if (!SWIG_IsOK(res1
)) {
27915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27917 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
27919 if (!SWIG_IsOK(res2
)) {
27920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
27922 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 (arg1
)->RemovePen(arg2
);
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= SWIG_Py_Void();
27936 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27938 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27939 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
27940 return SWIG_Py_Void();
27943 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27944 PyObject
*resultobj
= 0;
27945 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27946 wxColour
*arg2
= 0 ;
27947 int arg3
= (int) wxSOLID
;
27948 wxBrush
*result
= 0 ;
27954 PyObject
* obj0
= 0 ;
27955 PyObject
* obj1
= 0 ;
27956 PyObject
* obj2
= 0 ;
27957 char * kwnames
[] = {
27958 (char *) "self",(char *) "colour",(char *) "style", NULL
27961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
27963 if (!SWIG_IsOK(res1
)) {
27964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
27966 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
27969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27973 if (!SWIG_IsOK(ecode3
)) {
27974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
27976 arg3
= static_cast< int >(val3
);
27979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27980 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27991 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27992 PyObject
*resultobj
= 0;
27993 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27994 wxBrush
*arg2
= (wxBrush
*) 0 ;
27999 PyObject
* obj0
= 0 ;
28000 PyObject
* obj1
= 0 ;
28001 char * kwnames
[] = {
28002 (char *) "self",(char *) "brush", NULL
28005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28007 if (!SWIG_IsOK(res1
)) {
28008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28010 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28011 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28012 if (!SWIG_IsOK(res2
)) {
28013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28015 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28018 (arg1
)->AddBrush(arg2
);
28019 wxPyEndAllowThreads(__tstate
);
28020 if (PyErr_Occurred()) SWIG_fail
;
28022 resultobj
= SWIG_Py_Void();
28029 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28030 PyObject
*resultobj
= 0;
28031 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28032 wxBrush
*arg2
= (wxBrush
*) 0 ;
28037 PyObject
* obj0
= 0 ;
28038 PyObject
* obj1
= 0 ;
28039 char * kwnames
[] = {
28040 (char *) "self",(char *) "brush", NULL
28043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28045 if (!SWIG_IsOK(res1
)) {
28046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28048 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28050 if (!SWIG_IsOK(res2
)) {
28051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28053 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 (arg1
)->RemoveBrush(arg2
);
28057 wxPyEndAllowThreads(__tstate
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28060 resultobj
= SWIG_Py_Void();
28067 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28070 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28071 return SWIG_Py_Void();
28074 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
= 0;
28076 wxFontList
*arg1
= (wxFontList
*) 0 ;
28081 bool arg6
= (bool) false ;
28082 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28083 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28084 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28085 wxFont
*result
= 0 ;
28098 bool temp7
= false ;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 PyObject
* obj2
= 0 ;
28104 PyObject
* obj3
= 0 ;
28105 PyObject
* obj4
= 0 ;
28106 PyObject
* obj5
= 0 ;
28107 PyObject
* obj6
= 0 ;
28108 PyObject
* obj7
= 0 ;
28109 char * kwnames
[] = {
28110 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28115 if (!SWIG_IsOK(res1
)) {
28116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28118 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28120 if (!SWIG_IsOK(ecode2
)) {
28121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28123 arg2
= static_cast< int >(val2
);
28124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28125 if (!SWIG_IsOK(ecode3
)) {
28126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28128 arg3
= static_cast< int >(val3
);
28129 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28130 if (!SWIG_IsOK(ecode4
)) {
28131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28133 arg4
= static_cast< int >(val4
);
28134 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28135 if (!SWIG_IsOK(ecode5
)) {
28136 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28138 arg5
= static_cast< int >(val5
);
28140 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28141 if (!SWIG_IsOK(ecode6
)) {
28142 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28144 arg6
= static_cast< bool >(val6
);
28148 arg7
= wxString_in_helper(obj6
);
28149 if (arg7
== NULL
) SWIG_fail
;
28154 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28155 if (!SWIG_IsOK(ecode8
)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28158 arg8
= static_cast< wxFontEncoding
>(val8
);
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28181 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
= 0;
28183 wxFontList
*arg1
= (wxFontList
*) 0 ;
28184 wxFont
*arg2
= (wxFont
*) 0 ;
28189 PyObject
* obj0
= 0 ;
28190 PyObject
* obj1
= 0 ;
28191 char * kwnames
[] = {
28192 (char *) "self",(char *) "font", NULL
28195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28197 if (!SWIG_IsOK(res1
)) {
28198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28200 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28202 if (!SWIG_IsOK(res2
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28205 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 (arg1
)->AddFont(arg2
);
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= SWIG_Py_Void();
28219 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
= 0;
28221 wxFontList
*arg1
= (wxFontList
*) 0 ;
28222 wxFont
*arg2
= (wxFont
*) 0 ;
28227 PyObject
* obj0
= 0 ;
28228 PyObject
* obj1
= 0 ;
28229 char * kwnames
[] = {
28230 (char *) "self",(char *) "font", NULL
28233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28235 if (!SWIG_IsOK(res1
)) {
28236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28238 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28240 if (!SWIG_IsOK(res2
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28243 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 (arg1
)->RemoveFont(arg2
);
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_Py_Void();
28257 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28260 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28261 return SWIG_Py_Void();
28264 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28265 PyObject
*resultobj
= 0;
28266 wxColourDatabase
*result
= 0 ;
28268 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28270 if (!wxPyCheckForApp()) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (wxColourDatabase
*)new wxColourDatabase();
28273 wxPyEndAllowThreads(__tstate
);
28274 if (PyErr_Occurred()) SWIG_fail
;
28276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28283 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28284 PyObject
*resultobj
= 0;
28285 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28288 PyObject
*swig_obj
[1] ;
28290 if (!args
) SWIG_fail
;
28291 swig_obj
[0] = args
;
28292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28296 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28304 resultobj
= SWIG_Py_Void();
28311 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
= 0;
28313 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28314 wxString
*arg2
= 0 ;
28318 bool temp2
= false ;
28319 PyObject
* obj0
= 0 ;
28320 PyObject
* obj1
= 0 ;
28321 char * kwnames
[] = {
28322 (char *) "self",(char *) "name", NULL
28325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28327 if (!SWIG_IsOK(res1
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28330 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28332 arg2
= wxString_in_helper(obj1
);
28333 if (arg2
== NULL
) SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28357 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
= 0;
28359 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28360 wxColour
*arg2
= 0 ;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 char * kwnames
[] = {
28368 (char *) "self",(char *) "colour", NULL
28371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28373 if (!SWIG_IsOK(res1
)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28376 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28379 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28400 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28401 PyObject
*resultobj
= 0;
28402 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28403 wxString
*arg2
= 0 ;
28404 wxColour
*arg3
= 0 ;
28407 bool temp2
= false ;
28409 PyObject
* obj0
= 0 ;
28410 PyObject
* obj1
= 0 ;
28411 PyObject
* obj2
= 0 ;
28412 char * kwnames
[] = {
28413 (char *) "self",(char *) "name",(char *) "colour", NULL
28416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28418 if (!SWIG_IsOK(res1
)) {
28419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28421 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28423 arg2
= wxString_in_helper(obj1
);
28424 if (arg2
== NULL
) SWIG_fail
;
28429 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= SWIG_Py_Void();
28452 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28453 PyObject
*resultobj
= 0;
28454 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28455 wxString
*arg2
= 0 ;
28461 bool temp2
= false ;
28468 PyObject
* obj0
= 0 ;
28469 PyObject
* obj1
= 0 ;
28470 PyObject
* obj2
= 0 ;
28471 PyObject
* obj3
= 0 ;
28472 PyObject
* obj4
= 0 ;
28473 char * kwnames
[] = {
28474 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28479 if (!SWIG_IsOK(res1
)) {
28480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28482 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28484 arg2
= wxString_in_helper(obj1
);
28485 if (arg2
== NULL
) SWIG_fail
;
28488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28489 if (!SWIG_IsOK(ecode3
)) {
28490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28492 arg3
= static_cast< int >(val3
);
28493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28494 if (!SWIG_IsOK(ecode4
)) {
28495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28497 arg4
= static_cast< int >(val4
);
28498 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28499 if (!SWIG_IsOK(ecode5
)) {
28500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28502 arg5
= static_cast< int >(val5
);
28504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28505 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28506 wxPyEndAllowThreads(__tstate
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28509 resultobj
= SWIG_Py_Void();
28524 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28527 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28528 return SWIG_Py_Void();
28531 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28532 return SWIG_Python_InitShadowInstance(args
);
28535 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28536 PyObject
*resultobj
= 0;
28537 wxFontList
*result
= 0 ;
28539 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 result
= (wxFontList
*)_wxPyInitTheFontList();
28543 wxPyEndAllowThreads(__tstate
);
28544 if (PyErr_Occurred()) SWIG_fail
;
28546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28553 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28554 PyObject
*resultobj
= 0;
28555 wxPenList
*result
= 0 ;
28557 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (wxPenList
*)_wxPyInitThePenList();
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28571 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28572 PyObject
*resultobj
= 0;
28573 wxBrushList
*result
= 0 ;
28575 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28589 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28590 PyObject
*resultobj
= 0;
28591 wxColourDatabase
*result
= 0 ;
28593 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28607 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28608 PyObject
*resultobj
= 0;
28609 wxEffects
*result
= 0 ;
28611 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 result
= (wxEffects
*)new wxEffects();
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28625 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28626 PyObject
*resultobj
= 0;
28627 wxEffects
*arg1
= (wxEffects
*) 0 ;
28631 PyObject
*swig_obj
[1] ;
28633 if (!args
) SWIG_fail
;
28634 swig_obj
[0] = args
;
28635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28636 if (!SWIG_IsOK(res1
)) {
28637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28639 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28653 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28654 PyObject
*resultobj
= 0;
28655 wxEffects
*arg1
= (wxEffects
*) 0 ;
28659 PyObject
*swig_obj
[1] ;
28661 if (!args
) SWIG_fail
;
28662 swig_obj
[0] = args
;
28663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28664 if (!SWIG_IsOK(res1
)) {
28665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28667 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28681 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28682 PyObject
*resultobj
= 0;
28683 wxEffects
*arg1
= (wxEffects
*) 0 ;
28687 PyObject
*swig_obj
[1] ;
28689 if (!args
) SWIG_fail
;
28690 swig_obj
[0] = args
;
28691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28692 if (!SWIG_IsOK(res1
)) {
28693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28695 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28699 wxPyEndAllowThreads(__tstate
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28709 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28710 PyObject
*resultobj
= 0;
28711 wxEffects
*arg1
= (wxEffects
*) 0 ;
28715 PyObject
*swig_obj
[1] ;
28717 if (!args
) SWIG_fail
;
28718 swig_obj
[0] = args
;
28719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28720 if (!SWIG_IsOK(res1
)) {
28721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28723 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28726 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28727 wxPyEndAllowThreads(__tstate
);
28728 if (PyErr_Occurred()) SWIG_fail
;
28730 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28737 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28738 PyObject
*resultobj
= 0;
28739 wxEffects
*arg1
= (wxEffects
*) 0 ;
28743 PyObject
*swig_obj
[1] ;
28745 if (!args
) SWIG_fail
;
28746 swig_obj
[0] = args
;
28747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28748 if (!SWIG_IsOK(res1
)) {
28749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28751 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28765 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
= 0;
28767 wxEffects
*arg1
= (wxEffects
*) 0 ;
28768 wxColour
*arg2
= 0 ;
28772 PyObject
* obj0
= 0 ;
28773 PyObject
* obj1
= 0 ;
28774 char * kwnames
[] = {
28775 (char *) "self",(char *) "c", NULL
28778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28780 if (!SWIG_IsOK(res1
)) {
28781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28783 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28786 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_Py_Void();
28801 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
= 0;
28803 wxEffects
*arg1
= (wxEffects
*) 0 ;
28804 wxColour
*arg2
= 0 ;
28808 PyObject
* obj0
= 0 ;
28809 PyObject
* obj1
= 0 ;
28810 char * kwnames
[] = {
28811 (char *) "self",(char *) "c", NULL
28814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28816 if (!SWIG_IsOK(res1
)) {
28817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28819 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28822 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28826 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
28827 wxPyEndAllowThreads(__tstate
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28830 resultobj
= SWIG_Py_Void();
28837 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28838 PyObject
*resultobj
= 0;
28839 wxEffects
*arg1
= (wxEffects
*) 0 ;
28840 wxColour
*arg2
= 0 ;
28844 PyObject
* obj0
= 0 ;
28845 PyObject
* obj1
= 0 ;
28846 char * kwnames
[] = {
28847 (char *) "self",(char *) "c", NULL
28850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28852 if (!SWIG_IsOK(res1
)) {
28853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28855 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28858 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28862 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
28863 wxPyEndAllowThreads(__tstate
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28866 resultobj
= SWIG_Py_Void();
28873 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28874 PyObject
*resultobj
= 0;
28875 wxEffects
*arg1
= (wxEffects
*) 0 ;
28876 wxColour
*arg2
= 0 ;
28880 PyObject
* obj0
= 0 ;
28881 PyObject
* obj1
= 0 ;
28882 char * kwnames
[] = {
28883 (char *) "self",(char *) "c", NULL
28886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28888 if (!SWIG_IsOK(res1
)) {
28889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28891 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= SWIG_Py_Void();
28909 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
= 0;
28911 wxEffects
*arg1
= (wxEffects
*) 0 ;
28912 wxColour
*arg2
= 0 ;
28916 PyObject
* obj0
= 0 ;
28917 PyObject
* obj1
= 0 ;
28918 char * kwnames
[] = {
28919 (char *) "self",(char *) "c", NULL
28922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28924 if (!SWIG_IsOK(res1
)) {
28925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28927 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28930 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28938 resultobj
= SWIG_Py_Void();
28945 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28946 PyObject
*resultobj
= 0;
28947 wxEffects
*arg1
= (wxEffects
*) 0 ;
28948 wxColour
*arg2
= 0 ;
28949 wxColour
*arg3
= 0 ;
28950 wxColour
*arg4
= 0 ;
28951 wxColour
*arg5
= 0 ;
28952 wxColour
*arg6
= 0 ;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 PyObject
* obj2
= 0 ;
28963 PyObject
* obj3
= 0 ;
28964 PyObject
* obj4
= 0 ;
28965 PyObject
* obj5
= 0 ;
28966 char * kwnames
[] = {
28967 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
28970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28972 if (!SWIG_IsOK(res1
)) {
28973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
28975 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28978 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28982 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28986 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28990 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
28994 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28998 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
28999 wxPyEndAllowThreads(__tstate
);
29000 if (PyErr_Occurred()) SWIG_fail
;
29002 resultobj
= SWIG_Py_Void();
29009 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29010 PyObject
*resultobj
= 0;
29011 wxEffects
*arg1
= (wxEffects
*) 0 ;
29014 int arg4
= (int) 1 ;
29022 PyObject
* obj0
= 0 ;
29023 PyObject
* obj1
= 0 ;
29024 PyObject
* obj2
= 0 ;
29025 PyObject
* obj3
= 0 ;
29026 char * kwnames
[] = {
29027 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29032 if (!SWIG_IsOK(res1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29035 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29037 if (!SWIG_IsOK(res2
)) {
29038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29043 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29046 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29050 if (!SWIG_IsOK(ecode4
)) {
29051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29053 arg4
= static_cast< int >(val4
);
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= SWIG_Py_Void();
29068 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29069 PyObject
*resultobj
= 0;
29070 wxEffects
*arg1
= (wxEffects
*) 0 ;
29073 wxBitmap
*arg4
= 0 ;
29082 PyObject
* obj0
= 0 ;
29083 PyObject
* obj1
= 0 ;
29084 PyObject
* obj2
= 0 ;
29085 PyObject
* obj3
= 0 ;
29086 char * kwnames
[] = {
29087 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29092 if (!SWIG_IsOK(res1
)) {
29093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29095 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29098 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29100 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29101 if (!SWIG_IsOK(res3
)) {
29102 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29107 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29108 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29109 if (!SWIG_IsOK(res4
)) {
29110 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29115 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29131 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29134 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29135 return SWIG_Py_Void();
29138 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29139 return SWIG_Python_InitShadowInstance(args
);
29142 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
= 0;
29147 wxSplitterRenderParams
*result
= 0 ;
29154 PyObject
* obj0
= 0 ;
29155 PyObject
* obj1
= 0 ;
29156 PyObject
* obj2
= 0 ;
29157 char * kwnames
[] = {
29158 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29162 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29163 if (!SWIG_IsOK(ecode1
)) {
29164 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29166 arg1
= static_cast< int >(val1
);
29167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29168 if (!SWIG_IsOK(ecode2
)) {
29169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29171 arg2
= static_cast< int >(val2
);
29172 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29173 if (!SWIG_IsOK(ecode3
)) {
29174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29176 arg3
= static_cast< bool >(val3
);
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29190 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29191 PyObject
*resultobj
= 0;
29192 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29195 PyObject
*swig_obj
[1] ;
29197 if (!args
) SWIG_fail
;
29198 swig_obj
[0] = args
;
29199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29200 if (!SWIG_IsOK(res1
)) {
29201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29203 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_Py_Void();
29218 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29219 PyObject
*resultobj
= 0;
29220 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29224 PyObject
*swig_obj
[1] ;
29226 if (!args
) SWIG_fail
;
29227 swig_obj
[0] = args
;
29228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29229 if (!SWIG_IsOK(res1
)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29232 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29233 result
= (int)(int) ((arg1
)->widthSash
);
29234 resultobj
= SWIG_From_int(static_cast< int >(result
));
29241 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29242 PyObject
*resultobj
= 0;
29243 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29247 PyObject
*swig_obj
[1] ;
29249 if (!args
) SWIG_fail
;
29250 swig_obj
[0] = args
;
29251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29252 if (!SWIG_IsOK(res1
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29255 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29256 result
= (int)(int) ((arg1
)->border
);
29257 resultobj
= SWIG_From_int(static_cast< int >(result
));
29264 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29265 PyObject
*resultobj
= 0;
29266 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29270 PyObject
*swig_obj
[1] ;
29272 if (!args
) SWIG_fail
;
29273 swig_obj
[0] = args
;
29274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29275 if (!SWIG_IsOK(res1
)) {
29276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29278 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29279 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29280 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29287 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29290 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29291 return SWIG_Py_Void();
29294 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29295 return SWIG_Python_InitShadowInstance(args
);
29298 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29299 PyObject
*resultobj
= 0;
29300 wxHeaderButtonParams
*result
= 0 ;
29302 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29316 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29317 PyObject
*resultobj
= 0;
29318 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29321 PyObject
*swig_obj
[1] ;
29323 if (!args
) SWIG_fail
;
29324 swig_obj
[0] = args
;
29325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29326 if (!SWIG_IsOK(res1
)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29329 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= SWIG_Py_Void();
29344 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29345 PyObject
*resultobj
= 0;
29346 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29347 wxColour
*arg2
= (wxColour
*) 0 ;
29351 PyObject
*swig_obj
[2] ;
29353 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29355 if (!SWIG_IsOK(res1
)) {
29356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29358 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29361 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29363 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29365 resultobj
= SWIG_Py_Void();
29372 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29373 PyObject
*resultobj
= 0;
29374 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29375 wxColour
*result
= 0 ;
29378 PyObject
*swig_obj
[1] ;
29380 if (!args
) SWIG_fail
;
29381 swig_obj
[0] = args
;
29382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29383 if (!SWIG_IsOK(res1
)) {
29384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29386 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29387 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29395 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29396 PyObject
*resultobj
= 0;
29397 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29398 wxColour
*arg2
= (wxColour
*) 0 ;
29402 PyObject
*swig_obj
[2] ;
29404 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29406 if (!SWIG_IsOK(res1
)) {
29407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29409 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29412 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29414 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29416 resultobj
= SWIG_Py_Void();
29423 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29424 PyObject
*resultobj
= 0;
29425 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29426 wxColour
*result
= 0 ;
29429 PyObject
*swig_obj
[1] ;
29431 if (!args
) SWIG_fail
;
29432 swig_obj
[0] = args
;
29433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29434 if (!SWIG_IsOK(res1
)) {
29435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29437 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29438 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29446 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29447 PyObject
*resultobj
= 0;
29448 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29449 wxString
*arg2
= (wxString
*) 0 ;
29452 bool temp2
= false ;
29453 PyObject
*swig_obj
[2] ;
29455 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29457 if (!SWIG_IsOK(res1
)) {
29458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29460 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29462 arg2
= wxString_in_helper(swig_obj
[1]);
29463 if (arg2
== NULL
) SWIG_fail
;
29466 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29468 resultobj
= SWIG_Py_Void();
29483 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29484 PyObject
*resultobj
= 0;
29485 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29486 wxString
*result
= 0 ;
29489 PyObject
*swig_obj
[1] ;
29491 if (!args
) SWIG_fail
;
29492 swig_obj
[0] = args
;
29493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29494 if (!SWIG_IsOK(res1
)) {
29495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29497 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29498 result
= (wxString
*)& ((arg1
)->m_labelText
);
29501 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29503 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29512 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29513 PyObject
*resultobj
= 0;
29514 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29515 wxFont
*arg2
= (wxFont
*) 0 ;
29520 PyObject
*swig_obj
[2] ;
29522 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29524 if (!SWIG_IsOK(res1
)) {
29525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29527 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29528 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29529 if (!SWIG_IsOK(res2
)) {
29530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29532 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29533 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29535 resultobj
= SWIG_Py_Void();
29542 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29543 PyObject
*resultobj
= 0;
29544 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29545 wxFont
*result
= 0 ;
29548 PyObject
*swig_obj
[1] ;
29550 if (!args
) SWIG_fail
;
29551 swig_obj
[0] = args
;
29552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29553 if (!SWIG_IsOK(res1
)) {
29554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29556 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29557 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29565 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29566 PyObject
*resultobj
= 0;
29567 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29568 wxColour
*arg2
= (wxColour
*) 0 ;
29572 PyObject
*swig_obj
[2] ;
29574 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29576 if (!SWIG_IsOK(res1
)) {
29577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29579 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29582 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29584 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29586 resultobj
= SWIG_Py_Void();
29593 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29594 PyObject
*resultobj
= 0;
29595 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29596 wxColour
*result
= 0 ;
29599 PyObject
*swig_obj
[1] ;
29601 if (!args
) SWIG_fail
;
29602 swig_obj
[0] = args
;
29603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29604 if (!SWIG_IsOK(res1
)) {
29605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29607 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29608 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29616 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29617 PyObject
*resultobj
= 0;
29618 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29619 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29624 PyObject
*swig_obj
[2] ;
29626 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29628 if (!SWIG_IsOK(res1
)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29631 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29632 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29633 if (!SWIG_IsOK(res2
)) {
29634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29636 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29637 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29639 resultobj
= SWIG_Py_Void();
29646 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29647 PyObject
*resultobj
= 0;
29648 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29649 wxBitmap
*result
= 0 ;
29652 PyObject
*swig_obj
[1] ;
29654 if (!args
) SWIG_fail
;
29655 swig_obj
[0] = args
;
29656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29657 if (!SWIG_IsOK(res1
)) {
29658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29660 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29661 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29669 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29670 PyObject
*resultobj
= 0;
29671 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29677 PyObject
*swig_obj
[2] ;
29679 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
29680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29681 if (!SWIG_IsOK(res1
)) {
29682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29684 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29685 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29686 if (!SWIG_IsOK(ecode2
)) {
29687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29689 arg2
= static_cast< int >(val2
);
29690 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29692 resultobj
= SWIG_Py_Void();
29699 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29700 PyObject
*resultobj
= 0;
29701 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29705 PyObject
*swig_obj
[1] ;
29707 if (!args
) SWIG_fail
;
29708 swig_obj
[0] = args
;
29709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29710 if (!SWIG_IsOK(res1
)) {
29711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29713 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29714 result
= (int) ((arg1
)->m_labelAlignment
);
29715 resultobj
= SWIG_From_int(static_cast< int >(result
));
29722 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29725 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29726 return SWIG_Py_Void();
29729 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29730 return SWIG_Python_InitShadowInstance(args
);
29733 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29734 PyObject
*resultobj
= 0;
29737 wxRendererVersion
*result
= 0 ;
29742 PyObject
* obj0
= 0 ;
29743 PyObject
* obj1
= 0 ;
29744 char * kwnames
[] = {
29745 (char *) "version_",(char *) "age_", NULL
29748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29749 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29750 if (!SWIG_IsOK(ecode1
)) {
29751 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29753 arg1
= static_cast< int >(val1
);
29754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29755 if (!SWIG_IsOK(ecode2
)) {
29756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29758 arg2
= static_cast< int >(val2
);
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29762 wxPyEndAllowThreads(__tstate
);
29763 if (PyErr_Occurred()) SWIG_fail
;
29765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
29772 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29773 PyObject
*resultobj
= 0;
29774 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29777 PyObject
*swig_obj
[1] ;
29779 if (!args
) SWIG_fail
;
29780 swig_obj
[0] = args
;
29781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
29782 if (!SWIG_IsOK(res1
)) {
29783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29785 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 resultobj
= SWIG_Py_Void();
29800 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
= 0;
29802 wxRendererVersion
*arg1
= 0 ;
29806 PyObject
* obj0
= 0 ;
29807 char * kwnames
[] = {
29808 (char *) "ver", NULL
29811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
29812 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
29813 if (!SWIG_IsOK(res1
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29819 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29822 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29835 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29836 PyObject
*resultobj
= 0;
29837 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29841 PyObject
*swig_obj
[1] ;
29843 if (!args
) SWIG_fail
;
29844 swig_obj
[0] = args
;
29845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
29846 if (!SWIG_IsOK(res1
)) {
29847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29849 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29850 result
= (int)(int) ((arg1
)->version
);
29851 resultobj
= SWIG_From_int(static_cast< int >(result
));
29858 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29859 PyObject
*resultobj
= 0;
29860 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29864 PyObject
*swig_obj
[1] ;
29866 if (!args
) SWIG_fail
;
29867 swig_obj
[0] = args
;
29868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29872 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29873 result
= (int)(int) ((arg1
)->age
);
29874 resultobj
= SWIG_From_int(static_cast< int >(result
));
29881 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29884 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
29885 return SWIG_Py_Void();
29888 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29889 return SWIG_Python_InitShadowInstance(args
);
29892 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29893 PyObject
*resultobj
= 0;
29894 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29895 wxWindow
*arg2
= (wxWindow
*) 0 ;
29898 int arg5
= (int) 0 ;
29899 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
29900 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
29914 PyObject
* obj0
= 0 ;
29915 PyObject
* obj1
= 0 ;
29916 PyObject
* obj2
= 0 ;
29917 PyObject
* obj3
= 0 ;
29918 PyObject
* obj4
= 0 ;
29919 PyObject
* obj5
= 0 ;
29920 PyObject
* obj6
= 0 ;
29921 char * kwnames
[] = {
29922 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
29925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29927 if (!SWIG_IsOK(res1
)) {
29928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29930 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29932 if (!SWIG_IsOK(res2
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
29935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29936 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29937 if (!SWIG_IsOK(res3
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
29941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
29943 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29946 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29949 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29950 if (!SWIG_IsOK(ecode5
)) {
29951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
29953 arg5
= static_cast< int >(val5
);
29956 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29957 if (!SWIG_IsOK(ecode6
)) {
29958 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
29960 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
29963 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29964 if (!SWIG_IsOK(res7
)) {
29965 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
29967 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= SWIG_Py_Void();
29982 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
= 0;
29984 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29985 wxWindow
*arg2
= (wxWindow
*) 0 ;
29988 int arg5
= (int) 0 ;
29989 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
29990 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30004 PyObject
* obj0
= 0 ;
30005 PyObject
* obj1
= 0 ;
30006 PyObject
* obj2
= 0 ;
30007 PyObject
* obj3
= 0 ;
30008 PyObject
* obj4
= 0 ;
30009 PyObject
* obj5
= 0 ;
30010 PyObject
* obj6
= 0 ;
30011 char * kwnames
[] = {
30012 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30017 if (!SWIG_IsOK(res1
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30020 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30022 if (!SWIG_IsOK(res2
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30025 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30026 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30027 if (!SWIG_IsOK(res3
)) {
30028 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30033 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30036 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30039 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30040 if (!SWIG_IsOK(ecode5
)) {
30041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30043 arg5
= static_cast< int >(val5
);
30046 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30047 if (!SWIG_IsOK(ecode6
)) {
30048 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30050 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30053 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30054 if (!SWIG_IsOK(res7
)) {
30055 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30057 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30061 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30062 wxPyEndAllowThreads(__tstate
);
30063 if (PyErr_Occurred()) SWIG_fail
;
30065 resultobj
= SWIG_Py_Void();
30072 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
= 0;
30074 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30075 wxWindow
*arg2
= (wxWindow
*) 0 ;
30081 PyObject
* obj0
= 0 ;
30082 PyObject
* obj1
= 0 ;
30083 char * kwnames
[] = {
30084 (char *) "self",(char *) "win", NULL
30087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30089 if (!SWIG_IsOK(res1
)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30092 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30094 if (!SWIG_IsOK(res2
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30097 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 resultobj
= SWIG_From_int(static_cast< int >(result
));
30111 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
= 0;
30113 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30114 wxWindow
*arg2
= (wxWindow
*) 0 ;
30117 int arg5
= (int) 0 ;
30127 PyObject
* obj0
= 0 ;
30128 PyObject
* obj1
= 0 ;
30129 PyObject
* obj2
= 0 ;
30130 PyObject
* obj3
= 0 ;
30131 PyObject
* obj4
= 0 ;
30132 char * kwnames
[] = {
30133 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30138 if (!SWIG_IsOK(res1
)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30141 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30143 if (!SWIG_IsOK(res2
)) {
30144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30147 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30148 if (!SWIG_IsOK(res3
)) {
30149 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30154 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30157 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30160 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30161 if (!SWIG_IsOK(ecode5
)) {
30162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30164 arg5
= static_cast< int >(val5
);
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30169 wxPyEndAllowThreads(__tstate
);
30170 if (PyErr_Occurred()) SWIG_fail
;
30172 resultobj
= SWIG_Py_Void();
30179 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30180 PyObject
*resultobj
= 0;
30181 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30182 wxWindow
*arg2
= (wxWindow
*) 0 ;
30185 int arg5
= (int) 0 ;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 PyObject
* obj2
= 0 ;
30198 PyObject
* obj3
= 0 ;
30199 PyObject
* obj4
= 0 ;
30200 char * kwnames
[] = {
30201 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30206 if (!SWIG_IsOK(res1
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30209 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30211 if (!SWIG_IsOK(res2
)) {
30212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30214 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30215 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30216 if (!SWIG_IsOK(res3
)) {
30217 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30222 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30225 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30228 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30229 if (!SWIG_IsOK(ecode5
)) {
30230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30232 arg5
= static_cast< int >(val5
);
30235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= SWIG_Py_Void();
30247 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30248 PyObject
*resultobj
= 0;
30249 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30250 wxWindow
*arg2
= (wxWindow
*) 0 ;
30254 wxOrientation arg6
;
30255 int arg7
= (int) 0 ;
30269 PyObject
* obj0
= 0 ;
30270 PyObject
* obj1
= 0 ;
30271 PyObject
* obj2
= 0 ;
30272 PyObject
* obj3
= 0 ;
30273 PyObject
* obj4
= 0 ;
30274 PyObject
* obj5
= 0 ;
30275 PyObject
* obj6
= 0 ;
30276 char * kwnames
[] = {
30277 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30282 if (!SWIG_IsOK(res1
)) {
30283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30285 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30287 if (!SWIG_IsOK(res2
)) {
30288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30290 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30291 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30292 if (!SWIG_IsOK(res3
)) {
30293 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30298 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30301 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30303 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30304 if (!SWIG_IsOK(ecode5
)) {
30305 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30307 arg5
= static_cast< int >(val5
);
30308 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30309 if (!SWIG_IsOK(ecode6
)) {
30310 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30312 arg6
= static_cast< wxOrientation
>(val6
);
30314 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30315 if (!SWIG_IsOK(ecode7
)) {
30316 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30318 arg7
= static_cast< int >(val7
);
30321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30322 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= SWIG_Py_Void();
30333 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
= 0;
30335 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30336 wxWindow
*arg2
= (wxWindow
*) 0 ;
30339 int arg5
= (int) 0 ;
30349 PyObject
* obj0
= 0 ;
30350 PyObject
* obj1
= 0 ;
30351 PyObject
* obj2
= 0 ;
30352 PyObject
* obj3
= 0 ;
30353 PyObject
* obj4
= 0 ;
30354 char * kwnames
[] = {
30355 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30360 if (!SWIG_IsOK(res1
)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30363 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30365 if (!SWIG_IsOK(res2
)) {
30366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30368 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30369 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30370 if (!SWIG_IsOK(res3
)) {
30371 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30376 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30379 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30382 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30383 if (!SWIG_IsOK(ecode5
)) {
30384 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30386 arg5
= static_cast< int >(val5
);
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30390 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30391 wxPyEndAllowThreads(__tstate
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30394 resultobj
= SWIG_Py_Void();
30401 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30402 PyObject
*resultobj
= 0;
30403 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30404 wxWindow
*arg2
= (wxWindow
*) 0 ;
30407 int arg5
= (int) 0 ;
30417 PyObject
* obj0
= 0 ;
30418 PyObject
* obj1
= 0 ;
30419 PyObject
* obj2
= 0 ;
30420 PyObject
* obj3
= 0 ;
30421 PyObject
* obj4
= 0 ;
30422 char * kwnames
[] = {
30423 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30428 if (!SWIG_IsOK(res1
)) {
30429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30431 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30432 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30433 if (!SWIG_IsOK(res2
)) {
30434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30436 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30437 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30438 if (!SWIG_IsOK(res3
)) {
30439 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30444 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30447 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30450 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30451 if (!SWIG_IsOK(ecode5
)) {
30452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30454 arg5
= static_cast< int >(val5
);
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= SWIG_Py_Void();
30469 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
= 0;
30471 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30472 wxWindow
*arg2
= (wxWindow
*) 0 ;
30475 int arg5
= (int) 0 ;
30485 PyObject
* obj0
= 0 ;
30486 PyObject
* obj1
= 0 ;
30487 PyObject
* obj2
= 0 ;
30488 PyObject
* obj3
= 0 ;
30489 PyObject
* obj4
= 0 ;
30490 char * kwnames
[] = {
30491 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30496 if (!SWIG_IsOK(res1
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30499 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30501 if (!SWIG_IsOK(res2
)) {
30502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30504 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30505 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30506 if (!SWIG_IsOK(res3
)) {
30507 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30512 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30515 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30518 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30519 if (!SWIG_IsOK(ecode5
)) {
30520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30522 arg5
= static_cast< int >(val5
);
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30527 wxPyEndAllowThreads(__tstate
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30530 resultobj
= SWIG_Py_Void();
30537 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30538 PyObject
*resultobj
= 0;
30539 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30540 wxWindow
*arg2
= (wxWindow
*) 0 ;
30543 int arg5
= (int) 0 ;
30553 PyObject
* obj0
= 0 ;
30554 PyObject
* obj1
= 0 ;
30555 PyObject
* obj2
= 0 ;
30556 PyObject
* obj3
= 0 ;
30557 PyObject
* obj4
= 0 ;
30558 char * kwnames
[] = {
30559 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30567 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30569 if (!SWIG_IsOK(res2
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30572 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30573 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30574 if (!SWIG_IsOK(res3
)) {
30575 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30580 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30583 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30586 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30587 if (!SWIG_IsOK(ecode5
)) {
30588 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30590 arg5
= static_cast< int >(val5
);
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30598 resultobj
= SWIG_Py_Void();
30605 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30606 PyObject
*resultobj
= 0;
30607 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30608 wxWindow
*arg2
= (wxWindow
*) 0 ;
30611 int arg5
= (int) 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 PyObject
* obj2
= 0 ;
30624 PyObject
* obj3
= 0 ;
30625 PyObject
* obj4
= 0 ;
30626 char * kwnames
[] = {
30627 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30632 if (!SWIG_IsOK(res1
)) {
30633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30635 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30637 if (!SWIG_IsOK(res2
)) {
30638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30640 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30641 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30642 if (!SWIG_IsOK(res3
)) {
30643 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30648 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30651 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30654 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30655 if (!SWIG_IsOK(ecode5
)) {
30656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30658 arg5
= static_cast< int >(val5
);
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30662 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30663 wxPyEndAllowThreads(__tstate
);
30664 if (PyErr_Occurred()) SWIG_fail
;
30666 resultobj
= SWIG_Py_Void();
30673 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30674 PyObject
*resultobj
= 0;
30675 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30676 wxWindow
*arg2
= (wxWindow
*) 0 ;
30677 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30682 PyObject
* obj0
= 0 ;
30683 PyObject
* obj1
= 0 ;
30684 char * kwnames
[] = {
30685 (char *) "self",(char *) "win", NULL
30688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30690 if (!SWIG_IsOK(res1
)) {
30691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30693 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30695 if (!SWIG_IsOK(res2
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30698 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30702 wxPyEndAllowThreads(__tstate
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30705 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30712 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30713 PyObject
*resultobj
= 0;
30714 wxRendererNative
*result
= 0 ;
30716 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30718 if (!wxPyCheckForApp()) SWIG_fail
;
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30722 result
= (wxRendererNative
*) &_result_ref
;
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30734 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30735 PyObject
*resultobj
= 0;
30736 wxRendererNative
*result
= 0 ;
30738 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30740 if (!wxPyCheckForApp()) SWIG_fail
;
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30744 result
= (wxRendererNative
*) &_result_ref
;
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30756 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30757 PyObject
*resultobj
= 0;
30758 wxRendererNative
*result
= 0 ;
30760 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30762 if (!wxPyCheckForApp()) SWIG_fail
;
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
30766 result
= (wxRendererNative
*) &_result_ref
;
30768 wxPyEndAllowThreads(__tstate
);
30769 if (PyErr_Occurred()) SWIG_fail
;
30771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30778 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30779 PyObject
*resultobj
= 0;
30780 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30781 wxRendererNative
*result
= 0 ;
30784 PyObject
* obj0
= 0 ;
30785 char * kwnames
[] = {
30786 (char *) "renderer", NULL
30789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
30790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30791 if (!SWIG_IsOK(res1
)) {
30792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30794 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30796 if (!wxPyCheckForApp()) SWIG_fail
;
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
30799 wxPyEndAllowThreads(__tstate
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30809 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30810 PyObject
*resultobj
= 0;
30811 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30812 SwigValueWrapper
<wxRendererVersion
> result
;
30815 PyObject
*swig_obj
[1] ;
30817 if (!args
) SWIG_fail
;
30818 swig_obj
[0] = args
;
30819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30820 if (!SWIG_IsOK(res1
)) {
30821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
30823 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30830 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
30837 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30840 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
30841 return SWIG_Py_Void();
30844 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30845 PyObject
*resultobj
= 0;
30846 wxPseudoDC
*result
= 0 ;
30848 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 result
= (wxPseudoDC
*)new wxPseudoDC();
30852 wxPyEndAllowThreads(__tstate
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
30862 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30863 PyObject
*resultobj
= 0;
30864 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30867 PyObject
*swig_obj
[1] ;
30869 if (!args
) SWIG_fail
;
30870 swig_obj
[0] = args
;
30871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30872 if (!SWIG_IsOK(res1
)) {
30873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30875 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30878 (arg1
)->BeginDrawing();
30879 wxPyEndAllowThreads(__tstate
);
30880 if (PyErr_Occurred()) SWIG_fail
;
30882 resultobj
= SWIG_Py_Void();
30889 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30890 PyObject
*resultobj
= 0;
30891 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30894 PyObject
*swig_obj
[1] ;
30896 if (!args
) SWIG_fail
;
30897 swig_obj
[0] = args
;
30898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30899 if (!SWIG_IsOK(res1
)) {
30900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30902 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30905 (arg1
)->EndDrawing();
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= SWIG_Py_Void();
30916 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30917 PyObject
*resultobj
= 0;
30918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30921 PyObject
*swig_obj
[1] ;
30923 if (!args
) SWIG_fail
;
30924 swig_obj
[0] = args
;
30925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
30926 if (!SWIG_IsOK(res1
)) {
30927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30929 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30934 wxPyEndAllowThreads(__tstate
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30937 resultobj
= SWIG_Py_Void();
30944 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30945 PyObject
*resultobj
= 0;
30946 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30949 PyObject
*swig_obj
[1] ;
30951 if (!args
) SWIG_fail
;
30952 swig_obj
[0] = args
;
30953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30954 if (!SWIG_IsOK(res1
)) {
30955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30957 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30960 (arg1
)->RemoveAll();
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= SWIG_Py_Void();
30971 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30972 PyObject
*resultobj
= 0;
30973 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30977 PyObject
*swig_obj
[1] ;
30979 if (!args
) SWIG_fail
;
30980 swig_obj
[0] = args
;
30981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30982 if (!SWIG_IsOK(res1
)) {
30983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30985 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30988 result
= (int)(arg1
)->GetLen();
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= SWIG_From_int(static_cast< int >(result
));
30999 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
= 0;
31001 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31007 PyObject
* obj0
= 0 ;
31008 PyObject
* obj1
= 0 ;
31009 char * kwnames
[] = {
31010 (char *) "self",(char *) "id", NULL
31013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31015 if (!SWIG_IsOK(res1
)) {
31016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31018 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31020 if (!SWIG_IsOK(ecode2
)) {
31021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31023 arg2
= static_cast< int >(val2
);
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 (arg1
)->SetId(arg2
);
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= SWIG_Py_Void();
31037 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31038 PyObject
*resultobj
= 0;
31039 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 char * kwnames
[] = {
31048 (char *) "self",(char *) "id", NULL
31051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31053 if (!SWIG_IsOK(res1
)) {
31054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31056 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31058 if (!SWIG_IsOK(ecode2
)) {
31059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31061 arg2
= static_cast< int >(val2
);
31063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31064 (arg1
)->ClearId(arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= SWIG_Py_Void();
31075 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
= 0;
31077 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31083 PyObject
* obj0
= 0 ;
31084 PyObject
* obj1
= 0 ;
31085 char * kwnames
[] = {
31086 (char *) "self",(char *) "id", NULL
31089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31091 if (!SWIG_IsOK(res1
)) {
31092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31094 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31096 if (!SWIG_IsOK(ecode2
)) {
31097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31099 arg2
= static_cast< int >(val2
);
31101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31102 (arg1
)->RemoveId(arg2
);
31103 wxPyEndAllowThreads(__tstate
);
31104 if (PyErr_Occurred()) SWIG_fail
;
31106 resultobj
= SWIG_Py_Void();
31113 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31114 PyObject
*resultobj
= 0;
31115 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31127 PyObject
* obj0
= 0 ;
31128 PyObject
* obj1
= 0 ;
31129 PyObject
* obj2
= 0 ;
31130 PyObject
* obj3
= 0 ;
31131 char * kwnames
[] = {
31132 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31137 if (!SWIG_IsOK(res1
)) {
31138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31142 if (!SWIG_IsOK(ecode2
)) {
31143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31145 arg2
= static_cast< int >(val2
);
31146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31147 if (!SWIG_IsOK(ecode3
)) {
31148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31150 arg3
= static_cast< int >(val3
);
31151 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31152 if (!SWIG_IsOK(ecode4
)) {
31153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31155 arg4
= static_cast< int >(val4
);
31157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31158 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31159 wxPyEndAllowThreads(__tstate
);
31160 if (PyErr_Occurred()) SWIG_fail
;
31162 resultobj
= SWIG_Py_Void();
31169 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31170 PyObject
*resultobj
= 0;
31171 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31173 bool arg3
= (bool) true ;
31180 PyObject
* obj0
= 0 ;
31181 PyObject
* obj1
= 0 ;
31182 PyObject
* obj2
= 0 ;
31183 char * kwnames
[] = {
31184 (char *) "self",(char *) "id",(char *) "greyout", NULL
31187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31189 if (!SWIG_IsOK(res1
)) {
31190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31194 if (!SWIG_IsOK(ecode2
)) {
31195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31197 arg2
= static_cast< int >(val2
);
31199 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31200 if (!SWIG_IsOK(ecode3
)) {
31201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31203 arg3
= static_cast< bool >(val3
);
31206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31207 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31208 wxPyEndAllowThreads(__tstate
);
31209 if (PyErr_Occurred()) SWIG_fail
;
31211 resultobj
= SWIG_Py_Void();
31218 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31219 PyObject
*resultobj
= 0;
31220 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31227 PyObject
* obj0
= 0 ;
31228 PyObject
* obj1
= 0 ;
31229 char * kwnames
[] = {
31230 (char *) "self",(char *) "id", NULL
31233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31235 if (!SWIG_IsOK(res1
)) {
31236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31238 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31240 if (!SWIG_IsOK(ecode2
)) {
31241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31243 arg2
= static_cast< int >(val2
);
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31247 wxPyEndAllowThreads(__tstate
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31259 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31260 PyObject
*resultobj
= 0;
31261 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31264 int arg4
= (int) 1 ;
31265 wxColor
const &arg5_defvalue
= *wxWHITE
;
31266 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31267 PyObject
*result
= 0 ;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 PyObject
* obj2
= 0 ;
31281 PyObject
* obj3
= 0 ;
31282 PyObject
* obj4
= 0 ;
31283 char * kwnames
[] = {
31284 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31289 if (!SWIG_IsOK(res1
)) {
31290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31292 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31294 if (!SWIG_IsOK(ecode2
)) {
31295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31297 arg2
= static_cast< int >(val2
);
31298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31299 if (!SWIG_IsOK(ecode3
)) {
31300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31302 arg3
= static_cast< int >(val3
);
31304 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31305 if (!SWIG_IsOK(ecode4
)) {
31306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31308 arg4
= static_cast< int >(val4
);
31311 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31312 if (!SWIG_IsOK(res5
)) {
31313 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31318 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31321 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= result
;
31331 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
= 0;
31333 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31336 PyObject
*result
= 0 ;
31343 PyObject
* obj0
= 0 ;
31344 PyObject
* obj1
= 0 ;
31345 PyObject
* obj2
= 0 ;
31346 char * kwnames
[] = {
31347 (char *) "self",(char *) "x",(char *) "y", NULL
31350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31352 if (!SWIG_IsOK(res1
)) {
31353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31355 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31357 if (!SWIG_IsOK(ecode2
)) {
31358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31360 arg2
= static_cast< int >(val2
);
31361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31362 if (!SWIG_IsOK(ecode3
)) {
31363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31365 arg3
= static_cast< int >(val3
);
31367 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= result
;
31377 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31378 PyObject
*resultobj
= 0;
31379 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31381 wxDC
*arg3
= (wxDC
*) 0 ;
31388 PyObject
* obj0
= 0 ;
31389 PyObject
* obj1
= 0 ;
31390 PyObject
* obj2
= 0 ;
31391 char * kwnames
[] = {
31392 (char *) "self",(char *) "id",(char *) "dc", NULL
31395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31397 if (!SWIG_IsOK(res1
)) {
31398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31402 if (!SWIG_IsOK(ecode2
)) {
31403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31405 arg2
= static_cast< int >(val2
);
31406 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31407 if (!SWIG_IsOK(res3
)) {
31408 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31410 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31413 (arg1
)->DrawIdToDC(arg2
,arg3
);
31414 wxPyEndAllowThreads(__tstate
);
31415 if (PyErr_Occurred()) SWIG_fail
;
31417 resultobj
= SWIG_Py_Void();
31424 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31425 PyObject
*resultobj
= 0;
31426 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 PyObject
* obj2
= 0 ;
31437 char * kwnames
[] = {
31438 (char *) "self",(char *) "id",(char *) "rect", NULL
31441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31443 if (!SWIG_IsOK(res1
)) {
31444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31446 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31448 if (!SWIG_IsOK(ecode2
)) {
31449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31451 arg2
= static_cast< int >(val2
);
31454 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31458 (arg1
)->SetIdBounds(arg2
,*arg3
);
31459 wxPyEndAllowThreads(__tstate
);
31460 if (PyErr_Occurred()) SWIG_fail
;
31462 resultobj
= SWIG_Py_Void();
31469 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31470 PyObject
*resultobj
= 0;
31471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31478 PyObject
* obj0
= 0 ;
31479 PyObject
* obj1
= 0 ;
31480 char * kwnames
[] = {
31481 (char *) "self",(char *) "id", NULL
31484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31486 if (!SWIG_IsOK(res1
)) {
31487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31489 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31491 if (!SWIG_IsOK(ecode2
)) {
31492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31494 arg2
= static_cast< int >(val2
);
31496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31497 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31508 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31509 PyObject
*resultobj
= 0;
31510 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31511 wxDC
*arg2
= (wxDC
*) 0 ;
31518 PyObject
* obj0
= 0 ;
31519 PyObject
* obj1
= 0 ;
31520 PyObject
* obj2
= 0 ;
31521 char * kwnames
[] = {
31522 (char *) "self",(char *) "dc",(char *) "rect", NULL
31525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31527 if (!SWIG_IsOK(res1
)) {
31528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31530 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31532 if (!SWIG_IsOK(res2
)) {
31533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31535 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31538 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= SWIG_Py_Void();
31553 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
= 0;
31555 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31556 wxDC
*arg2
= (wxDC
*) 0 ;
31557 wxRegion
*arg3
= 0 ;
31564 PyObject
* obj0
= 0 ;
31565 PyObject
* obj1
= 0 ;
31566 PyObject
* obj2
= 0 ;
31567 char * kwnames
[] = {
31568 (char *) "self",(char *) "dc",(char *) "region", NULL
31571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31573 if (!SWIG_IsOK(res1
)) {
31574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31576 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31578 if (!SWIG_IsOK(res2
)) {
31579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31581 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31582 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31583 if (!SWIG_IsOK(res3
)) {
31584 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31589 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31592 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31593 wxPyEndAllowThreads(__tstate
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31596 resultobj
= SWIG_Py_Void();
31603 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31604 PyObject
*resultobj
= 0;
31605 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31606 wxDC
*arg2
= (wxDC
*) 0 ;
31611 PyObject
* obj0
= 0 ;
31612 PyObject
* obj1
= 0 ;
31613 char * kwnames
[] = {
31614 (char *) "self",(char *) "dc", NULL
31617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31619 if (!SWIG_IsOK(res1
)) {
31620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31622 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31624 if (!SWIG_IsOK(res2
)) {
31625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31627 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31630 (arg1
)->DrawToDC(arg2
);
31631 wxPyEndAllowThreads(__tstate
);
31632 if (PyErr_Occurred()) SWIG_fail
;
31634 resultobj
= SWIG_Py_Void();
31641 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31642 PyObject
*resultobj
= 0;
31643 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31646 wxColour
*arg4
= 0 ;
31647 int arg5
= (int) wxFLOOD_SURFACE
;
31657 PyObject
* obj0
= 0 ;
31658 PyObject
* obj1
= 0 ;
31659 PyObject
* obj2
= 0 ;
31660 PyObject
* obj3
= 0 ;
31661 PyObject
* obj4
= 0 ;
31662 char * kwnames
[] = {
31663 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31668 if (!SWIG_IsOK(res1
)) {
31669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31671 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31673 if (!SWIG_IsOK(ecode2
)) {
31674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31676 arg2
= static_cast< int >(val2
);
31677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31678 if (!SWIG_IsOK(ecode3
)) {
31679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31681 arg3
= static_cast< int >(val3
);
31684 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31687 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31688 if (!SWIG_IsOK(ecode5
)) {
31689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31691 arg5
= static_cast< int >(val5
);
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31699 resultobj
= SWIG_Py_Void();
31706 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31707 PyObject
*resultobj
= 0;
31708 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31709 wxPoint
*arg2
= 0 ;
31710 wxColour
*arg3
= 0 ;
31711 int arg4
= (int) wxFLOOD_SURFACE
;
31718 PyObject
* obj0
= 0 ;
31719 PyObject
* obj1
= 0 ;
31720 PyObject
* obj2
= 0 ;
31721 PyObject
* obj3
= 0 ;
31722 char * kwnames
[] = {
31723 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31728 if (!SWIG_IsOK(res1
)) {
31729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31731 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31738 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31741 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31742 if (!SWIG_IsOK(ecode4
)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31745 arg4
= static_cast< int >(val4
);
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31750 wxPyEndAllowThreads(__tstate
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31753 resultobj
= SWIG_Py_Void();
31760 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
= 0;
31762 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31777 PyObject
* obj0
= 0 ;
31778 PyObject
* obj1
= 0 ;
31779 PyObject
* obj2
= 0 ;
31780 PyObject
* obj3
= 0 ;
31781 PyObject
* obj4
= 0 ;
31782 char * kwnames
[] = {
31783 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31788 if (!SWIG_IsOK(res1
)) {
31789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31791 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31793 if (!SWIG_IsOK(ecode2
)) {
31794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
31796 arg2
= static_cast< int >(val2
);
31797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31798 if (!SWIG_IsOK(ecode3
)) {
31799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
31801 arg3
= static_cast< int >(val3
);
31802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31803 if (!SWIG_IsOK(ecode4
)) {
31804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
31806 arg4
= static_cast< int >(val4
);
31807 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31808 if (!SWIG_IsOK(ecode5
)) {
31809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
31811 arg5
= static_cast< int >(val5
);
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
31815 wxPyEndAllowThreads(__tstate
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31818 resultobj
= SWIG_Py_Void();
31825 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31826 PyObject
*resultobj
= 0;
31827 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31828 wxPoint
*arg2
= 0 ;
31829 wxPoint
*arg3
= 0 ;
31834 PyObject
* obj0
= 0 ;
31835 PyObject
* obj1
= 0 ;
31836 PyObject
* obj2
= 0 ;
31837 char * kwnames
[] = {
31838 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
31841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31843 if (!SWIG_IsOK(res1
)) {
31844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31846 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31849 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31853 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
31858 wxPyEndAllowThreads(__tstate
);
31859 if (PyErr_Occurred()) SWIG_fail
;
31861 resultobj
= SWIG_Py_Void();
31868 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
= 0;
31870 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31879 PyObject
* obj0
= 0 ;
31880 PyObject
* obj1
= 0 ;
31881 PyObject
* obj2
= 0 ;
31882 char * kwnames
[] = {
31883 (char *) "self",(char *) "x",(char *) "y", NULL
31886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31888 if (!SWIG_IsOK(res1
)) {
31889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31893 if (!SWIG_IsOK(ecode2
)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
31896 arg2
= static_cast< int >(val2
);
31897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31898 if (!SWIG_IsOK(ecode3
)) {
31899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
31901 arg3
= static_cast< int >(val3
);
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31904 (arg1
)->CrossHair(arg2
,arg3
);
31905 wxPyEndAllowThreads(__tstate
);
31906 if (PyErr_Occurred()) SWIG_fail
;
31908 resultobj
= SWIG_Py_Void();
31915 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31916 PyObject
*resultobj
= 0;
31917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31918 wxPoint
*arg2
= 0 ;
31922 PyObject
* obj0
= 0 ;
31923 PyObject
* obj1
= 0 ;
31924 char * kwnames
[] = {
31925 (char *) "self",(char *) "pt", NULL
31928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31930 if (!SWIG_IsOK(res1
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31940 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31944 resultobj
= SWIG_Py_Void();
31951 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31952 PyObject
*resultobj
= 0;
31953 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31974 PyObject
* obj0
= 0 ;
31975 PyObject
* obj1
= 0 ;
31976 PyObject
* obj2
= 0 ;
31977 PyObject
* obj3
= 0 ;
31978 PyObject
* obj4
= 0 ;
31979 PyObject
* obj5
= 0 ;
31980 PyObject
* obj6
= 0 ;
31981 char * kwnames
[] = {
31982 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
31985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31987 if (!SWIG_IsOK(res1
)) {
31988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31990 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31992 if (!SWIG_IsOK(ecode2
)) {
31993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
31995 arg2
= static_cast< int >(val2
);
31996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31997 if (!SWIG_IsOK(ecode3
)) {
31998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32000 arg3
= static_cast< int >(val3
);
32001 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32002 if (!SWIG_IsOK(ecode4
)) {
32003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32005 arg4
= static_cast< int >(val4
);
32006 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32007 if (!SWIG_IsOK(ecode5
)) {
32008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32010 arg5
= static_cast< int >(val5
);
32011 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32012 if (!SWIG_IsOK(ecode6
)) {
32013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32015 arg6
= static_cast< int >(val6
);
32016 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32017 if (!SWIG_IsOK(ecode7
)) {
32018 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32020 arg7
= static_cast< int >(val7
);
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= SWIG_Py_Void();
32034 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
= 0;
32036 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32037 wxPoint
*arg2
= 0 ;
32038 wxPoint
*arg3
= 0 ;
32039 wxPoint
*arg4
= 0 ;
32045 PyObject
* obj0
= 0 ;
32046 PyObject
* obj1
= 0 ;
32047 PyObject
* obj2
= 0 ;
32048 PyObject
* obj3
= 0 ;
32049 char * kwnames
[] = {
32050 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32055 if (!SWIG_IsOK(res1
)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32058 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32065 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32069 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32073 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32077 resultobj
= SWIG_Py_Void();
32084 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
= 0;
32086 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32101 PyObject
* obj0
= 0 ;
32102 PyObject
* obj1
= 0 ;
32103 PyObject
* obj2
= 0 ;
32104 PyObject
* obj3
= 0 ;
32105 PyObject
* obj4
= 0 ;
32106 char * kwnames
[] = {
32107 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32112 if (!SWIG_IsOK(res1
)) {
32113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32115 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32117 if (!SWIG_IsOK(ecode2
)) {
32118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32120 arg2
= static_cast< int >(val2
);
32121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32122 if (!SWIG_IsOK(ecode3
)) {
32123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32125 arg3
= static_cast< int >(val3
);
32126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32127 if (!SWIG_IsOK(ecode4
)) {
32128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32130 arg4
= static_cast< int >(val4
);
32131 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32132 if (!SWIG_IsOK(ecode5
)) {
32133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32135 arg5
= static_cast< int >(val5
);
32137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32138 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32139 wxPyEndAllowThreads(__tstate
);
32140 if (PyErr_Occurred()) SWIG_fail
;
32142 resultobj
= SWIG_Py_Void();
32149 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32150 PyObject
*resultobj
= 0;
32151 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32156 PyObject
* obj0
= 0 ;
32157 PyObject
* obj1
= 0 ;
32158 char * kwnames
[] = {
32159 (char *) "self",(char *) "rect", NULL
32162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32164 if (!SWIG_IsOK(res1
)) {
32165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32167 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32170 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32178 resultobj
= SWIG_Py_Void();
32185 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32186 PyObject
*resultobj
= 0;
32187 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32208 PyObject
* obj0
= 0 ;
32209 PyObject
* obj1
= 0 ;
32210 PyObject
* obj2
= 0 ;
32211 PyObject
* obj3
= 0 ;
32212 PyObject
* obj4
= 0 ;
32213 PyObject
* obj5
= 0 ;
32214 PyObject
* obj6
= 0 ;
32215 char * kwnames
[] = {
32216 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32221 if (!SWIG_IsOK(res1
)) {
32222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32224 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32226 if (!SWIG_IsOK(ecode2
)) {
32227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32229 arg2
= static_cast< int >(val2
);
32230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32231 if (!SWIG_IsOK(ecode3
)) {
32232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32234 arg3
= static_cast< int >(val3
);
32235 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32236 if (!SWIG_IsOK(ecode4
)) {
32237 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32239 arg4
= static_cast< int >(val4
);
32240 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32241 if (!SWIG_IsOK(ecode5
)) {
32242 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32244 arg5
= static_cast< int >(val5
);
32245 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32246 if (!SWIG_IsOK(ecode6
)) {
32247 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32249 arg6
= static_cast< double >(val6
);
32250 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32251 if (!SWIG_IsOK(ecode7
)) {
32252 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32254 arg7
= static_cast< double >(val7
);
32256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32257 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32258 wxPyEndAllowThreads(__tstate
);
32259 if (PyErr_Occurred()) SWIG_fail
;
32261 resultobj
= SWIG_Py_Void();
32268 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32269 PyObject
*resultobj
= 0;
32270 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32271 wxPoint
*arg2
= 0 ;
32283 PyObject
* obj0
= 0 ;
32284 PyObject
* obj1
= 0 ;
32285 PyObject
* obj2
= 0 ;
32286 PyObject
* obj3
= 0 ;
32287 PyObject
* obj4
= 0 ;
32288 char * kwnames
[] = {
32289 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32294 if (!SWIG_IsOK(res1
)) {
32295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32297 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32304 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32306 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32307 if (!SWIG_IsOK(ecode4
)) {
32308 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32310 arg4
= static_cast< double >(val4
);
32311 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32312 if (!SWIG_IsOK(ecode5
)) {
32313 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32315 arg5
= static_cast< double >(val5
);
32317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32318 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32319 wxPyEndAllowThreads(__tstate
);
32320 if (PyErr_Occurred()) SWIG_fail
;
32322 resultobj
= SWIG_Py_Void();
32329 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32330 PyObject
*resultobj
= 0;
32331 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32340 PyObject
* obj0
= 0 ;
32341 PyObject
* obj1
= 0 ;
32342 PyObject
* obj2
= 0 ;
32343 char * kwnames
[] = {
32344 (char *) "self",(char *) "x",(char *) "y", NULL
32347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32349 if (!SWIG_IsOK(res1
)) {
32350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32352 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32354 if (!SWIG_IsOK(ecode2
)) {
32355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32357 arg2
= static_cast< int >(val2
);
32358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32359 if (!SWIG_IsOK(ecode3
)) {
32360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32362 arg3
= static_cast< int >(val3
);
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 (arg1
)->DrawPoint(arg2
,arg3
);
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 resultobj
= SWIG_Py_Void();
32376 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
= 0;
32378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32379 wxPoint
*arg2
= 0 ;
32383 PyObject
* obj0
= 0 ;
32384 PyObject
* obj1
= 0 ;
32385 char * kwnames
[] = {
32386 (char *) "self",(char *) "pt", NULL
32389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32391 if (!SWIG_IsOK(res1
)) {
32392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32394 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32397 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32402 wxPyEndAllowThreads(__tstate
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= SWIG_Py_Void();
32412 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
= 0;
32414 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32429 PyObject
* obj0
= 0 ;
32430 PyObject
* obj1
= 0 ;
32431 PyObject
* obj2
= 0 ;
32432 PyObject
* obj3
= 0 ;
32433 PyObject
* obj4
= 0 ;
32434 char * kwnames
[] = {
32435 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32440 if (!SWIG_IsOK(res1
)) {
32441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32443 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32445 if (!SWIG_IsOK(ecode2
)) {
32446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32448 arg2
= static_cast< int >(val2
);
32449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32450 if (!SWIG_IsOK(ecode3
)) {
32451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32453 arg3
= static_cast< int >(val3
);
32454 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32455 if (!SWIG_IsOK(ecode4
)) {
32456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32458 arg4
= static_cast< int >(val4
);
32459 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32460 if (!SWIG_IsOK(ecode5
)) {
32461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32463 arg5
= static_cast< int >(val5
);
32465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32466 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32467 wxPyEndAllowThreads(__tstate
);
32468 if (PyErr_Occurred()) SWIG_fail
;
32470 resultobj
= SWIG_Py_Void();
32477 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
= 0;
32479 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32484 PyObject
* obj0
= 0 ;
32485 PyObject
* obj1
= 0 ;
32486 char * kwnames
[] = {
32487 (char *) "self",(char *) "rect", NULL
32490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32492 if (!SWIG_IsOK(res1
)) {
32493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32495 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32498 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32502 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32503 wxPyEndAllowThreads(__tstate
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32506 resultobj
= SWIG_Py_Void();
32513 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32514 PyObject
*resultobj
= 0;
32515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32516 wxPoint
*arg2
= 0 ;
32522 PyObject
* obj0
= 0 ;
32523 PyObject
* obj1
= 0 ;
32524 PyObject
* obj2
= 0 ;
32525 char * kwnames
[] = {
32526 (char *) "self",(char *) "pt",(char *) "sz", NULL
32529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32531 if (!SWIG_IsOK(res1
)) {
32532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32534 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32541 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32549 resultobj
= SWIG_Py_Void();
32556 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
= 0;
32558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32576 PyObject
* obj0
= 0 ;
32577 PyObject
* obj1
= 0 ;
32578 PyObject
* obj2
= 0 ;
32579 PyObject
* obj3
= 0 ;
32580 PyObject
* obj4
= 0 ;
32581 PyObject
* obj5
= 0 ;
32582 char * kwnames
[] = {
32583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32588 if (!SWIG_IsOK(res1
)) {
32589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32591 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32593 if (!SWIG_IsOK(ecode2
)) {
32594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32596 arg2
= static_cast< int >(val2
);
32597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32598 if (!SWIG_IsOK(ecode3
)) {
32599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32601 arg3
= static_cast< int >(val3
);
32602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32603 if (!SWIG_IsOK(ecode4
)) {
32604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32606 arg4
= static_cast< int >(val4
);
32607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32608 if (!SWIG_IsOK(ecode5
)) {
32609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32611 arg5
= static_cast< int >(val5
);
32612 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32613 if (!SWIG_IsOK(ecode6
)) {
32614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32616 arg6
= static_cast< double >(val6
);
32618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32619 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32620 wxPyEndAllowThreads(__tstate
);
32621 if (PyErr_Occurred()) SWIG_fail
;
32623 resultobj
= SWIG_Py_Void();
32630 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32631 PyObject
*resultobj
= 0;
32632 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32640 PyObject
* obj0
= 0 ;
32641 PyObject
* obj1
= 0 ;
32642 PyObject
* obj2
= 0 ;
32643 char * kwnames
[] = {
32644 (char *) "self",(char *) "r",(char *) "radius", NULL
32647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32649 if (!SWIG_IsOK(res1
)) {
32650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32652 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32655 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32657 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32658 if (!SWIG_IsOK(ecode3
)) {
32659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32661 arg3
= static_cast< double >(val3
);
32663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32664 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32665 wxPyEndAllowThreads(__tstate
);
32666 if (PyErr_Occurred()) SWIG_fail
;
32668 resultobj
= SWIG_Py_Void();
32675 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32676 PyObject
*resultobj
= 0;
32677 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32678 wxPoint
*arg2
= 0 ;
32687 PyObject
* obj0
= 0 ;
32688 PyObject
* obj1
= 0 ;
32689 PyObject
* obj2
= 0 ;
32690 PyObject
* obj3
= 0 ;
32691 char * kwnames
[] = {
32692 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32697 if (!SWIG_IsOK(res1
)) {
32698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32700 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32703 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32707 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32709 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32710 if (!SWIG_IsOK(ecode4
)) {
32711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32713 arg4
= static_cast< double >(val4
);
32715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32716 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32717 wxPyEndAllowThreads(__tstate
);
32718 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= SWIG_Py_Void();
32727 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32728 PyObject
*resultobj
= 0;
32729 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32741 PyObject
* obj0
= 0 ;
32742 PyObject
* obj1
= 0 ;
32743 PyObject
* obj2
= 0 ;
32744 PyObject
* obj3
= 0 ;
32745 char * kwnames
[] = {
32746 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32751 if (!SWIG_IsOK(res1
)) {
32752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32754 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32756 if (!SWIG_IsOK(ecode2
)) {
32757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32759 arg2
= static_cast< int >(val2
);
32760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32761 if (!SWIG_IsOK(ecode3
)) {
32762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
32764 arg3
= static_cast< int >(val3
);
32765 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32766 if (!SWIG_IsOK(ecode4
)) {
32767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
32769 arg4
= static_cast< int >(val4
);
32771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32772 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32776 resultobj
= SWIG_Py_Void();
32783 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32784 PyObject
*resultobj
= 0;
32785 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32786 wxPoint
*arg2
= 0 ;
32793 PyObject
* obj0
= 0 ;
32794 PyObject
* obj1
= 0 ;
32795 PyObject
* obj2
= 0 ;
32796 char * kwnames
[] = {
32797 (char *) "self",(char *) "pt",(char *) "radius", NULL
32800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32802 if (!SWIG_IsOK(res1
)) {
32803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32805 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32808 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32811 if (!SWIG_IsOK(ecode3
)) {
32812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
32814 arg3
= static_cast< int >(val3
);
32816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
32818 wxPyEndAllowThreads(__tstate
);
32819 if (PyErr_Occurred()) SWIG_fail
;
32821 resultobj
= SWIG_Py_Void();
32828 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32829 PyObject
*resultobj
= 0;
32830 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32845 PyObject
* obj0
= 0 ;
32846 PyObject
* obj1
= 0 ;
32847 PyObject
* obj2
= 0 ;
32848 PyObject
* obj3
= 0 ;
32849 PyObject
* obj4
= 0 ;
32850 char * kwnames
[] = {
32851 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32856 if (!SWIG_IsOK(res1
)) {
32857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32859 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32861 if (!SWIG_IsOK(ecode2
)) {
32862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
32864 arg2
= static_cast< int >(val2
);
32865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32866 if (!SWIG_IsOK(ecode3
)) {
32867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
32869 arg3
= static_cast< int >(val3
);
32870 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32871 if (!SWIG_IsOK(ecode4
)) {
32872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
32874 arg4
= static_cast< int >(val4
);
32875 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32876 if (!SWIG_IsOK(ecode5
)) {
32877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
32879 arg5
= static_cast< int >(val5
);
32881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32882 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
32883 wxPyEndAllowThreads(__tstate
);
32884 if (PyErr_Occurred()) SWIG_fail
;
32886 resultobj
= SWIG_Py_Void();
32893 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32894 PyObject
*resultobj
= 0;
32895 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32900 PyObject
* obj0
= 0 ;
32901 PyObject
* obj1
= 0 ;
32902 char * kwnames
[] = {
32903 (char *) "self",(char *) "rect", NULL
32906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32908 if (!SWIG_IsOK(res1
)) {
32909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32911 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32914 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
32919 wxPyEndAllowThreads(__tstate
);
32920 if (PyErr_Occurred()) SWIG_fail
;
32922 resultobj
= SWIG_Py_Void();
32929 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32930 PyObject
*resultobj
= 0;
32931 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32932 wxPoint
*arg2
= 0 ;
32938 PyObject
* obj0
= 0 ;
32939 PyObject
* obj1
= 0 ;
32940 PyObject
* obj2
= 0 ;
32941 char * kwnames
[] = {
32942 (char *) "self",(char *) "pt",(char *) "sz", NULL
32945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32947 if (!SWIG_IsOK(res1
)) {
32948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32950 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32957 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32961 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32962 wxPyEndAllowThreads(__tstate
);
32963 if (PyErr_Occurred()) SWIG_fail
;
32965 resultobj
= SWIG_Py_Void();
32972 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32973 PyObject
*resultobj
= 0;
32974 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32986 PyObject
* obj0
= 0 ;
32987 PyObject
* obj1
= 0 ;
32988 PyObject
* obj2
= 0 ;
32989 PyObject
* obj3
= 0 ;
32990 char * kwnames
[] = {
32991 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
32994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32996 if (!SWIG_IsOK(res1
)) {
32997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32999 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33001 if (!SWIG_IsOK(res2
)) {
33002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33007 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33009 if (!SWIG_IsOK(ecode3
)) {
33010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33012 arg3
= static_cast< int >(val3
);
33013 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33014 if (!SWIG_IsOK(ecode4
)) {
33015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33017 arg4
= static_cast< int >(val4
);
33019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33020 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33021 wxPyEndAllowThreads(__tstate
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33024 resultobj
= SWIG_Py_Void();
33031 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33032 PyObject
*resultobj
= 0;
33033 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33035 wxPoint
*arg3
= 0 ;
33041 PyObject
* obj0
= 0 ;
33042 PyObject
* obj1
= 0 ;
33043 PyObject
* obj2
= 0 ;
33044 char * kwnames
[] = {
33045 (char *) "self",(char *) "icon",(char *) "pt", NULL
33048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33050 if (!SWIG_IsOK(res1
)) {
33051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33053 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33055 if (!SWIG_IsOK(res2
)) {
33056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33061 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33068 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33072 resultobj
= SWIG_Py_Void();
33079 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33080 PyObject
*resultobj
= 0;
33081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33082 wxBitmap
*arg2
= 0 ;
33085 bool arg5
= (bool) false ;
33096 PyObject
* obj0
= 0 ;
33097 PyObject
* obj1
= 0 ;
33098 PyObject
* obj2
= 0 ;
33099 PyObject
* obj3
= 0 ;
33100 PyObject
* obj4
= 0 ;
33101 char * kwnames
[] = {
33102 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33107 if (!SWIG_IsOK(res1
)) {
33108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33110 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33112 if (!SWIG_IsOK(res2
)) {
33113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33118 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33120 if (!SWIG_IsOK(ecode3
)) {
33121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33123 arg3
= static_cast< int >(val3
);
33124 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33125 if (!SWIG_IsOK(ecode4
)) {
33126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33128 arg4
= static_cast< int >(val4
);
33130 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33131 if (!SWIG_IsOK(ecode5
)) {
33132 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33134 arg5
= static_cast< bool >(val5
);
33137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33138 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33139 wxPyEndAllowThreads(__tstate
);
33140 if (PyErr_Occurred()) SWIG_fail
;
33142 resultobj
= SWIG_Py_Void();
33149 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33150 PyObject
*resultobj
= 0;
33151 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33152 wxBitmap
*arg2
= 0 ;
33153 wxPoint
*arg3
= 0 ;
33154 bool arg4
= (bool) false ;
33162 PyObject
* obj0
= 0 ;
33163 PyObject
* obj1
= 0 ;
33164 PyObject
* obj2
= 0 ;
33165 PyObject
* obj3
= 0 ;
33166 char * kwnames
[] = {
33167 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33172 if (!SWIG_IsOK(res1
)) {
33173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33175 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33177 if (!SWIG_IsOK(res2
)) {
33178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33183 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33186 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33189 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33190 if (!SWIG_IsOK(ecode4
)) {
33191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33193 arg4
= static_cast< bool >(val4
);
33196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33197 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33198 wxPyEndAllowThreads(__tstate
);
33199 if (PyErr_Occurred()) SWIG_fail
;
33201 resultobj
= SWIG_Py_Void();
33208 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33209 PyObject
*resultobj
= 0;
33210 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33211 wxString
*arg2
= 0 ;
33216 bool temp2
= false ;
33221 PyObject
* obj0
= 0 ;
33222 PyObject
* obj1
= 0 ;
33223 PyObject
* obj2
= 0 ;
33224 PyObject
* obj3
= 0 ;
33225 char * kwnames
[] = {
33226 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33231 if (!SWIG_IsOK(res1
)) {
33232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33234 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33236 arg2
= wxString_in_helper(obj1
);
33237 if (arg2
== NULL
) SWIG_fail
;
33240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33241 if (!SWIG_IsOK(ecode3
)) {
33242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33244 arg3
= static_cast< int >(val3
);
33245 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33246 if (!SWIG_IsOK(ecode4
)) {
33247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33249 arg4
= static_cast< int >(val4
);
33251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33252 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33253 wxPyEndAllowThreads(__tstate
);
33254 if (PyErr_Occurred()) SWIG_fail
;
33256 resultobj
= SWIG_Py_Void();
33271 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33272 PyObject
*resultobj
= 0;
33273 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33274 wxString
*arg2
= 0 ;
33275 wxPoint
*arg3
= 0 ;
33278 bool temp2
= false ;
33280 PyObject
* obj0
= 0 ;
33281 PyObject
* obj1
= 0 ;
33282 PyObject
* obj2
= 0 ;
33283 char * kwnames
[] = {
33284 (char *) "self",(char *) "text",(char *) "pt", NULL
33287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33289 if (!SWIG_IsOK(res1
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33292 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33294 arg2
= wxString_in_helper(obj1
);
33295 if (arg2
== NULL
) SWIG_fail
;
33300 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33305 wxPyEndAllowThreads(__tstate
);
33306 if (PyErr_Occurred()) SWIG_fail
;
33308 resultobj
= SWIG_Py_Void();
33323 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33324 PyObject
*resultobj
= 0;
33325 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33326 wxString
*arg2
= 0 ;
33332 bool temp2
= false ;
33339 PyObject
* obj0
= 0 ;
33340 PyObject
* obj1
= 0 ;
33341 PyObject
* obj2
= 0 ;
33342 PyObject
* obj3
= 0 ;
33343 PyObject
* obj4
= 0 ;
33344 char * kwnames
[] = {
33345 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33350 if (!SWIG_IsOK(res1
)) {
33351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33353 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33355 arg2
= wxString_in_helper(obj1
);
33356 if (arg2
== NULL
) SWIG_fail
;
33359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33360 if (!SWIG_IsOK(ecode3
)) {
33361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33363 arg3
= static_cast< int >(val3
);
33364 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33365 if (!SWIG_IsOK(ecode4
)) {
33366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33368 arg4
= static_cast< int >(val4
);
33369 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33370 if (!SWIG_IsOK(ecode5
)) {
33371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33373 arg5
= static_cast< double >(val5
);
33375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33376 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33377 wxPyEndAllowThreads(__tstate
);
33378 if (PyErr_Occurred()) SWIG_fail
;
33380 resultobj
= SWIG_Py_Void();
33395 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33396 PyObject
*resultobj
= 0;
33397 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33398 wxString
*arg2
= 0 ;
33399 wxPoint
*arg3
= 0 ;
33403 bool temp2
= false ;
33407 PyObject
* obj0
= 0 ;
33408 PyObject
* obj1
= 0 ;
33409 PyObject
* obj2
= 0 ;
33410 PyObject
* obj3
= 0 ;
33411 char * kwnames
[] = {
33412 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33417 if (!SWIG_IsOK(res1
)) {
33418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33420 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33422 arg2
= wxString_in_helper(obj1
);
33423 if (arg2
== NULL
) SWIG_fail
;
33428 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33430 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33431 if (!SWIG_IsOK(ecode4
)) {
33432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33434 arg4
= static_cast< double >(val4
);
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33437 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= SWIG_Py_Void();
33456 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33457 PyObject
*resultobj
= 0;
33458 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33460 wxPoint
*arg3
= (wxPoint
*) 0 ;
33461 int arg4
= (int) 0 ;
33462 int arg5
= (int) 0 ;
33469 PyObject
* obj0
= 0 ;
33470 PyObject
* obj1
= 0 ;
33471 PyObject
* obj2
= 0 ;
33472 PyObject
* obj3
= 0 ;
33473 char * kwnames
[] = {
33474 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33479 if (!SWIG_IsOK(res1
)) {
33480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33482 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33484 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33485 if (arg3
== NULL
) SWIG_fail
;
33488 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33489 if (!SWIG_IsOK(ecode4
)) {
33490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33492 arg4
= static_cast< int >(val4
);
33495 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33496 if (!SWIG_IsOK(ecode5
)) {
33497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33499 arg5
= static_cast< int >(val5
);
33502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33503 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33504 wxPyEndAllowThreads(__tstate
);
33505 if (PyErr_Occurred()) SWIG_fail
;
33507 resultobj
= SWIG_Py_Void();
33509 if (arg3
) delete [] arg3
;
33514 if (arg3
) delete [] arg3
;
33520 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33521 PyObject
*resultobj
= 0;
33522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33524 wxPoint
*arg3
= (wxPoint
*) 0 ;
33525 int arg4
= (int) 0 ;
33526 int arg5
= (int) 0 ;
33527 int arg6
= (int) wxODDEVEN_RULE
;
33536 PyObject
* obj0
= 0 ;
33537 PyObject
* obj1
= 0 ;
33538 PyObject
* obj2
= 0 ;
33539 PyObject
* obj3
= 0 ;
33540 PyObject
* obj4
= 0 ;
33541 char * kwnames
[] = {
33542 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33547 if (!SWIG_IsOK(res1
)) {
33548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33550 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33552 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33553 if (arg3
== NULL
) SWIG_fail
;
33556 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33557 if (!SWIG_IsOK(ecode4
)) {
33558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33560 arg4
= static_cast< int >(val4
);
33563 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33564 if (!SWIG_IsOK(ecode5
)) {
33565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33567 arg5
= static_cast< int >(val5
);
33570 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33571 if (!SWIG_IsOK(ecode6
)) {
33572 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33574 arg6
= static_cast< int >(val6
);
33577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33578 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33579 wxPyEndAllowThreads(__tstate
);
33580 if (PyErr_Occurred()) SWIG_fail
;
33582 resultobj
= SWIG_Py_Void();
33584 if (arg3
) delete [] arg3
;
33589 if (arg3
) delete [] arg3
;
33595 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33596 PyObject
*resultobj
= 0;
33597 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33598 wxString
*arg2
= 0 ;
33600 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33601 int arg5
= (int) -1 ;
33604 bool temp2
= false ;
33610 PyObject
* obj0
= 0 ;
33611 PyObject
* obj1
= 0 ;
33612 PyObject
* obj2
= 0 ;
33613 PyObject
* obj3
= 0 ;
33614 PyObject
* obj4
= 0 ;
33615 char * kwnames
[] = {
33616 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33621 if (!SWIG_IsOK(res1
)) {
33622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33624 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33626 arg2
= wxString_in_helper(obj1
);
33627 if (arg2
== NULL
) SWIG_fail
;
33632 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33635 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33636 if (!SWIG_IsOK(ecode4
)) {
33637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33639 arg4
= static_cast< int >(val4
);
33642 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33643 if (!SWIG_IsOK(ecode5
)) {
33644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33646 arg5
= static_cast< int >(val5
);
33649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33650 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33651 wxPyEndAllowThreads(__tstate
);
33652 if (PyErr_Occurred()) SWIG_fail
;
33654 resultobj
= SWIG_Py_Void();
33669 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33670 PyObject
*resultobj
= 0;
33671 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33672 wxString
*arg2
= 0 ;
33673 wxBitmap
*arg3
= 0 ;
33675 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33676 int arg6
= (int) -1 ;
33679 bool temp2
= false ;
33687 PyObject
* obj0
= 0 ;
33688 PyObject
* obj1
= 0 ;
33689 PyObject
* obj2
= 0 ;
33690 PyObject
* obj3
= 0 ;
33691 PyObject
* obj4
= 0 ;
33692 PyObject
* obj5
= 0 ;
33693 char * kwnames
[] = {
33694 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33699 if (!SWIG_IsOK(res1
)) {
33700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33702 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33704 arg2
= wxString_in_helper(obj1
);
33705 if (arg2
== NULL
) SWIG_fail
;
33708 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33709 if (!SWIG_IsOK(res3
)) {
33710 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33715 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33718 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33721 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33722 if (!SWIG_IsOK(ecode5
)) {
33723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33725 arg5
= static_cast< int >(val5
);
33728 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33729 if (!SWIG_IsOK(ecode6
)) {
33730 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33732 arg6
= static_cast< int >(val6
);
33735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33736 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33737 wxPyEndAllowThreads(__tstate
);
33738 if (PyErr_Occurred()) SWIG_fail
;
33740 resultobj
= SWIG_Py_Void();
33755 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33756 PyObject
*resultobj
= 0;
33757 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33759 wxPoint
*arg3
= (wxPoint
*) 0 ;
33762 PyObject
* obj0
= 0 ;
33763 PyObject
* obj1
= 0 ;
33764 char * kwnames
[] = {
33765 (char *) "self",(char *) "points", NULL
33768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33770 if (!SWIG_IsOK(res1
)) {
33771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33773 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33775 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33776 if (arg3
== NULL
) SWIG_fail
;
33779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33780 (arg1
)->DrawSpline(arg2
,arg3
);
33781 wxPyEndAllowThreads(__tstate
);
33782 if (PyErr_Occurred()) SWIG_fail
;
33784 resultobj
= SWIG_Py_Void();
33786 if (arg3
) delete [] arg3
;
33791 if (arg3
) delete [] arg3
;
33797 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33798 PyObject
*resultobj
= 0;
33799 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33802 PyObject
*swig_obj
[1] ;
33804 if (!args
) SWIG_fail
;
33805 swig_obj
[0] = args
;
33806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33807 if (!SWIG_IsOK(res1
)) {
33808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33810 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33814 wxPyEndAllowThreads(__tstate
);
33815 if (PyErr_Occurred()) SWIG_fail
;
33817 resultobj
= SWIG_Py_Void();
33824 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33825 PyObject
*resultobj
= 0;
33826 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33832 PyObject
* obj0
= 0 ;
33833 PyObject
* obj1
= 0 ;
33834 char * kwnames
[] = {
33835 (char *) "self",(char *) "font", NULL
33838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33840 if (!SWIG_IsOK(res1
)) {
33841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33843 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
33845 if (!SWIG_IsOK(res2
)) {
33846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
33849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
33851 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33854 (arg1
)->SetFont((wxFont
const &)*arg2
);
33855 wxPyEndAllowThreads(__tstate
);
33856 if (PyErr_Occurred()) SWIG_fail
;
33858 resultobj
= SWIG_Py_Void();
33865 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33866 PyObject
*resultobj
= 0;
33867 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 char * kwnames
[] = {
33876 (char *) "self",(char *) "pen", NULL
33879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33881 if (!SWIG_IsOK(res1
)) {
33882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33884 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
33886 if (!SWIG_IsOK(res2
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
33890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
33892 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 (arg1
)->SetPen((wxPen
const &)*arg2
);
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33899 resultobj
= SWIG_Py_Void();
33906 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33907 PyObject
*resultobj
= 0;
33908 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33909 wxBrush
*arg2
= 0 ;
33914 PyObject
* obj0
= 0 ;
33915 PyObject
* obj1
= 0 ;
33916 char * kwnames
[] = {
33917 (char *) "self",(char *) "brush", NULL
33920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33922 if (!SWIG_IsOK(res1
)) {
33923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33925 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
33927 if (!SWIG_IsOK(res2
)) {
33928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
33931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
33933 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
33937 wxPyEndAllowThreads(__tstate
);
33938 if (PyErr_Occurred()) SWIG_fail
;
33940 resultobj
= SWIG_Py_Void();
33947 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33948 PyObject
*resultobj
= 0;
33949 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33950 wxBrush
*arg2
= 0 ;
33955 PyObject
* obj0
= 0 ;
33956 PyObject
* obj1
= 0 ;
33957 char * kwnames
[] = {
33958 (char *) "self",(char *) "brush", NULL
33961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33963 if (!SWIG_IsOK(res1
)) {
33964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33966 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
33968 if (!SWIG_IsOK(res2
)) {
33969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
33972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
33974 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33977 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= SWIG_Py_Void();
33988 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33989 PyObject
*resultobj
= 0;
33990 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33996 PyObject
* obj0
= 0 ;
33997 PyObject
* obj1
= 0 ;
33998 char * kwnames
[] = {
33999 (char *) "self",(char *) "mode", NULL
34002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34004 if (!SWIG_IsOK(res1
)) {
34005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34007 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34009 if (!SWIG_IsOK(ecode2
)) {
34010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34012 arg2
= static_cast< int >(val2
);
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 (arg1
)->SetBackgroundMode(arg2
);
34016 wxPyEndAllowThreads(__tstate
);
34017 if (PyErr_Occurred()) SWIG_fail
;
34019 resultobj
= SWIG_Py_Void();
34026 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34027 PyObject
*resultobj
= 0;
34028 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34029 wxPalette
*arg2
= 0 ;
34034 PyObject
* obj0
= 0 ;
34035 PyObject
* obj1
= 0 ;
34036 char * kwnames
[] = {
34037 (char *) "self",(char *) "palette", NULL
34040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34042 if (!SWIG_IsOK(res1
)) {
34043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34045 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34047 if (!SWIG_IsOK(res2
)) {
34048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34053 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34056 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34057 wxPyEndAllowThreads(__tstate
);
34058 if (PyErr_Occurred()) SWIG_fail
;
34060 resultobj
= SWIG_Py_Void();
34067 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34068 PyObject
*resultobj
= 0;
34069 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34070 wxColour
*arg2
= 0 ;
34074 PyObject
* obj0
= 0 ;
34075 PyObject
* obj1
= 0 ;
34076 char * kwnames
[] = {
34077 (char *) "self",(char *) "colour", NULL
34080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34082 if (!SWIG_IsOK(res1
)) {
34083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34085 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34088 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34092 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34093 wxPyEndAllowThreads(__tstate
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34096 resultobj
= SWIG_Py_Void();
34103 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34104 PyObject
*resultobj
= 0;
34105 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34106 wxColour
*arg2
= 0 ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 char * kwnames
[] = {
34113 (char *) "self",(char *) "colour", NULL
34116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34118 if (!SWIG_IsOK(res1
)) {
34119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34121 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34128 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34129 wxPyEndAllowThreads(__tstate
);
34130 if (PyErr_Occurred()) SWIG_fail
;
34132 resultobj
= SWIG_Py_Void();
34139 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34140 PyObject
*resultobj
= 0;
34141 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34147 PyObject
* obj0
= 0 ;
34148 PyObject
* obj1
= 0 ;
34149 char * kwnames
[] = {
34150 (char *) "self",(char *) "function", NULL
34153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34155 if (!SWIG_IsOK(res1
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34158 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34160 if (!SWIG_IsOK(ecode2
)) {
34161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34163 arg2
= static_cast< int >(val2
);
34165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34166 (arg1
)->SetLogicalFunction(arg2
);
34167 wxPyEndAllowThreads(__tstate
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34170 resultobj
= SWIG_Py_Void();
34177 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34180 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34181 return SWIG_Py_Void();
34184 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34185 return SWIG_Python_InitShadowInstance(args
);
34188 static PyMethodDef SwigMethods
[] = {
34189 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34190 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34191 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34192 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34193 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34194 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34195 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34196 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34197 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34198 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34199 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34200 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34201 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34202 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34203 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34204 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34205 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34206 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34207 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34208 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34209 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34210 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34211 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34212 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34213 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34214 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34215 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34216 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34217 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34218 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34219 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34220 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34221 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34222 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34223 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34224 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34225 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34226 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34227 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34228 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34229 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34230 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34231 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34232 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34233 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34234 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34235 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34236 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34237 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34238 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
34239 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34240 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34241 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34242 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34243 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34244 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34245 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34246 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34247 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34248 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34249 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34250 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34251 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34252 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34253 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34254 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34255 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34256 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34257 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34258 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34259 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34260 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34261 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34262 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34263 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34264 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34265 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34266 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34267 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34268 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34269 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34270 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34271 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34272 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34273 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34274 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34275 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34276 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34277 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34278 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34279 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34280 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34281 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34282 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34283 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34284 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34285 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34286 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34287 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34288 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34289 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34290 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34291 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34292 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34293 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34294 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34295 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34296 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34297 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34298 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34299 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34300 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34301 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34302 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34303 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34304 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34305 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34306 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34307 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34308 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34309 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34310 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34311 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34312 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34313 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34314 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34315 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34316 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34317 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34318 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34319 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34320 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34321 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34322 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34323 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34324 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34325 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34326 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34327 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34328 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34329 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34330 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34331 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34332 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34333 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34334 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34335 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34336 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34337 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34338 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34339 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34340 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34341 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34342 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34343 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34344 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34345 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34346 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34347 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34348 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34349 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34350 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34351 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34352 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34353 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34354 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34355 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34356 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34357 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34358 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34359 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34360 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34361 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34362 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34363 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34364 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34365 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34366 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34367 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34368 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34369 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34370 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34371 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34372 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34373 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34374 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34375 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34376 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34377 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34378 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34379 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34380 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34381 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34382 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34383 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34384 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34385 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34386 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34387 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34388 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34389 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34390 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34391 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34392 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34393 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34394 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34395 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34396 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34397 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34398 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34399 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34400 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34401 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34402 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34403 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34404 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34407 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34408 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34409 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34410 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34411 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34412 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34413 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34414 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34415 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34416 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34417 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34418 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34419 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34420 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34421 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34422 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34423 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34424 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34425 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34426 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34427 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34428 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34429 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34430 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34431 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34432 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34433 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34434 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34435 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34436 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34437 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34438 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34439 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34440 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34441 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34444 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34446 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34447 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34449 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34450 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34451 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34452 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34453 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34454 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34455 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34456 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34457 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34458 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34459 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34460 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34461 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34462 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34463 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34464 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34465 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34466 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34469 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34474 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34475 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34476 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34479 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34480 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34481 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34482 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34483 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34484 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34485 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34489 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34492 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34493 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34494 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34495 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34496 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34497 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34498 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34499 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34500 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34501 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34502 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34503 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34504 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34505 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34507 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34513 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34516 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34517 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34518 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34520 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34521 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34522 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34523 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34524 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34525 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34526 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34527 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34528 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34530 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34531 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34532 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34533 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34534 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34535 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34536 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34537 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34538 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34539 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34540 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34541 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34543 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34546 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34547 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34548 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34549 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34550 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34551 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34552 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34553 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34557 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34563 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34564 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34565 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34566 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34567 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34571 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34572 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34573 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34574 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34575 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34576 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34577 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34582 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34583 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34584 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34585 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34587 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34595 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34605 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34616 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34620 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34621 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34622 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34623 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34624 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34626 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34633 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34635 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34636 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34637 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34644 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34645 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34646 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34647 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34648 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34653 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34654 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34655 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34656 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34659 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34660 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34661 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34662 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34665 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34666 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34667 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34668 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
34669 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34670 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34671 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34672 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34673 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34674 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34675 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34676 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34679 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34681 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34683 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34685 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34686 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34687 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34689 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34690 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34691 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34693 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34694 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34696 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34697 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34699 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34700 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34701 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34702 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34703 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34704 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
34705 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34713 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34717 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34718 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34719 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34722 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34723 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34724 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34726 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34727 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34729 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34730 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34731 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34732 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34733 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34734 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34735 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34736 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34737 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34738 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34740 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34741 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34743 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34744 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34747 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34748 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34750 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34753 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34754 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34755 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34757 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34758 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34760 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34761 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34762 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
34763 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
34764 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
34765 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
34769 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
34770 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34773 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
34776 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
34777 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
34779 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
34780 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
34781 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
34808 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
34810 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
34811 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
34812 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
34813 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
34814 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
34815 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
34816 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
34817 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
34818 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
34819 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
34820 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
34821 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
34822 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
34823 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
34825 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
34833 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
34835 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
34837 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
34838 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
34839 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
34840 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
34841 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
34842 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
34848 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
34849 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
34850 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
34851 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
34852 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
34853 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
34857 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
34861 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
34865 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
34866 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
34867 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
34872 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
34873 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
34874 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
34875 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
34876 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
34877 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
34878 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
34879 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
34880 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
34881 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
34882 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
34883 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
34892 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
34893 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
34895 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
34896 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
34897 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
34898 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
34899 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
34900 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
34901 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
34902 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
34903 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
34904 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
34905 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
34906 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
34907 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
34908 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
34909 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
34910 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
34911 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
34912 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
34913 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
34914 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
34915 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
34916 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
34917 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
34918 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
34920 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
34922 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
34923 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
34924 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
34925 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
34938 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
34939 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
34940 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
34942 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
34943 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
34944 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
34945 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
34946 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
34947 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
34948 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
34949 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35002 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35012 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35013 { NULL
, NULL
, 0, NULL
}
35017 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35019 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35020 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35022 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
35023 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
35025 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
35026 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35028 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35029 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35031 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35032 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35034 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35035 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35037 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35038 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35040 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35041 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35043 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35044 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35046 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35047 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35049 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35050 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35052 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35053 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35055 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35056 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35058 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35059 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35061 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35062 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35064 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35065 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35067 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35068 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
35070 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35071 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35073 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35074 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35076 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35077 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35079 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35080 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35082 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35083 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35085 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35086 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35088 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35089 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35091 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
35092 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35094 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35095 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35097 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35098 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35100 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35101 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35103 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35104 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35106 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35107 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35109 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35110 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35112 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35113 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35115 static void *_p_wxPenTo_p_wxObject(void *x
) {
35116 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35118 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35119 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35121 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35122 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35124 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35125 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35127 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35128 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35130 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35131 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35133 static void *_p_wxIconTo_p_wxObject(void *x
) {
35134 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35136 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35137 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35139 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35140 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35142 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35143 return (void *)((wxObject
*) ((wxSizer
*) x
));
35145 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35146 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35148 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35149 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35151 static void *_p_wxEventTo_p_wxObject(void *x
) {
35152 return (void *)((wxObject
*) ((wxEvent
*) x
));
35154 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35155 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35157 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35158 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35160 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35161 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35163 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35164 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35166 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35169 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35170 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35172 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35173 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35175 static void *_p_wxDCTo_p_wxObject(void *x
) {
35176 return (void *)((wxObject
*) ((wxDC
*) x
));
35178 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35179 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35181 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35182 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35184 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35185 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35187 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35188 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35190 static void *_p_wxControlTo_p_wxObject(void *x
) {
35191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35193 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35194 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35196 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35197 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35199 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35200 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35202 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35203 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35205 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35206 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35208 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35209 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35211 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35212 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35214 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35215 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35217 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35218 return (void *)((wxObject
*) ((wxEffects
*) x
));
35220 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35221 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35223 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35226 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35227 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35229 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35230 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35232 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35233 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35235 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35236 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35238 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35239 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35241 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35244 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35245 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35247 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35248 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35250 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35251 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35253 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35254 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35256 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35257 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35259 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35260 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35262 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35265 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35266 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35268 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35269 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35271 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35272 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35274 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35277 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35278 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35280 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35281 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35283 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35284 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35286 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35289 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35292 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35293 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35295 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35296 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35298 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35299 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35301 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35302 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35304 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35305 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35307 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35308 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35310 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35311 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35313 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
35314 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35316 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35317 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35319 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35320 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35322 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35323 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35325 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35326 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35328 static void *_p_wxImageTo_p_wxObject(void *x
) {
35329 return (void *)((wxObject
*) ((wxImage
*) x
));
35331 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35332 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35334 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35335 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35337 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35338 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35340 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35341 return (void *)((wxObject
*) ((wxImageList
*) x
));
35343 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35344 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35346 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35347 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35349 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35350 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35352 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35353 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35355 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35358 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35359 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35361 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35362 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35364 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35365 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35367 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35368 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35370 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35373 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35374 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35376 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35377 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35379 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35380 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35382 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35383 return (void *)((wxObject
*) ((wxMask
*) x
));
35385 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35388 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35389 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35391 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35392 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35394 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35395 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35397 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35398 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35400 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35401 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35403 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35406 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35407 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35409 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35410 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35412 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35413 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35415 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35418 static void *_p_wxFontTo_p_wxObject(void *x
) {
35419 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35421 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35422 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35424 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35425 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35427 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35430 static void *_p_wxColourTo_p_wxObject(void *x
) {
35431 return (void *)((wxObject
*) ((wxColour
*) x
));
35433 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35436 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35437 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35439 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35440 return (void *)((wxWindow
*) ((wxControl
*) x
));
35442 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35443 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35445 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35446 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35448 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35449 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35451 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35452 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35454 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35455 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35456 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35457 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};
35458 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35459 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35460 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35461 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35462 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35463 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35464 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
35465 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35466 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35467 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35468 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35469 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35470 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35471 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35472 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35473 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35474 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35475 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35476 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35477 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35478 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35479 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35480 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35481 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35482 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35483 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35484 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35485 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35486 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35487 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35488 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35489 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35490 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35491 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35492 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35493 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35494 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35495 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35496 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35497 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35498 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35499 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35500 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35501 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35502 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35503 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35504 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35505 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35506 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35507 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35508 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35509 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35510 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35511 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35512 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35513 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35514 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35515 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35516 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35517 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35518 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35519 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35520 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35521 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35522 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35523 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35524 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35525 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35526 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35527 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35528 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35529 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35530 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35531 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35532 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35533 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35534 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35535 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35536 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35537 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35538 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35539 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35540 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35541 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35542 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35543 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35544 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35545 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35546 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35547 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35548 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35549 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35550 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35551 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35552 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35553 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35554 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35555 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35556 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35557 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35558 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35559 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35560 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35561 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35562 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35563 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35564 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35565 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35566 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35567 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35568 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35569 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35570 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35571 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35572 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35573 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35574 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35575 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35576 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35577 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35578 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35579 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35580 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35581 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35582 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35583 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35584 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
35585 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35586 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35587 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35588 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35589 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35590 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35591 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35592 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35593 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35594 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35595 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35596 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35597 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35598 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35599 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35600 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35601 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35602 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35603 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35604 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35605 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35606 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35607 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35608 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35609 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35610 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35612 static swig_type_info
*swig_type_initial
[] = {
35616 &_swigt__p_form_ops_t
,
35618 &_swigt__p_unsigned_char
,
35619 &_swigt__p_unsigned_int
,
35620 &_swigt__p_unsigned_long
,
35621 &_swigt__p_wxANIHandler
,
35622 &_swigt__p_wxAcceleratorTable
,
35623 &_swigt__p_wxActivateEvent
,
35624 &_swigt__p_wxAlphaPixelData
,
35625 &_swigt__p_wxAlphaPixelData_Accessor
,
35626 &_swigt__p_wxAutoBufferedPaintDC
,
35627 &_swigt__p_wxBMPHandler
,
35628 &_swigt__p_wxBitmap
,
35629 &_swigt__p_wxBoxSizer
,
35630 &_swigt__p_wxBrush
,
35631 &_swigt__p_wxBrushList
,
35632 &_swigt__p_wxBufferedDC
,
35633 &_swigt__p_wxBufferedPaintDC
,
35634 &_swigt__p_wxCURHandler
,
35636 &_swigt__p_wxChildFocusEvent
,
35637 &_swigt__p_wxClientDC
,
35638 &_swigt__p_wxClipboardTextEvent
,
35639 &_swigt__p_wxCloseEvent
,
35640 &_swigt__p_wxColor
,
35641 &_swigt__p_wxColour
,
35642 &_swigt__p_wxColourDatabase
,
35643 &_swigt__p_wxCommandEvent
,
35644 &_swigt__p_wxContextMenuEvent
,
35645 &_swigt__p_wxControl
,
35646 &_swigt__p_wxControlWithItems
,
35647 &_swigt__p_wxCursor
,
35649 &_swigt__p_wxDCOverlay
,
35651 &_swigt__p_wxDateEvent
,
35652 &_swigt__p_wxDisplayChangedEvent
,
35653 &_swigt__p_wxDropFilesEvent
,
35654 &_swigt__p_wxDuplexMode
,
35655 &_swigt__p_wxEffects
,
35656 &_swigt__p_wxEncodingConverter
,
35657 &_swigt__p_wxEraseEvent
,
35658 &_swigt__p_wxEvent
,
35659 &_swigt__p_wxEvtHandler
,
35660 &_swigt__p_wxFSFile
,
35661 &_swigt__p_wxFileSystem
,
35662 &_swigt__p_wxFlexGridSizer
,
35663 &_swigt__p_wxFocusEvent
,
35665 &_swigt__p_wxFontList
,
35666 &_swigt__p_wxFontMapper
,
35667 &_swigt__p_wxGBSizerItem
,
35669 &_swigt__p_wxGDIObjListBase
,
35670 &_swigt__p_wxGDIObject
,
35671 &_swigt__p_wxGIFHandler
,
35672 &_swigt__p_wxGraphicsContext
,
35673 &_swigt__p_wxGraphicsPath
,
35674 &_swigt__p_wxGridBagSizer
,
35675 &_swigt__p_wxGridSizer
,
35676 &_swigt__p_wxHeaderButtonParams
,
35677 &_swigt__p_wxICOHandler
,
35679 &_swigt__p_wxIconBundle
,
35680 &_swigt__p_wxIconLocation
,
35681 &_swigt__p_wxIconizeEvent
,
35682 &_swigt__p_wxIdleEvent
,
35683 &_swigt__p_wxImage
,
35684 &_swigt__p_wxImageHandler
,
35685 &_swigt__p_wxImageList
,
35686 &_swigt__p_wxIndividualLayoutConstraint
,
35687 &_swigt__p_wxInitDialogEvent
,
35688 &_swigt__p_wxJPEGHandler
,
35689 &_swigt__p_wxKeyEvent
,
35690 &_swigt__p_wxLanguageInfo
,
35691 &_swigt__p_wxLayoutConstraints
,
35692 &_swigt__p_wxLocale
,
35694 &_swigt__p_wxMaximizeEvent
,
35695 &_swigt__p_wxMemoryDC
,
35697 &_swigt__p_wxMenuBar
,
35698 &_swigt__p_wxMenuEvent
,
35699 &_swigt__p_wxMenuItem
,
35700 &_swigt__p_wxMetaFile
,
35701 &_swigt__p_wxMetaFileDC
,
35702 &_swigt__p_wxMirrorDC
,
35703 &_swigt__p_wxMouseCaptureChangedEvent
,
35704 &_swigt__p_wxMouseCaptureLostEvent
,
35705 &_swigt__p_wxMouseEvent
,
35706 &_swigt__p_wxMoveEvent
,
35707 &_swigt__p_wxNativeEncodingInfo
,
35708 &_swigt__p_wxNativeFontInfo
,
35709 &_swigt__p_wxNativePixelData
,
35710 &_swigt__p_wxNativePixelData_Accessor
,
35711 &_swigt__p_wxNavigationKeyEvent
,
35712 &_swigt__p_wxNcPaintEvent
,
35713 &_swigt__p_wxNotifyEvent
,
35714 &_swigt__p_wxObject
,
35715 &_swigt__p_wxOverlay
,
35716 &_swigt__p_wxPCXHandler
,
35717 &_swigt__p_wxPNGHandler
,
35718 &_swigt__p_wxPNMHandler
,
35719 &_swigt__p_wxPaintDC
,
35720 &_swigt__p_wxPaintEvent
,
35721 &_swigt__p_wxPalette
,
35722 &_swigt__p_wxPaletteChangedEvent
,
35723 &_swigt__p_wxPaperSize
,
35725 &_swigt__p_wxPenList
,
35726 &_swigt__p_wxPixelDataBase
,
35727 &_swigt__p_wxPoint
,
35728 &_swigt__p_wxPoint2D
,
35729 &_swigt__p_wxPostScriptDC
,
35730 &_swigt__p_wxPrintData
,
35731 &_swigt__p_wxPrinterDC
,
35732 &_swigt__p_wxPseudoDC
,
35733 &_swigt__p_wxPyApp
,
35734 &_swigt__p_wxPyCommandEvent
,
35735 &_swigt__p_wxPyEvent
,
35736 &_swigt__p_wxPyFontEnumerator
,
35737 &_swigt__p_wxPyImageHandler
,
35738 &_swigt__p_wxPyLocale
,
35739 &_swigt__p_wxPySizer
,
35740 &_swigt__p_wxPyValidator
,
35741 &_swigt__p_wxQueryNewPaletteEvent
,
35743 &_swigt__p_wxRegion
,
35744 &_swigt__p_wxRegionIterator
,
35745 &_swigt__p_wxRendererNative
,
35746 &_swigt__p_wxRendererVersion
,
35747 &_swigt__p_wxScreenDC
,
35748 &_swigt__p_wxScrollEvent
,
35749 &_swigt__p_wxScrollWinEvent
,
35750 &_swigt__p_wxSetCursorEvent
,
35751 &_swigt__p_wxShowEvent
,
35753 &_swigt__p_wxSizeEvent
,
35754 &_swigt__p_wxSizer
,
35755 &_swigt__p_wxSizerItem
,
35756 &_swigt__p_wxSplitterRenderParams
,
35757 &_swigt__p_wxStaticBoxSizer
,
35758 &_swigt__p_wxStdDialogButtonSizer
,
35759 &_swigt__p_wxStockGDI
,
35760 &_swigt__p_wxString
,
35761 &_swigt__p_wxSysColourChangedEvent
,
35762 &_swigt__p_wxTIFFHandler
,
35763 &_swigt__p_wxUpdateUIEvent
,
35764 &_swigt__p_wxValidator
,
35765 &_swigt__p_wxWindow
,
35766 &_swigt__p_wxWindowCreateEvent
,
35767 &_swigt__p_wxWindowDC
,
35768 &_swigt__p_wxWindowDestroyEvent
,
35769 &_swigt__p_wxXPMHandler
,
35772 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
35773 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
35774 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
35775 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
35776 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
35777 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
35778 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
35779 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
35780 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
35781 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35782 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35783 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
35784 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
35785 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
35786 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}};
35787 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35788 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
35789 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}};
35790 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
35791 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
35792 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
35793 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
35794 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}};
35795 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
35796 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
35797 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
35798 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
35799 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
35800 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
35801 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
35802 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
35803 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
35804 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}};
35805 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}};
35806 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
35807 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
35808 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
35809 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
35810 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
35811 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
35812 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
35813 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
35814 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
35815 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}};
35816 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
35817 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}};
35818 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
35819 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
35820 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
35821 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
35822 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
35823 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
35824 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35825 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
35826 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35827 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35828 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
35829 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
35830 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35831 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35832 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35833 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
35834 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
35835 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
35836 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
35837 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
35838 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
35839 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
35840 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
35841 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
35842 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
35843 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35844 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35845 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35846 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35847 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
35848 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
35849 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
35850 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
35851 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35852 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35853 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
35854 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
35855 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35856 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
35857 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35858 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
35859 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35860 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35861 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35862 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
35863 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35864 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
35865 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
35866 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
35867 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
35868 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
35869 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
35870 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
35871 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
35872 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
35873 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
35874 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
35875 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
35876 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
35877 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
35878 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
35879 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
35880 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
35881 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
35882 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35883 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35884 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35885 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
35886 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
35887 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
35888 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
35889 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
35890 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35891 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35892 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35893 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
35894 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
35895 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
35896 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
35897 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
35898 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
35899 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
35900 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
35901 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}};
35902 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
35903 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35904 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
35905 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
35906 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
35907 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
35908 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}};
35909 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
35910 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
35911 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
35912 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
35913 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
35914 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
35915 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
35916 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
35917 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
35918 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
35919 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
35920 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
35921 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
35922 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
35923 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
35924 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
35925 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
35926 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
35927 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}};
35928 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}};
35930 static swig_cast_info
*swig_cast_initial
[] = {
35934 _swigc__p_form_ops_t
,
35936 _swigc__p_unsigned_char
,
35937 _swigc__p_unsigned_int
,
35938 _swigc__p_unsigned_long
,
35939 _swigc__p_wxANIHandler
,
35940 _swigc__p_wxAcceleratorTable
,
35941 _swigc__p_wxActivateEvent
,
35942 _swigc__p_wxAlphaPixelData
,
35943 _swigc__p_wxAlphaPixelData_Accessor
,
35944 _swigc__p_wxAutoBufferedPaintDC
,
35945 _swigc__p_wxBMPHandler
,
35946 _swigc__p_wxBitmap
,
35947 _swigc__p_wxBoxSizer
,
35949 _swigc__p_wxBrushList
,
35950 _swigc__p_wxBufferedDC
,
35951 _swigc__p_wxBufferedPaintDC
,
35952 _swigc__p_wxCURHandler
,
35954 _swigc__p_wxChildFocusEvent
,
35955 _swigc__p_wxClientDC
,
35956 _swigc__p_wxClipboardTextEvent
,
35957 _swigc__p_wxCloseEvent
,
35959 _swigc__p_wxColour
,
35960 _swigc__p_wxColourDatabase
,
35961 _swigc__p_wxCommandEvent
,
35962 _swigc__p_wxContextMenuEvent
,
35963 _swigc__p_wxControl
,
35964 _swigc__p_wxControlWithItems
,
35965 _swigc__p_wxCursor
,
35967 _swigc__p_wxDCOverlay
,
35969 _swigc__p_wxDateEvent
,
35970 _swigc__p_wxDisplayChangedEvent
,
35971 _swigc__p_wxDropFilesEvent
,
35972 _swigc__p_wxDuplexMode
,
35973 _swigc__p_wxEffects
,
35974 _swigc__p_wxEncodingConverter
,
35975 _swigc__p_wxEraseEvent
,
35977 _swigc__p_wxEvtHandler
,
35978 _swigc__p_wxFSFile
,
35979 _swigc__p_wxFileSystem
,
35980 _swigc__p_wxFlexGridSizer
,
35981 _swigc__p_wxFocusEvent
,
35983 _swigc__p_wxFontList
,
35984 _swigc__p_wxFontMapper
,
35985 _swigc__p_wxGBSizerItem
,
35987 _swigc__p_wxGDIObjListBase
,
35988 _swigc__p_wxGDIObject
,
35989 _swigc__p_wxGIFHandler
,
35990 _swigc__p_wxGraphicsContext
,
35991 _swigc__p_wxGraphicsPath
,
35992 _swigc__p_wxGridBagSizer
,
35993 _swigc__p_wxGridSizer
,
35994 _swigc__p_wxHeaderButtonParams
,
35995 _swigc__p_wxICOHandler
,
35997 _swigc__p_wxIconBundle
,
35998 _swigc__p_wxIconLocation
,
35999 _swigc__p_wxIconizeEvent
,
36000 _swigc__p_wxIdleEvent
,
36002 _swigc__p_wxImageHandler
,
36003 _swigc__p_wxImageList
,
36004 _swigc__p_wxIndividualLayoutConstraint
,
36005 _swigc__p_wxInitDialogEvent
,
36006 _swigc__p_wxJPEGHandler
,
36007 _swigc__p_wxKeyEvent
,
36008 _swigc__p_wxLanguageInfo
,
36009 _swigc__p_wxLayoutConstraints
,
36010 _swigc__p_wxLocale
,
36012 _swigc__p_wxMaximizeEvent
,
36013 _swigc__p_wxMemoryDC
,
36015 _swigc__p_wxMenuBar
,
36016 _swigc__p_wxMenuEvent
,
36017 _swigc__p_wxMenuItem
,
36018 _swigc__p_wxMetaFile
,
36019 _swigc__p_wxMetaFileDC
,
36020 _swigc__p_wxMirrorDC
,
36021 _swigc__p_wxMouseCaptureChangedEvent
,
36022 _swigc__p_wxMouseCaptureLostEvent
,
36023 _swigc__p_wxMouseEvent
,
36024 _swigc__p_wxMoveEvent
,
36025 _swigc__p_wxNativeEncodingInfo
,
36026 _swigc__p_wxNativeFontInfo
,
36027 _swigc__p_wxNativePixelData
,
36028 _swigc__p_wxNativePixelData_Accessor
,
36029 _swigc__p_wxNavigationKeyEvent
,
36030 _swigc__p_wxNcPaintEvent
,
36031 _swigc__p_wxNotifyEvent
,
36032 _swigc__p_wxObject
,
36033 _swigc__p_wxOverlay
,
36034 _swigc__p_wxPCXHandler
,
36035 _swigc__p_wxPNGHandler
,
36036 _swigc__p_wxPNMHandler
,
36037 _swigc__p_wxPaintDC
,
36038 _swigc__p_wxPaintEvent
,
36039 _swigc__p_wxPalette
,
36040 _swigc__p_wxPaletteChangedEvent
,
36041 _swigc__p_wxPaperSize
,
36043 _swigc__p_wxPenList
,
36044 _swigc__p_wxPixelDataBase
,
36046 _swigc__p_wxPoint2D
,
36047 _swigc__p_wxPostScriptDC
,
36048 _swigc__p_wxPrintData
,
36049 _swigc__p_wxPrinterDC
,
36050 _swigc__p_wxPseudoDC
,
36052 _swigc__p_wxPyCommandEvent
,
36053 _swigc__p_wxPyEvent
,
36054 _swigc__p_wxPyFontEnumerator
,
36055 _swigc__p_wxPyImageHandler
,
36056 _swigc__p_wxPyLocale
,
36057 _swigc__p_wxPySizer
,
36058 _swigc__p_wxPyValidator
,
36059 _swigc__p_wxQueryNewPaletteEvent
,
36061 _swigc__p_wxRegion
,
36062 _swigc__p_wxRegionIterator
,
36063 _swigc__p_wxRendererNative
,
36064 _swigc__p_wxRendererVersion
,
36065 _swigc__p_wxScreenDC
,
36066 _swigc__p_wxScrollEvent
,
36067 _swigc__p_wxScrollWinEvent
,
36068 _swigc__p_wxSetCursorEvent
,
36069 _swigc__p_wxShowEvent
,
36071 _swigc__p_wxSizeEvent
,
36073 _swigc__p_wxSizerItem
,
36074 _swigc__p_wxSplitterRenderParams
,
36075 _swigc__p_wxStaticBoxSizer
,
36076 _swigc__p_wxStdDialogButtonSizer
,
36077 _swigc__p_wxStockGDI
,
36078 _swigc__p_wxString
,
36079 _swigc__p_wxSysColourChangedEvent
,
36080 _swigc__p_wxTIFFHandler
,
36081 _swigc__p_wxUpdateUIEvent
,
36082 _swigc__p_wxValidator
,
36083 _swigc__p_wxWindow
,
36084 _swigc__p_wxWindowCreateEvent
,
36085 _swigc__p_wxWindowDC
,
36086 _swigc__p_wxWindowDestroyEvent
,
36087 _swigc__p_wxXPMHandler
,
36091 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36093 static swig_const_info swig_const_table
[] = {
36094 {0, 0, 0, 0.0, 0, 0}};
36099 /* -----------------------------------------------------------------------------
36100 * Type initialization:
36101 * This problem is tough by the requirement that no dynamic
36102 * memory is used. Also, since swig_type_info structures store pointers to
36103 * swig_cast_info structures and swig_cast_info structures store pointers back
36104 * to swig_type_info structures, we need some lookup code at initialization.
36105 * The idea is that swig generates all the structures that are needed.
36106 * The runtime then collects these partially filled structures.
36107 * The SWIG_InitializeModule function takes these initial arrays out of
36108 * swig_module, and does all the lookup, filling in the swig_module.types
36109 * array with the correct data and linking the correct swig_cast_info
36110 * structures together.
36112 * The generated swig_type_info structures are assigned staticly to an initial
36113 * array. We just loop though that array, and handle each type individually.
36114 * First we lookup if this type has been already loaded, and if so, use the
36115 * loaded structure instead of the generated one. Then we have to fill in the
36116 * cast linked list. The cast data is initially stored in something like a
36117 * two-dimensional array. Each row corresponds to a type (there are the same
36118 * number of rows as there are in the swig_type_initial array). Each entry in
36119 * a column is one of the swig_cast_info structures for that type.
36120 * The cast_initial array is actually an array of arrays, because each row has
36121 * a variable number of columns. So to actually build the cast linked list,
36122 * we find the array of casts associated with the type, and loop through it
36123 * adding the casts to the list. The one last trick we need to do is making
36124 * sure the type pointer in the swig_cast_info struct is correct.
36126 * First off, we lookup the cast->type name to see if it is already loaded.
36127 * There are three cases to handle:
36128 * 1) If the cast->type has already been loaded AND the type we are adding
36129 * casting info to has not been loaded (it is in this module), THEN we
36130 * replace the cast->type pointer with the type pointer that has already
36132 * 2) If BOTH types (the one we are adding casting info to, and the
36133 * cast->type) are loaded, THEN the cast info has already been loaded by
36134 * the previous module so we just ignore it.
36135 * 3) Finally, if cast->type has not already been loaded, then we add that
36136 * swig_cast_info to the linked list (because the cast->type) pointer will
36138 * ----------------------------------------------------------------------------- */
36148 #define SWIGRUNTIME_DEBUG
36152 SWIG_InitializeModule(void *clientdata
) {
36154 swig_module_info
*module_head
;
36155 static int init_run
= 0;
36157 clientdata
= clientdata
;
36159 if (init_run
) return;
36162 /* Initialize the swig_module */
36163 swig_module
.type_initial
= swig_type_initial
;
36164 swig_module
.cast_initial
= swig_cast_initial
;
36166 /* Try and load any already created modules */
36167 module_head
= SWIG_GetModule(clientdata
);
36169 swig_module
.next
= module_head
->next
;
36170 module_head
->next
= &swig_module
;
36172 /* This is the first module loaded */
36173 swig_module
.next
= &swig_module
;
36174 SWIG_SetModule(clientdata
, &swig_module
);
36177 /* Now work on filling in swig_module.types */
36178 #ifdef SWIGRUNTIME_DEBUG
36179 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36181 for (i
= 0; i
< swig_module
.size
; ++i
) {
36182 swig_type_info
*type
= 0;
36183 swig_type_info
*ret
;
36184 swig_cast_info
*cast
;
36186 #ifdef SWIGRUNTIME_DEBUG
36187 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36190 /* if there is another module already loaded */
36191 if (swig_module
.next
!= &swig_module
) {
36192 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36195 /* Overwrite clientdata field */
36196 #ifdef SWIGRUNTIME_DEBUG
36197 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36199 if (swig_module
.type_initial
[i
]->clientdata
) {
36200 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36201 #ifdef SWIGRUNTIME_DEBUG
36202 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36206 type
= swig_module
.type_initial
[i
];
36209 /* Insert casting types */
36210 cast
= swig_module
.cast_initial
[i
];
36211 while (cast
->type
) {
36212 /* Don't need to add information already in the list */
36214 #ifdef SWIGRUNTIME_DEBUG
36215 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36217 if (swig_module
.next
!= &swig_module
) {
36218 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36219 #ifdef SWIGRUNTIME_DEBUG
36220 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36224 if (type
== swig_module
.type_initial
[i
]) {
36225 #ifdef SWIGRUNTIME_DEBUG
36226 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36231 /* Check for casting already in the list */
36232 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36233 #ifdef SWIGRUNTIME_DEBUG
36234 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36236 if (!ocast
) ret
= 0;
36241 #ifdef SWIGRUNTIME_DEBUG
36242 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36245 type
->cast
->prev
= cast
;
36246 cast
->next
= type
->cast
;
36252 /* Set entry in modules->types array equal to the type */
36253 swig_module
.types
[i
] = type
;
36255 swig_module
.types
[i
] = 0;
36257 #ifdef SWIGRUNTIME_DEBUG
36258 printf("**** SWIG_InitializeModule: Cast List ******\n");
36259 for (i
= 0; i
< swig_module
.size
; ++i
) {
36261 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36262 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36263 while (cast
->type
) {
36264 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36268 printf("---- Total casts: %d\n",j
);
36270 printf("**** SWIG_InitializeModule: Cast List ******\n");
36274 /* This function will propagate the clientdata field of type to
36275 * any new swig_type_info structures that have been added into the list
36276 * of equivalent types. It is like calling
36277 * SWIG_TypeClientData(type, clientdata) a second time.
36280 SWIG_PropagateClientData(void) {
36282 swig_cast_info
*equiv
;
36283 static int init_run
= 0;
36285 if (init_run
) return;
36288 for (i
= 0; i
< swig_module
.size
; i
++) {
36289 if (swig_module
.types
[i
]->clientdata
) {
36290 equiv
= swig_module
.types
[i
]->cast
;
36292 if (!equiv
->converter
) {
36293 if (equiv
->type
&& !equiv
->type
->clientdata
)
36294 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36296 equiv
= equiv
->next
;
36316 /* Python-specific SWIG API */
36317 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36318 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36319 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36321 /* -----------------------------------------------------------------------------
36322 * global variable support code.
36323 * ----------------------------------------------------------------------------- */
36325 typedef struct swig_globalvar
{
36326 char *name
; /* Name of global variable */
36327 PyObject
*(*get_attr
)(void); /* Return the current value */
36328 int (*set_attr
)(PyObject
*); /* Set the value */
36329 struct swig_globalvar
*next
;
36332 typedef struct swig_varlinkobject
{
36334 swig_globalvar
*vars
;
36335 } swig_varlinkobject
;
36337 SWIGINTERN PyObject
*
36338 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36339 return PyString_FromString("<Swig global variables>");
36342 SWIGINTERN PyObject
*
36343 swig_varlink_str(swig_varlinkobject
*v
) {
36344 PyObject
*str
= PyString_FromString("(");
36345 swig_globalvar
*var
;
36346 for (var
= v
->vars
; var
; var
=var
->next
) {
36347 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36348 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36350 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36355 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36356 PyObject
*str
= swig_varlink_str(v
);
36357 fprintf(fp
,"Swig global variables ");
36358 fprintf(fp
,"%s\n", PyString_AsString(str
));
36364 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36365 swig_globalvar
*var
= v
->vars
;
36367 swig_globalvar
*n
= var
->next
;
36374 SWIGINTERN PyObject
*
36375 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36376 PyObject
*res
= NULL
;
36377 swig_globalvar
*var
= v
->vars
;
36379 if (strcmp(var
->name
,n
) == 0) {
36380 res
= (*var
->get_attr
)();
36385 if (res
== NULL
&& !PyErr_Occurred()) {
36386 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36392 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36394 swig_globalvar
*var
= v
->vars
;
36396 if (strcmp(var
->name
,n
) == 0) {
36397 res
= (*var
->set_attr
)(p
);
36402 if (res
== 1 && !PyErr_Occurred()) {
36403 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36408 SWIGINTERN PyTypeObject
*
36409 swig_varlink_type(void) {
36410 static char varlink__doc__
[] = "Swig var link object";
36411 static PyTypeObject varlink_type
;
36412 static int type_init
= 0;
36414 const PyTypeObject tmp
36416 PyObject_HEAD_INIT(NULL
)
36417 0, /* Number of items in variable part (ob_size) */
36418 (char *)"swigvarlink", /* Type name (tp_name) */
36419 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36420 0, /* Itemsize (tp_itemsize) */
36421 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36422 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36423 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36424 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36425 0, /* tp_compare */
36426 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36427 0, /* tp_as_number */
36428 0, /* tp_as_sequence */
36429 0, /* tp_as_mapping */
36432 (reprfunc
)swig_varlink_str
, /* tp_str */
36433 0, /* tp_getattro */
36434 0, /* tp_setattro */
36435 0, /* tp_as_buffer */
36437 varlink__doc__
, /* tp_doc */
36438 0, /* tp_traverse */
36440 0, /* tp_richcompare */
36441 0, /* tp_weaklistoffset */
36442 #if PY_VERSION_HEX >= 0x02020000
36443 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36445 #if PY_VERSION_HEX >= 0x02030000
36448 #ifdef COUNT_ALLOCS
36449 0,0,0,0 /* tp_alloc -> tp_next */
36452 varlink_type
= tmp
;
36453 varlink_type
.ob_type
= &PyType_Type
;
36456 return &varlink_type
;
36459 /* Create a variable linking object for use later */
36460 SWIGINTERN PyObject
*
36461 SWIG_Python_newvarlink(void) {
36462 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36466 return ((PyObject
*) result
);
36470 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36471 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36472 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36474 size_t size
= strlen(name
)+1;
36475 gv
->name
= (char *)malloc(size
);
36477 strncpy(gv
->name
,name
,size
);
36478 gv
->get_attr
= get_attr
;
36479 gv
->set_attr
= set_attr
;
36480 gv
->next
= v
->vars
;
36486 SWIGINTERN PyObject
*
36488 static PyObject
*_SWIG_globals
= 0;
36489 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36490 return _SWIG_globals
;
36493 /* -----------------------------------------------------------------------------
36494 * constants/methods manipulation
36495 * ----------------------------------------------------------------------------- */
36497 /* Install Constants */
36499 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36502 for (i
= 0; constants
[i
].type
; ++i
) {
36503 switch(constants
[i
].type
) {
36504 case SWIG_PY_POINTER
:
36505 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36507 case SWIG_PY_BINARY
:
36508 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36515 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36521 /* -----------------------------------------------------------------------------*/
36522 /* Fix SwigMethods to carry the callback ptrs when needed */
36523 /* -----------------------------------------------------------------------------*/
36526 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36527 swig_const_info
*const_table
,
36528 swig_type_info
**types
,
36529 swig_type_info
**types_initial
) {
36531 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36532 const char *c
= methods
[i
].ml_doc
;
36533 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36535 swig_const_info
*ci
= 0;
36536 const char *name
= c
+ 10;
36537 for (j
= 0; const_table
[j
].type
; ++j
) {
36538 if (strncmp(const_table
[j
].name
, name
,
36539 strlen(const_table
[j
].name
)) == 0) {
36540 ci
= &(const_table
[j
]);
36545 size_t shift
= (ci
->ptype
) - types
;
36546 swig_type_info
*ty
= types_initial
[shift
];
36547 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36548 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36549 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36552 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36554 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36556 strncpy(buff
, "swig_ptr: ", 10);
36558 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36559 methods
[i
].ml_doc
= ndoc
;
36571 /* -----------------------------------------------------------------------------*
36572 * Partial Init method
36573 * -----------------------------------------------------------------------------*/
36578 SWIGEXPORT
void SWIG_init(void) {
36581 /* Fix SwigMethods to carry the callback ptrs when needed */
36582 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36584 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36585 d
= PyModule_GetDict(m
);
36587 SWIG_InitializeModule(0);
36588 SWIG_InstallConstants(d
,swig_const_table
);
36591 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36592 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36593 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36594 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36595 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36596 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36597 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36598 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36599 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36600 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36601 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36602 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36603 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36604 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36605 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36606 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36607 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36608 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36609 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36610 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36611 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36612 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36613 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36614 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36615 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36616 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36617 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36618 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36619 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36620 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36621 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36622 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36623 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36624 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36625 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36626 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36627 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36628 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36629 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36630 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36631 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36632 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36633 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36634 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36635 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36636 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36637 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36638 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36639 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36640 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36641 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36642 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36643 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36644 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36645 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36646 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36647 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36648 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36649 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36650 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36651 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36652 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36653 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36654 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36655 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36656 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36657 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36658 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36659 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36660 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36661 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36662 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36663 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36664 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36665 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36666 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36667 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36668 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36669 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36670 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36671 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36672 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36673 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36674 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36675 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36676 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36677 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36678 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36679 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36680 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36681 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36682 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36683 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36684 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36685 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36686 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36687 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36688 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36689 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36690 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36691 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36692 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36693 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36694 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36695 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36696 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36697 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36698 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36699 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36700 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36701 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36702 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36703 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36704 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36705 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36706 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36707 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36708 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36709 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36710 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36711 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36712 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36713 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36714 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36715 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36716 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36717 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36718 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36719 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36720 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36721 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36722 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36724 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36726 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36727 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36728 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36729 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36730 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36731 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36732 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36733 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36734 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36735 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36736 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36737 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36738 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36739 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36740 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36741 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36742 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36743 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36744 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36745 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36746 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36747 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36748 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36749 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36750 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36751 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36752 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36753 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
36754 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
36755 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
36756 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
36757 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
36758 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
36759 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
36760 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
36761 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
36762 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
36763 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
36764 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
36765 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
36766 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
36767 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
36768 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
36769 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
36770 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
36771 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
36772 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
36773 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
36774 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
36775 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
36776 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
36777 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
36778 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
36779 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
36780 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
36781 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
36782 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
36783 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
36784 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
36785 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
36786 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
36787 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
36788 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
36789 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
36790 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
36791 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
36792 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
36793 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
36794 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
36795 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
36796 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
36797 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
36798 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
36799 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
36800 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
36801 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
36802 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
36803 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
36804 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
36805 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
36806 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
36807 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
36808 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
36809 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
36810 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
36811 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
36812 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
36813 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
36814 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
36815 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
36816 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
36817 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
36818 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
36819 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
36820 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
36821 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
36822 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
36823 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
36824 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
36825 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
36826 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
36827 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
36828 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
36829 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
36830 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
36831 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
36832 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
36833 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
36834 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
36835 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
36836 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
36837 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
36838 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
36839 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
36840 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
36841 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
36842 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
36843 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
36844 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
36845 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
36846 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
36847 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
36848 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
36849 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
36850 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
36851 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
36852 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
36853 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
36854 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
36855 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
36856 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
36857 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
36858 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
36859 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
36860 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
36861 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
36862 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
36863 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
36864 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
36865 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
36866 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
36867 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
36868 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
36869 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
36870 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
36871 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
36872 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
36873 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
36874 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
36875 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
36876 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
36877 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
36878 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
36879 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
36880 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
36881 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
36882 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
36883 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
36884 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
36885 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
36886 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
36887 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
36888 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
36889 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
36890 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
36891 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
36892 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
36893 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
36894 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
36895 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
36896 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
36897 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
36898 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
36899 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
36900 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
36901 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
36902 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
36903 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
36904 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
36905 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
36906 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
36907 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
36908 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
36909 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
36910 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
36911 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
36912 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
36913 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
36914 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
36915 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
36916 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
36917 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
36918 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
36919 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
36920 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
36921 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
36922 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
36923 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
36924 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
36925 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
36926 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
36927 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
36928 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
36929 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
36930 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
36931 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
36932 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
36933 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
36934 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
36935 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
36936 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
36937 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
36938 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
36939 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
36940 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
36941 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
36942 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
36943 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
36944 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
36945 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
36946 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
36947 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
36948 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
36949 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
36950 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
36951 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
36952 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
36953 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
36954 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
36955 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
36956 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
36957 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
36958 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
36959 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
36960 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
36961 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
36962 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
36963 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
36964 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
36965 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
36966 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
36967 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
36968 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
36969 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
36970 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
36971 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
36972 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
36973 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
36974 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
36975 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
36976 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
36977 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
36978 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
36979 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
36980 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
36981 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
36982 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
36983 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
36984 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
36985 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
36986 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
36987 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
36988 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
36989 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
36990 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
36991 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
36992 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
36993 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
36994 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
36995 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
36996 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
36997 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
36998 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
36999 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37000 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37001 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37002 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37003 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37004 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37005 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37006 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37007 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37008 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37009 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37010 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37011 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37012 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37013 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37014 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37015 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37016 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37017 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37018 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37019 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37020 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37021 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37022 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37023 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37024 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37025 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37026 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37027 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37028 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37029 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37030 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37031 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37032 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37033 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37034 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37035 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37036 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37037 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37038 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37039 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37040 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37041 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37042 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37043 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37044 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37046 // Work around a chicken/egg problem in drawlist.cpp
37047 wxPyDrawList_SetAPIPtr();