1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 #include <wx/image.h>
2931 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2932 char** cArray
= NULL
;
2935 if (!PyList_Check(listOfStrings
)) {
2936 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2939 count
= PyList_Size(listOfStrings
);
2940 cArray
= new char*[count
];
2942 for(int x
=0; x
<count
; x
++) {
2943 // TODO: Need some validation and error checking here
2944 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2950 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2951 char** cArray
= NULL
;
2954 cArray
= ConvertListOfStrings(listOfStrings
);
2957 bmp
= new wxBitmap(cArray
);
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2964 PyString_AsStringAndSize(bits
, &buf
, &length
);
2965 return new wxBitmap(buf
, width
, height
, depth
);
2967 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2968 wxSize
size(self
->GetWidth(), self
->GetHeight());
2971 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2972 wxMask
*mask
= new wxMask(*self
, colour
);
2973 self
->SetMask(mask
);
2975 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2976 self
->SetWidth(size
.x
);
2977 self
->SetHeight(size
.y
);
2979 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2980 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2982 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2983 // appears to me that the other platforms are already doing it, so I'll just
2984 // automatically do it for wxMSW here.
2986 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2987 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2989 #define wxPy_premultiply(p, a) (p)
2990 #define wxPy_unpremultiply(p, a) (p)
2994 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2995 buffer data
, int DATASIZE
,
2996 buffer alpha
, int ALPHASIZE
)
2998 if (DATASIZE
!= width
*height
*3) {
2999 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3003 if (ALPHASIZE
!= width
*height
) {
3004 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3008 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3009 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3011 // raise an exception...
3012 wxPyErr_SetString(PyExc_RuntimeError
,
3013 "Failed to gain raw access to bitmap data.");
3018 wxAlphaPixelData::Iterator
p(pixData
);
3019 for (int y
=0; y
<height
; y
++) {
3020 wxAlphaPixelData::Iterator rowStart
= p
;
3021 for (int x
=0; x
<width
; x
++) {
3022 byte a
= *(alpha
++);
3023 p
.Red() = wxPy_premultiply(*(data
++), a
);
3024 p
.Green() = wxPy_premultiply(*(data
++), a
);
3025 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3030 p
.OffsetY(pixData
, 1);
3035 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3037 if (DATASIZE
!= width
*height
*3) {
3038 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3042 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3043 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3045 // raise an exception...
3046 wxPyErr_SetString(PyExc_RuntimeError
,
3047 "Failed to gain raw access to bitmap data.");
3051 wxNativePixelData::Iterator
p(pixData
);
3052 for (int y
=0; y
<height
; y
++) {
3053 wxNativePixelData::Iterator rowStart
= p
;
3054 for (int x
=0; x
<width
; x
++) {
3055 p
.Red() = *(data
++);
3056 p
.Green() = *(data
++);
3057 p
.Blue() = *(data
++);
3061 p
.OffsetY(pixData
, 1);
3067 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3069 if (DATASIZE
!= width
*height
*4) {
3070 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3074 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3075 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3077 // raise an exception...
3078 wxPyErr_SetString(PyExc_RuntimeError
,
3079 "Failed to gain raw access to bitmap data.");
3084 wxAlphaPixelData::Iterator
p(pixData
);
3085 for (int y
=0; y
<height
; y
++) {
3086 wxAlphaPixelData::Iterator rowStart
= p
;
3087 for (int x
=0; x
<width
; x
++) {
3089 p
.Red() = wxPy_premultiply(*(data
++), a
);
3090 p
.Green() = wxPy_premultiply(*(data
++), a
);
3091 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3092 p
.Alpha() = a
; data
++;
3096 p
.OffsetY(pixData
, 1);
3102 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3104 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3105 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3106 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3108 self
->Green() = green
;
3109 self
->Blue() = blue
;
3111 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3112 PyObject
* rv
= PyTuple_New(3);
3113 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3114 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3115 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3119 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3121 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3122 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3123 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3124 self
->Red() = wxPy_premultiply(red
, alpha
);
3125 self
->Green() = wxPy_premultiply(green
, alpha
);
3126 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3127 self
->Alpha() = alpha
;
3129 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3130 PyObject
* rv
= PyTuple_New(4);
3131 int red
= self
->Red();
3132 int green
= self
->Green();
3133 int blue
= self
->Blue();
3134 int alpha
= self
->Alpha();
3136 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3137 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3138 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3139 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3142 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3143 if ( !colour
.IsOk() )
3144 return new wxMask(bitmap
, *wxBLACK
);
3146 return new wxMask(bitmap
, colour
);
3149 #include <wx/iconbndl.h>
3151 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3152 wxIcon
* icon
= new wxIcon();
3153 icon
->CopyFromBitmap(bmp
);
3156 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3157 char** cArray
= NULL
;
3160 cArray
= ConvertListOfStrings(listOfStrings
);
3163 icon
= new wxIcon(cArray
);
3167 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3171 return new wxIconLocation(*filename
);
3174 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3181 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3188 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3190 wxImage
img(cursorName
, type
);
3191 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3192 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3193 return new wxCursor(img
);
3195 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3200 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3203 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3204 return self
->operator bool();
3207 #include <wx/fontutil.h>
3208 #include <wx/fontmap.h>
3209 #include <wx/fontenum.h>
3211 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3212 return self
->ToString();
3215 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3216 static wxNativeEncodingInfo info
;
3217 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3224 SWIGINTERNINLINE PyObject
*
3225 SWIG_From_size_t (size_t value
)
3227 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3231 SWIGINTERNINLINE
int
3232 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3235 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3236 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3240 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3241 wxFontEncoding alt_enc
;
3242 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3243 return PyInt_FromLong(alt_enc
);
3249 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3250 wxNativeFontInfo nfi
;
3251 nfi
.FromString(info
);
3252 return new wxFont(nfi
);
3254 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3255 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3257 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3258 return wxFontBase::New(pixelSize
, family
,
3259 style
, weight
, underlined
,
3262 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3263 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3265 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3266 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3268 class wxPyFontEnumerator
: public wxFontEnumerator
{
3270 wxPyFontEnumerator() {}
3271 ~wxPyFontEnumerator() {}
3273 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3274 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3279 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3280 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3283 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3285 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3286 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3287 ret
= wxArrayString2PyList_helper(arr
);
3288 wxPyEndBlockThreads(blocked
);
3291 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3293 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3294 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3295 ret
= wxArrayString2PyList_helper(arr
);
3296 wxPyEndBlockThreads(blocked
);
3302 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3305 loc
= new wxLocale();
3307 loc
= new wxLocale(language
, flags
);
3308 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3309 // for the floating point conversions and such to work right.
3310 #if PY_VERSION_HEX < 0x02040000
3311 setlocale(LC_NUMERIC
, "C");
3315 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3316 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3317 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3318 // for the floating point conversions and such to work right.
3319 #if PY_VERSION_HEX < 0x02040000
3320 setlocale(LC_NUMERIC
, "C");
3324 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3325 bool rc
= self
->Init(language
, flags
);
3326 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3327 // for the floating point conversions and such to work right.
3328 #if PY_VERSION_HEX < 0x02040000
3329 setlocale(LC_NUMERIC
, "C");
3334 class wxPyLocale
: public wxLocale
3339 wxPyLocale(const wxChar
*szName
, // name (for messages)
3340 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3341 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3342 bool bLoadDefault
= true, // preload wxstd.mo?
3343 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3345 wxPyLocale(int language
, // wxLanguage id or custom language
3346 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3350 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3351 const wxChar
*szDomain
= NULL
) const;
3352 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3353 const wxChar
*szOrigString2
, size_t n
,
3354 const wxChar
*szDomain
= NULL
) const;
3356 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3357 const wxChar
*szDomain
= NULL
) const;
3358 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3359 const wxChar
*szOrigString2
, size_t n
,
3360 const wxChar
*szDomain
= NULL
) const;
3364 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3367 wxPyLocale::wxPyLocale() : wxLocale()
3371 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3372 const wxChar
*szShort
, // dir prefix (for msg files)
3373 const wxChar
*szLocale
, // locale (for setlocale)
3374 bool bLoadDefault
, // preload wxstd.mo?
3375 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3376 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3380 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3381 int flags
) : wxLocale(language
, flags
)
3385 wxPyLocale::~wxPyLocale()
3389 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3390 const wxChar
*szDomain
) const
3392 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3393 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3396 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3397 const wxChar
*szOrigString2
, size_t n
,
3398 const wxChar
*szDomain
) const
3400 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3401 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3404 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3405 const wxChar
*szDomain
) const
3408 static wxString str
;
3409 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.
3410 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3411 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3412 PyObject
* param1
= wx2PyString(szOrigString
);
3413 PyObject
* param2
= wx2PyString(szDomain
);
3414 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3418 str
= Py2wxString(ret
);
3422 wxPyEndBlockThreads(blocked
);
3423 return (found
? (wxChar
*)str
.c_str() : NULL
);
3426 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3427 const wxChar
*szOrigString2
, size_t n
,
3428 const wxChar
*szDomain
) const
3431 static wxString str
;
3432 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.
3433 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3434 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3435 PyObject
* param1
= wx2PyString(szOrigString
);
3436 PyObject
* param2
= wx2PyString(szOrigString2
);
3437 PyObject
* param4
= wx2PyString(szDomain
);
3438 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3443 str
= Py2wxString(ret
);
3447 wxPyEndBlockThreads(blocked
);
3448 return (found
? (wxChar
*)str
.c_str() : NULL
);
3451 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3454 loc
= new wxPyLocale();
3456 loc
= new wxPyLocale(language
, flags
);
3457 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3458 // for the floating point conversions and such to work right.
3459 #if PY_VERSION_HEX < 0x02040000
3460 setlocale(LC_NUMERIC
, "C");
3465 #include "wx/wxPython/pydrawxxx.h"
3467 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3469 self
->GetPixel(x
, y
, &col
);
3472 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3474 self
->GetPixel(pt
, &col
);
3479 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3481 if (PyNumber_Check(obj
)) {
3482 if (val
) *val
= PyFloat_AsDouble(obj
);
3485 return SWIG_TypeError
;
3488 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3490 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3493 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3495 self
->GetClippingBox(rect
);
3498 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3500 self
->GetPartialTextExtents(text
, widths
);
3504 #define SWIG_From_double PyFloat_FromDouble
3506 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3507 self
->SetLogicalOrigin(point
.x
, point
.y
);
3509 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3510 self
->SetDeviceOrigin(point
.x
, point
.y
);
3512 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3513 self
->CalcBoundingBox(point
.x
, point
.y
);
3515 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3516 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3518 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3519 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3521 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3522 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3524 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3525 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3527 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3528 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3530 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3531 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3534 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3542 #include <wx/dcbuffer.h>
3545 #include <wx/dcps.h>
3548 class wxMetaFile
: public wxObject
{
3550 wxMetaFile(const wxString
&)
3551 { wxPyRaiseNotImplemented(); }
3554 class wxMetaFileDC
: public wxClientDC
{
3556 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3557 { wxPyRaiseNotImplemented(); }
3562 class wxPrinterDC
: public wxClientDC
{
3564 wxPrinterDC(const wxPrintData
&)
3565 { wxPyRaiseNotImplemented(); }
3570 #include <wx/graphics.h>
3573 #if !wxUSE_GRAPHICS_CONTEXT
3574 // C++ stub classes for platforms or build configurations that don't have
3575 // wxGraphicsContext yet.
3578 class wxGraphicsObject
: public wxObject
3581 wxGraphicsObject( wxGraphicsRenderer
* ) {
3582 PyErr_SetString(PyExc_NotImplementedError
,
3583 "wx.GraphicsObject is not available on this platform.");
3585 wxGraphicsObject( const wxGraphicsObject
& ) {}
3586 virtual ~wxGraphicsObject() {}
3587 bool IsNull() const { return false; }
3588 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3593 class wxGraphicsPen
: public wxGraphicsObject
3596 virtual ~wxGraphicsPen() {}
3598 wxGraphicsPen wxNullGraphicsPen
;
3602 class wxGraphicsBrush
: public wxGraphicsObject
3605 wxGraphicsBrush() {}
3606 virtual ~wxGraphicsBrush() {}
3608 wxGraphicsBrush wxNullGraphicsBrush
;
3612 class wxGraphicsFont
: public wxGraphicsObject
3616 virtual ~wxGraphicsFont() {}
3618 wxGraphicsFont wxNullGraphicsFont
;
3622 class wxGraphicsPath
: public wxGraphicsObject
3625 wxGraphicsPath(wxGraphicsRenderer
* ) {
3626 PyErr_SetString(PyExc_NotImplementedError
,
3627 "wx.GraphicsPath is not available on this platform.");
3629 virtual ~wxGraphicsPath() {}
3631 void MoveToPoint( wxDouble
, wxDouble
) {}
3632 void MoveToPoint( const wxPoint2DDouble
& ) {}
3633 void AddLineToPoint( wxDouble
, wxDouble
) {}
3634 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3635 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3636 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3637 void AddPath( const wxGraphicsPath
* ) {}
3638 void CloseSubpath() {}
3639 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3640 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3641 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3642 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3644 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3645 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3646 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3647 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3649 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3650 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3651 void * GetNativePath() const { return NULL
; }
3652 void UnGetNativePath(void *) {}
3653 void Transform( wxGraphicsMatrix
* ) {}
3654 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3655 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3657 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3658 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3660 wxGraphicsPath wxNullGraphicsPath
;
3663 class wxGraphicsMatrix
: public wxGraphicsObject
3666 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3667 PyErr_SetString(PyExc_NotImplementedError
,
3668 "wx.GraphicsMatrix is not available on this platform.");
3670 virtual ~wxGraphicsMatrix() {}
3671 virtual void Concat( const wxGraphicsMatrix
* ) {}
3672 virtual void Copy( const wxGraphicsMatrix
* ) {}
3673 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3674 wxDouble
, wxDouble
) {}
3675 virtual void Invert() {}
3676 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3677 virtual bool IsIdentity() { return false; }
3678 virtual void Translate( wxDouble
, wxDouble
) {}
3679 virtual void Scale( wxDouble
, wxDouble
) {}
3680 virtual void Rotate( wxDouble
) {}
3681 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3682 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3683 virtual void * GetNativeMatrix() const { return NULL
; }
3685 wxGraphicsMatrix wxNullGraphicsMatrix
;
3688 class wxGraphicsContext
: public wxGraphicsObject
3692 wxGraphicsContext(wxGraphicsRenderer
* ) {
3693 PyErr_SetString(PyExc_NotImplementedError
,
3694 "wx.GraphicsContext is not available on this platform.");
3697 virtual ~wxGraphicsContext() {}
3699 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3700 PyErr_SetString(PyExc_NotImplementedError
,
3701 "wx.GraphicsContext is not available on this platform.");
3704 static wxGraphicsContext
* CreateFromNative( void * ) {
3705 PyErr_SetString(PyExc_NotImplementedError
,
3706 "wx.GraphicsContext is not available on this platform.");
3709 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3710 PyErr_SetString(PyExc_NotImplementedError
,
3711 "wx.GraphicsContext is not available on this platform.");
3714 static wxGraphicsContext
* Create( wxWindow
* ) {
3715 PyErr_SetString(PyExc_NotImplementedError
,
3716 "wx.GraphicsContext is not available on this platform.");
3719 wxGraphicsPath
* CreatePath() { return NULL
; }
3721 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3723 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3725 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3726 const wxColour
&, const wxColour
&) { return NULL
; }
3728 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3729 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3730 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3732 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3734 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3735 wxDouble
, wxDouble
) { return NULL
; }
3737 virtual void PushState() {}
3738 virtual void PopState() {}
3739 virtual void Clip( const wxRegion
& ) {}
3740 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3741 virtual void ResetClip() {}
3742 virtual void * GetNativeContext() { return NULL
; }
3743 virtual void Translate( wxDouble
, wxDouble
) {}
3744 virtual void Scale( wxDouble
, wxDouble
) {}
3745 virtual void Rotate( wxDouble
) {}
3746 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3747 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3748 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3750 virtual void SetPen( const wxGraphicsPen
& ) {}
3751 void SetPen( const wxPen
& ) {}
3753 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3754 void SetBrush( const wxBrush
& ) {}
3756 virtual void SetFont( const wxGraphicsFont
& ) {}
3757 void SetFont( const wxFont
&, const wxColour
& ) {}
3759 virtual void StrokePath( const wxGraphicsPath
* ) {}
3760 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3761 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3763 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3764 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3765 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3766 wxDouble
*, wxDouble
* ) const {}
3767 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3769 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3770 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3772 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3773 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3774 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3775 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3776 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3777 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3778 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3779 virtual bool ShouldOffset() const { return false; }
3783 class wxGraphicsRenderer
: public wxObject
3786 wxGraphicsRenderer() {
3787 PyErr_SetString(PyExc_NotImplementedError
,
3788 "wx.GraphicsRenderer is not available on this platform.");
3791 virtual ~wxGraphicsRenderer() {}
3793 static wxGraphicsRenderer
* GetDefaultRenderer(
3794 PyErr_SetString(PyExc_NotImplementedError
,
3795 "wx.GraphicsRenderer is not available on this platform.");
3798 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3799 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3800 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3801 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3803 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3805 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3806 wxDouble
, wxDouble
) { return NULL
; }
3808 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3809 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3810 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3811 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3812 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3813 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3814 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3819 class wxGCDC
: public wxWindowDC
3822 wxGCDC(const wxWindowDC
&) {
3823 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3824 PyErr_SetString(PyExc_NotImplementedError
,
3825 "wxGCDC is not available on this platform.");
3826 wxPyEndBlockThreads(blocked
);
3830 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3831 PyErr_SetString(PyExc_NotImplementedError
,
3832 "wxGCDC is not available on this platform.");
3833 wxPyEndBlockThreads(blocked
);
3836 virtual ~wxGCDC() {}
3838 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3839 void SetGraphicsContext( wxGraphicsContext
* ) {}
3844 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3847 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3848 wxDouble width
= 0.0,
3850 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3851 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3852 PyObject
* rv
= PyTuple_New(2);
3853 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3854 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3857 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3858 wxArrayDouble widths
;
3859 self
->GetPartialTextExtents(text
, widths
);
3862 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3863 size_t c1
, c2
, count
;
3864 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3865 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3867 if ( beginP
!= NULL
&& endP
!= NULL
)
3869 count
= wxMin(c1
, c2
);
3870 self
->StrokeLines(count
, beginP
, endP
);
3876 #include "wx/dcgraph.h"
3879 #include <wx/overlay.h>
3883 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3884 self
->AddColour(name
, wxColour(red
, green
, blue
));
3887 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3888 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3889 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3890 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3893 #include <wx/effects.h>
3896 #include "wx/renderer.h"
3899 SWIGINTERNINLINE PyObject
*
3900 SWIG_From_bool (bool value
)
3902 return PyBool_FromLong(value
? 1 : 0);
3906 #include "wx/wxPython/pseudodc.h"
3908 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3910 self
->GetIdBounds(id
, rect
);
3916 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3917 PyObject
*resultobj
= 0;
3918 wxGDIObject
*result
= 0 ;
3920 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3922 if (!wxPyCheckForApp()) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (wxGDIObject
*)new wxGDIObject();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3935 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3936 PyObject
*resultobj
= 0;
3937 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3940 PyObject
*swig_obj
[1] ;
3942 if (!args
) SWIG_fail
;
3944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3945 if (!SWIG_IsOK(res1
)) {
3946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3948 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_Py_Void();
3963 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3964 PyObject
*resultobj
= 0;
3965 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3969 PyObject
*swig_obj
[1] ;
3971 if (!args
) SWIG_fail
;
3973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3974 if (!SWIG_IsOK(res1
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3977 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 result
= (bool)(arg1
)->IsNull();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3993 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3996 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3997 return SWIG_Py_Void();
4000 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4001 return SWIG_Python_InitShadowInstance(args
);
4004 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
= 0;
4006 byte arg1
= (byte
) 0 ;
4007 byte arg2
= (byte
) 0 ;
4008 byte arg3
= (byte
) 0 ;
4009 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4010 wxColour
*result
= 0 ;
4011 unsigned char val1
;
4013 unsigned char val2
;
4015 unsigned char val3
;
4017 unsigned char val4
;
4019 PyObject
* obj0
= 0 ;
4020 PyObject
* obj1
= 0 ;
4021 PyObject
* obj2
= 0 ;
4022 PyObject
* obj3
= 0 ;
4023 char * kwnames
[] = {
4024 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4029 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4030 if (!SWIG_IsOK(ecode1
)) {
4031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4033 arg1
= static_cast< byte
>(val1
);
4036 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4037 if (!SWIG_IsOK(ecode2
)) {
4038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4040 arg2
= static_cast< byte
>(val2
);
4043 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4044 if (!SWIG_IsOK(ecode3
)) {
4045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4047 arg3
= static_cast< byte
>(val3
);
4050 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4051 if (!SWIG_IsOK(ecode4
)) {
4052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4054 arg4
= static_cast< byte
>(val4
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4069 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
= 0;
4071 wxString
*arg1
= 0 ;
4072 wxColour
*result
= 0 ;
4073 bool temp1
= false ;
4074 PyObject
* obj0
= 0 ;
4075 char * kwnames
[] = {
4076 (char *) "colorName", NULL
4079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4081 arg1
= wxString_in_helper(obj0
);
4082 if (arg1
== NULL
) SWIG_fail
;
4086 if (!wxPyCheckForApp()) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4107 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
= 0;
4109 unsigned long arg1
;
4110 wxColour
*result
= 0 ;
4111 unsigned long val1
;
4113 PyObject
* obj0
= 0 ;
4114 char * kwnames
[] = {
4115 (char *) "colRGB", NULL
4118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4119 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4120 if (!SWIG_IsOK(ecode1
)) {
4121 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4123 arg1
= static_cast< unsigned long >(val1
);
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 result
= (wxColour
*)new wxColour(arg1
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4137 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4138 PyObject
*resultobj
= 0;
4139 wxColour
*arg1
= (wxColour
*) 0 ;
4142 PyObject
*swig_obj
[1] ;
4144 if (!args
) SWIG_fail
;
4146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4147 if (!SWIG_IsOK(res1
)) {
4148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4150 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= SWIG_Py_Void();
4165 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4166 PyObject
*resultobj
= 0;
4167 wxColour
*arg1
= (wxColour
*) 0 ;
4171 PyObject
*swig_obj
[1] ;
4173 if (!args
) SWIG_fail
;
4175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4176 if (!SWIG_IsOK(res1
)) {
4177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4179 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (byte
)(arg1
)->Red();
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4193 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4194 PyObject
*resultobj
= 0;
4195 wxColour
*arg1
= (wxColour
*) 0 ;
4199 PyObject
*swig_obj
[1] ;
4201 if (!args
) SWIG_fail
;
4203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4204 if (!SWIG_IsOK(res1
)) {
4205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4207 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 result
= (byte
)(arg1
)->Green();
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4221 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4222 PyObject
*resultobj
= 0;
4223 wxColour
*arg1
= (wxColour
*) 0 ;
4227 PyObject
*swig_obj
[1] ;
4229 if (!args
) SWIG_fail
;
4231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4232 if (!SWIG_IsOK(res1
)) {
4233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4235 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (byte
)(arg1
)->Blue();
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4249 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4250 PyObject
*resultobj
= 0;
4251 wxColour
*arg1
= (wxColour
*) 0 ;
4255 PyObject
*swig_obj
[1] ;
4257 if (!args
) SWIG_fail
;
4259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4260 if (!SWIG_IsOK(res1
)) {
4261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4263 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 result
= (byte
)(arg1
)->Alpha();
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4277 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4278 PyObject
*resultobj
= 0;
4279 wxColour
*arg1
= (wxColour
*) 0 ;
4283 PyObject
*swig_obj
[1] ;
4285 if (!args
) SWIG_fail
;
4287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4288 if (!SWIG_IsOK(res1
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4291 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 result
= (bool)(arg1
)->IsOk();
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4307 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
= 0;
4309 wxColour
*arg1
= (wxColour
*) 0 ;
4313 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4316 unsigned char val2
;
4318 unsigned char val3
;
4320 unsigned char val4
;
4322 unsigned char val5
;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4326 PyObject
* obj2
= 0 ;
4327 PyObject
* obj3
= 0 ;
4328 PyObject
* obj4
= 0 ;
4329 char * kwnames
[] = {
4330 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4338 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4339 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4340 if (!SWIG_IsOK(ecode2
)) {
4341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4343 arg2
= static_cast< byte
>(val2
);
4344 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4345 if (!SWIG_IsOK(ecode3
)) {
4346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4348 arg3
= static_cast< byte
>(val3
);
4349 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4350 if (!SWIG_IsOK(ecode4
)) {
4351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4353 arg4
= static_cast< byte
>(val4
);
4355 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4356 if (!SWIG_IsOK(ecode5
)) {
4357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4359 arg5
= static_cast< byte
>(val5
);
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= SWIG_Py_Void();
4374 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
= 0;
4376 wxColour
*arg1
= (wxColour
*) 0 ;
4377 unsigned long arg2
;
4380 unsigned long val2
;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4384 char * kwnames
[] = {
4385 (char *) "self",(char *) "colRGB", NULL
4388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4390 if (!SWIG_IsOK(res1
)) {
4391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4393 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4394 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4395 if (!SWIG_IsOK(ecode2
)) {
4396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4398 arg2
= static_cast< unsigned long >(val2
);
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= SWIG_Py_Void();
4412 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
= 0;
4414 wxColour
*arg1
= (wxColour
*) 0 ;
4415 wxString
*arg2
= 0 ;
4418 bool temp2
= false ;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4421 char * kwnames
[] = {
4422 (char *) "self",(char *) "colourName", NULL
4425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4427 if (!SWIG_IsOK(res1
)) {
4428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4430 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4432 arg2
= wxString_in_helper(obj1
);
4433 if (arg2
== NULL
) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 (arg1
)->Set((wxString
const &)*arg2
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= SWIG_Py_Void();
4457 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
= 0;
4459 wxColour
*arg1
= (wxColour
*) 0 ;
4460 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4466 PyObject
* obj0
= 0 ;
4467 PyObject
* obj1
= 0 ;
4468 char * kwnames
[] = {
4469 (char *) "self",(char *) "flags", NULL
4472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4474 if (!SWIG_IsOK(res1
)) {
4475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4477 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4479 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4480 if (!SWIG_IsOK(ecode2
)) {
4481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4483 arg2
= static_cast< long >(val2
);
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4504 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4505 PyObject
*resultobj
= 0;
4506 wxColour
*arg1
= (wxColour
*) 0 ;
4510 PyObject
*swig_obj
[1] ;
4512 if (!args
) SWIG_fail
;
4514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4515 if (!SWIG_IsOK(res1
)) {
4516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4518 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= SWIG_From_long(static_cast< long >(result
));
4532 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
= 0;
4534 wxColour
*arg1
= (wxColour
*) 0 ;
4535 PyObject
*arg2
= (PyObject
*) 0 ;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4541 char * kwnames
[] = {
4542 (char *) "self",(char *) "other", NULL
4545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4547 if (!SWIG_IsOK(res1
)) {
4548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4550 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4553 result
= (bool)wxColour___eq__(arg1
,arg2
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4565 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
= 0;
4567 wxColour
*arg1
= (wxColour
*) 0 ;
4568 PyObject
*arg2
= (PyObject
*) 0 ;
4572 PyObject
* obj0
= 0 ;
4573 PyObject
* obj1
= 0 ;
4574 char * kwnames
[] = {
4575 (char *) "self",(char *) "other", NULL
4578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4580 if (!SWIG_IsOK(res1
)) {
4581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4583 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4586 result
= (bool)wxColour___ne__(arg1
,arg2
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4598 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
*resultobj
= 0;
4600 wxColour
*arg1
= (wxColour
*) 0 ;
4601 bool arg2
= (bool) false ;
4602 PyObject
*result
= 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4609 char * kwnames
[] = {
4610 (char *) "self",(char *) "includeAlpha", NULL
4613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4615 if (!SWIG_IsOK(res1
)) {
4616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4618 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4620 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4621 if (!SWIG_IsOK(ecode2
)) {
4622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4624 arg2
= static_cast< bool >(val2
);
4627 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4637 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4638 PyObject
*resultobj
= 0;
4639 wxColour
*arg1
= (wxColour
*) 0 ;
4640 unsigned long result
;
4643 PyObject
*swig_obj
[1] ;
4645 if (!args
) SWIG_fail
;
4647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4648 if (!SWIG_IsOK(res1
)) {
4649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4651 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4653 result
= (unsigned long)wxColour_GetRGB(arg1
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4663 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4666 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4667 return SWIG_Py_Void();
4670 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4671 return SWIG_Python_InitShadowInstance(args
);
4674 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= 0;
4677 unsigned char *arg2
= (unsigned char *) 0 ;
4678 unsigned char *arg3
= (unsigned char *) 0 ;
4679 unsigned char *arg4
= (unsigned char *) 0 ;
4680 wxPalette
*result
= 0 ;
4689 PyObject
* obj0
= 0 ;
4690 PyObject
* obj1
= 0 ;
4691 PyObject
* obj2
= 0 ;
4692 PyObject
* obj3
= 0 ;
4693 char * kwnames
[] = {
4694 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4699 if (!SWIG_IsOK(ecode1
)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4702 arg1
= static_cast< int >(val1
);
4703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4704 if (!SWIG_IsOK(res2
)) {
4705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4707 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4708 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4709 if (!SWIG_IsOK(res3
)) {
4710 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4712 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4713 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4714 if (!SWIG_IsOK(res4
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4717 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4719 if (!wxPyCheckForApp()) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4732 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4733 PyObject
*resultobj
= 0;
4734 wxPalette
*arg1
= (wxPalette
*) 0 ;
4737 PyObject
*swig_obj
[1] ;
4739 if (!args
) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4745 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= SWIG_Py_Void();
4760 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
= 0;
4762 wxPalette
*arg1
= (wxPalette
*) 0 ;
4769 unsigned char val2
;
4771 unsigned char val3
;
4773 unsigned char val4
;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4777 PyObject
* obj2
= 0 ;
4778 PyObject
* obj3
= 0 ;
4779 char * kwnames
[] = {
4780 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4785 if (!SWIG_IsOK(res1
)) {
4786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4788 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4789 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4790 if (!SWIG_IsOK(ecode2
)) {
4791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4793 arg2
= static_cast< byte
>(val2
);
4794 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4795 if (!SWIG_IsOK(ecode3
)) {
4796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4798 arg3
= static_cast< byte
>(val3
);
4799 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4800 if (!SWIG_IsOK(ecode4
)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4803 arg4
= static_cast< byte
>(val4
);
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= SWIG_From_int(static_cast< int >(result
));
4817 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
= 0;
4819 wxPalette
*arg1
= (wxPalette
*) 0 ;
4821 byte
*arg3
= (byte
*) 0 ;
4822 byte
*arg4
= (byte
*) 0 ;
4823 byte
*arg5
= (byte
*) 0 ;
4830 int res3
= SWIG_TMPOBJ
;
4832 int res4
= SWIG_TMPOBJ
;
4834 int res5
= SWIG_TMPOBJ
;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4837 char * kwnames
[] = {
4838 (char *) "self",(char *) "pixel", NULL
4844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4849 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4851 if (!SWIG_IsOK(ecode2
)) {
4852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4854 arg2
= static_cast< int >(val2
);
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4864 if (SWIG_IsTmpObj(res3
)) {
4865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4867 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4870 if (SWIG_IsTmpObj(res4
)) {
4871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4873 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4876 if (SWIG_IsTmpObj(res5
)) {
4877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4879 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4888 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4889 PyObject
*resultobj
= 0;
4890 wxPalette
*arg1
= (wxPalette
*) 0 ;
4894 PyObject
*swig_obj
[1] ;
4896 if (!args
) SWIG_fail
;
4898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4899 if (!SWIG_IsOK(res1
)) {
4900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4902 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= SWIG_From_int(static_cast< int >(result
));
4916 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4917 PyObject
*resultobj
= 0;
4918 wxPalette
*arg1
= (wxPalette
*) 0 ;
4922 PyObject
*swig_obj
[1] ;
4924 if (!args
) SWIG_fail
;
4926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4927 if (!SWIG_IsOK(res1
)) {
4928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4930 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 result
= (bool)(arg1
)->IsOk();
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4946 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4949 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4950 return SWIG_Py_Void();
4953 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4954 return SWIG_Python_InitShadowInstance(args
);
4957 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
= 0;
4959 wxColour
*arg1
= 0 ;
4960 int arg2
= (int) 1 ;
4961 int arg3
= (int) wxSOLID
;
4968 PyObject
* obj0
= 0 ;
4969 PyObject
* obj1
= 0 ;
4970 PyObject
* obj2
= 0 ;
4971 char * kwnames
[] = {
4972 (char *) "colour",(char *) "width",(char *) "style", NULL
4975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4978 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4982 if (!SWIG_IsOK(ecode2
)) {
4983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4985 arg2
= static_cast< int >(val2
);
4988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4989 if (!SWIG_IsOK(ecode3
)) {
4990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4992 arg3
= static_cast< int >(val3
);
4995 if (!wxPyCheckForApp()) SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5008 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5009 PyObject
*resultobj
= 0;
5010 wxPen
*arg1
= (wxPen
*) 0 ;
5013 PyObject
*swig_obj
[1] ;
5015 if (!args
) SWIG_fail
;
5017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5018 if (!SWIG_IsOK(res1
)) {
5019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5021 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= SWIG_Py_Void();
5036 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5037 PyObject
*resultobj
= 0;
5038 wxPen
*arg1
= (wxPen
*) 0 ;
5042 PyObject
*swig_obj
[1] ;
5044 if (!args
) SWIG_fail
;
5046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5047 if (!SWIG_IsOK(res1
)) {
5048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5050 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (int)(arg1
)->GetCap();
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_From_int(static_cast< int >(result
));
5064 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5065 PyObject
*resultobj
= 0;
5066 wxPen
*arg1
= (wxPen
*) 0 ;
5070 PyObject
*swig_obj
[1] ;
5072 if (!args
) SWIG_fail
;
5074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5075 if (!SWIG_IsOK(res1
)) {
5076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5078 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (arg1
)->GetColour();
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5092 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5093 PyObject
*resultobj
= 0;
5094 wxPen
*arg1
= (wxPen
*) 0 ;
5098 PyObject
*swig_obj
[1] ;
5100 if (!args
) SWIG_fail
;
5102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5103 if (!SWIG_IsOK(res1
)) {
5104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5106 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 result
= (int)(arg1
)->GetJoin();
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= SWIG_From_int(static_cast< int >(result
));
5120 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5121 PyObject
*resultobj
= 0;
5122 wxPen
*arg1
= (wxPen
*) 0 ;
5126 PyObject
*swig_obj
[1] ;
5128 if (!args
) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5134 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (int)(arg1
)->GetStyle();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_From_int(static_cast< int >(result
));
5148 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5149 PyObject
*resultobj
= 0;
5150 wxPen
*arg1
= (wxPen
*) 0 ;
5154 PyObject
*swig_obj
[1] ;
5156 if (!args
) SWIG_fail
;
5158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5159 if (!SWIG_IsOK(res1
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5162 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (int)(arg1
)->GetWidth();
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_From_int(static_cast< int >(result
));
5176 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5177 PyObject
*resultobj
= 0;
5178 wxPen
*arg1
= (wxPen
*) 0 ;
5182 PyObject
*swig_obj
[1] ;
5184 if (!args
) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5190 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (bool)(arg1
)->IsOk();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5206 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
= 0;
5208 wxPen
*arg1
= (wxPen
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5216 char * kwnames
[] = {
5217 (char *) "self",(char *) "cap_style", NULL
5220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5222 if (!SWIG_IsOK(res1
)) {
5223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5225 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5227 if (!SWIG_IsOK(ecode2
)) {
5228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5230 arg2
= static_cast< int >(val2
);
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->SetCap(arg2
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_Py_Void();
5244 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxPen
*arg1
= (wxPen
*) 0 ;
5247 wxColour
*arg2
= 0 ;
5251 PyObject
* obj0
= 0 ;
5252 PyObject
* obj1
= 0 ;
5253 char * kwnames
[] = {
5254 (char *) "self",(char *) "colour", NULL
5257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5259 if (!SWIG_IsOK(res1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5262 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 (arg1
)->SetColour(*arg2
);
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_Py_Void();
5280 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
= 0;
5282 wxPen
*arg1
= (wxPen
*) 0 ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5290 char * kwnames
[] = {
5291 (char *) "self",(char *) "join_style", NULL
5294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5296 if (!SWIG_IsOK(res1
)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5299 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5301 if (!SWIG_IsOK(ecode2
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5304 arg2
= static_cast< int >(val2
);
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 (arg1
)->SetJoin(arg2
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5311 resultobj
= SWIG_Py_Void();
5318 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
= 0;
5320 wxPen
*arg1
= (wxPen
*) 0 ;
5326 PyObject
* obj0
= 0 ;
5327 PyObject
* obj1
= 0 ;
5328 char * kwnames
[] = {
5329 (char *) "self",(char *) "style", NULL
5332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5334 if (!SWIG_IsOK(res1
)) {
5335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5337 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5339 if (!SWIG_IsOK(ecode2
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5342 arg2
= static_cast< int >(val2
);
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 (arg1
)->SetStyle(arg2
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= SWIG_Py_Void();
5356 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
= 0;
5358 wxPen
*arg1
= (wxPen
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5365 PyObject
* obj1
= 0 ;
5366 char * kwnames
[] = {
5367 (char *) "self",(char *) "width", NULL
5370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5372 if (!SWIG_IsOK(res1
)) {
5373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5375 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5377 if (!SWIG_IsOK(ecode2
)) {
5378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5380 arg2
= static_cast< int >(val2
);
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 (arg1
)->SetWidth(arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 resultobj
= SWIG_Py_Void();
5394 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
= 0;
5396 wxPen
*arg1
= (wxPen
*) 0 ;
5398 wxDash
*arg3
= (wxDash
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5403 char * kwnames
[] = {
5404 (char *) "self",(char *) "dashes", NULL
5407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5409 if (!SWIG_IsOK(res1
)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5412 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5414 arg2
= PyList_Size(obj1
);
5415 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5416 if (arg3
== NULL
) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 (arg1
)->SetDashes(arg2
,arg3
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= SWIG_Py_Void();
5426 if (arg3
) delete [] arg3
;
5431 if (arg3
) delete [] arg3
;
5437 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5438 PyObject
*resultobj
= 0;
5439 wxPen
*arg1
= (wxPen
*) 0 ;
5440 PyObject
*result
= 0 ;
5443 PyObject
*swig_obj
[1] ;
5445 if (!args
) SWIG_fail
;
5447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5448 if (!SWIG_IsOK(res1
)) {
5449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5451 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5465 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
*resultobj
= 0;
5467 wxPen
*arg1
= (wxPen
*) 0 ;
5468 PyObject
*arg2
= (PyObject
*) 0 ;
5469 PyObject
*arg3
= (PyObject
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5473 PyObject
* obj1
= 0 ;
5474 PyObject
* obj2
= 0 ;
5475 char * kwnames
[] = {
5476 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5481 if (!SWIG_IsOK(res1
)) {
5482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5484 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 wxPen__SetDashes(arg1
,arg2
,arg3
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= SWIG_Py_Void();
5500 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5501 PyObject
*resultobj
= 0;
5502 wxPen
*arg1
= (wxPen
*) 0 ;
5506 PyObject
*swig_obj
[1] ;
5508 if (!args
) SWIG_fail
;
5510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5511 if (!SWIG_IsOK(res1
)) {
5512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5514 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 resultobj
= SWIG_From_int(static_cast< int >(result
));
5528 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
= 0;
5530 wxPen
*arg1
= (wxPen
*) 0 ;
5531 wxPen
*arg2
= (wxPen
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5539 char * kwnames
[] = {
5540 (char *) "self",(char *) "other", NULL
5543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5545 if (!SWIG_IsOK(res1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5548 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5549 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5550 if (!SWIG_IsOK(res2
)) {
5551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5553 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5569 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
= 0;
5571 wxPen
*arg1
= (wxPen
*) 0 ;
5572 wxPen
*arg2
= (wxPen
*) 0 ;
5578 PyObject
* obj0
= 0 ;
5579 PyObject
* obj1
= 0 ;
5580 char * kwnames
[] = {
5581 (char *) "self",(char *) "other", NULL
5584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5586 if (!SWIG_IsOK(res1
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5589 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5591 if (!SWIG_IsOK(res2
)) {
5592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5594 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5610 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5613 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5614 return SWIG_Py_Void();
5617 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5618 return SWIG_Python_InitShadowInstance(args
);
5621 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
= 0;
5623 wxColour
*arg1
= 0 ;
5624 int arg2
= (int) wxSOLID
;
5625 wxBrush
*result
= 0 ;
5629 PyObject
* obj0
= 0 ;
5630 PyObject
* obj1
= 0 ;
5631 char * kwnames
[] = {
5632 (char *) "colour",(char *) "style", NULL
5635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5638 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5642 if (!SWIG_IsOK(ecode2
)) {
5643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5645 arg2
= static_cast< int >(val2
);
5648 if (!wxPyCheckForApp()) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5661 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
= 0;
5663 wxBitmap
*arg1
= 0 ;
5664 wxBrush
*result
= 0 ;
5667 PyObject
* obj0
= 0 ;
5668 char * kwnames
[] = {
5669 (char *) "stippleBitmap", NULL
5672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5673 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5674 if (!SWIG_IsOK(res1
)) {
5675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5680 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5682 if (!wxPyCheckForApp()) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5695 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5696 PyObject
*resultobj
= 0;
5697 wxBrush
*arg1
= (wxBrush
*) 0 ;
5700 PyObject
*swig_obj
[1] ;
5702 if (!args
) SWIG_fail
;
5704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5705 if (!SWIG_IsOK(res1
)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5708 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_Py_Void();
5723 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
= 0;
5725 wxBrush
*arg1
= (wxBrush
*) 0 ;
5726 wxColour
*arg2
= 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 char * kwnames
[] = {
5733 (char *) "self",(char *) "col", NULL
5736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5741 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 (arg1
)->SetColour((wxColour
const &)*arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= SWIG_Py_Void();
5759 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
= 0;
5761 wxBrush
*arg1
= (wxBrush
*) 0 ;
5767 PyObject
* obj0
= 0 ;
5768 PyObject
* obj1
= 0 ;
5769 char * kwnames
[] = {
5770 (char *) "self",(char *) "style", NULL
5773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5775 if (!SWIG_IsOK(res1
)) {
5776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5778 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5780 if (!SWIG_IsOK(ecode2
)) {
5781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5783 arg2
= static_cast< int >(val2
);
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 (arg1
)->SetStyle(arg2
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= SWIG_Py_Void();
5797 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
= 0;
5799 wxBrush
*arg1
= (wxBrush
*) 0 ;
5800 wxBitmap
*arg2
= 0 ;
5805 PyObject
* obj0
= 0 ;
5806 PyObject
* obj1
= 0 ;
5807 char * kwnames
[] = {
5808 (char *) "self",(char *) "stipple", NULL
5811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5813 if (!SWIG_IsOK(res1
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5816 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5818 if (!SWIG_IsOK(res2
)) {
5819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5824 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= SWIG_Py_Void();
5838 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5839 PyObject
*resultobj
= 0;
5840 wxBrush
*arg1
= (wxBrush
*) 0 ;
5844 PyObject
*swig_obj
[1] ;
5846 if (!args
) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5852 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= ((wxBrush
const *)arg1
)->GetColour();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5866 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5867 PyObject
*resultobj
= 0;
5868 wxBrush
*arg1
= (wxBrush
*) 0 ;
5872 PyObject
*swig_obj
[1] ;
5874 if (!args
) SWIG_fail
;
5876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5877 if (!SWIG_IsOK(res1
)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5880 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= SWIG_From_int(static_cast< int >(result
));
5894 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5895 PyObject
*resultobj
= 0;
5896 wxBrush
*arg1
= (wxBrush
*) 0 ;
5897 wxBitmap
*result
= 0 ;
5900 PyObject
*swig_obj
[1] ;
5902 if (!args
) SWIG_fail
;
5904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5905 if (!SWIG_IsOK(res1
)) {
5906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5908 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5922 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5923 PyObject
*resultobj
= 0;
5924 wxBrush
*arg1
= (wxBrush
*) 0 ;
5928 PyObject
*swig_obj
[1] ;
5930 if (!args
) SWIG_fail
;
5932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5933 if (!SWIG_IsOK(res1
)) {
5934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5936 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5952 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5953 PyObject
*resultobj
= 0;
5954 wxBrush
*arg1
= (wxBrush
*) 0 ;
5958 PyObject
*swig_obj
[1] ;
5960 if (!args
) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5966 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (bool)(arg1
)->IsOk();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5982 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5985 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5986 return SWIG_Py_Void();
5989 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5990 return SWIG_Python_InitShadowInstance(args
);
5993 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
= 0;
5995 wxString
*arg1
= 0 ;
5996 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5997 wxBitmap
*result
= 0 ;
5998 bool temp1
= false ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6003 char * kwnames
[] = {
6004 (char *) "name",(char *) "type", NULL
6007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6009 arg1
= wxString_in_helper(obj0
);
6010 if (arg1
== NULL
) SWIG_fail
;
6014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6015 if (!SWIG_IsOK(ecode2
)) {
6016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6018 arg2
= static_cast< wxBitmapType
>(val2
);
6021 if (!wxPyCheckForApp()) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6042 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6043 PyObject
*resultobj
= 0;
6044 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6047 PyObject
*swig_obj
[1] ;
6049 if (!args
) SWIG_fail
;
6051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6052 if (!SWIG_IsOK(res1
)) {
6053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6055 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= SWIG_Py_Void();
6068 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
= 0;
6072 int arg3
= (int) -1 ;
6073 wxBitmap
*result
= 0 ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6082 PyObject
* obj2
= 0 ;
6083 char * kwnames
[] = {
6084 (char *) "width",(char *) "height",(char *) "depth", NULL
6087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6088 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6089 if (!SWIG_IsOK(ecode1
)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6092 arg1
= static_cast< int >(val1
);
6093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6094 if (!SWIG_IsOK(ecode2
)) {
6095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6097 arg2
= static_cast< int >(val2
);
6099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6100 if (!SWIG_IsOK(ecode3
)) {
6101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6103 arg3
= static_cast< int >(val3
);
6106 if (!wxPyCheckForApp()) SWIG_fail
;
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6119 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
= 0;
6122 wxBitmap
*result
= 0 ;
6125 PyObject
* obj0
= 0 ;
6126 char * kwnames
[] = {
6127 (char *) "icon", NULL
6130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6131 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6132 if (!SWIG_IsOK(res1
)) {
6133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6138 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6140 if (!wxPyCheckForApp()) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6153 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
= 0;
6156 int arg2
= (int) -1 ;
6157 wxBitmap
*result
= 0 ;
6162 PyObject
* obj0
= 0 ;
6163 PyObject
* obj1
= 0 ;
6164 char * kwnames
[] = {
6165 (char *) "image",(char *) "depth", NULL
6168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6169 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6170 if (!SWIG_IsOK(res1
)) {
6171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6176 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6179 if (!SWIG_IsOK(ecode2
)) {
6180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6182 arg2
= static_cast< int >(val2
);
6185 if (!wxPyCheckForApp()) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6198 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
= 0;
6200 PyObject
*arg1
= (PyObject
*) 0 ;
6201 wxBitmap
*result
= 0 ;
6202 PyObject
* obj0
= 0 ;
6203 char * kwnames
[] = {
6204 (char *) "listOfStrings", NULL
6207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6210 if (!wxPyCheckForApp()) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6223 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
= 0;
6225 PyObject
*arg1
= (PyObject
*) 0 ;
6228 int arg4
= (int) 1 ;
6229 wxBitmap
*result
= 0 ;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6238 PyObject
* obj2
= 0 ;
6239 PyObject
* obj3
= 0 ;
6240 char * kwnames
[] = {
6241 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6247 if (!SWIG_IsOK(ecode2
)) {
6248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6250 arg2
= static_cast< int >(val2
);
6251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6252 if (!SWIG_IsOK(ecode3
)) {
6253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6255 arg3
= static_cast< int >(val3
);
6257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6258 if (!SWIG_IsOK(ecode4
)) {
6259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6261 arg4
= static_cast< int >(val4
);
6264 if (!wxPyCheckForApp()) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6277 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6278 PyObject
*resultobj
= 0;
6279 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6283 PyObject
*swig_obj
[1] ;
6285 if (!args
) SWIG_fail
;
6287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6288 if (!SWIG_IsOK(res1
)) {
6289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6291 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6293 result
= (bool)(arg1
)->IsOk();
6294 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6305 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6306 PyObject
*resultobj
= 0;
6307 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6311 PyObject
*swig_obj
[1] ;
6313 if (!args
) SWIG_fail
;
6315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6316 if (!SWIG_IsOK(res1
)) {
6317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6319 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6321 result
= (int)(arg1
)->GetWidth();
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_From_int(static_cast< int >(result
));
6331 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6332 PyObject
*resultobj
= 0;
6333 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6337 PyObject
*swig_obj
[1] ;
6339 if (!args
) SWIG_fail
;
6341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6342 if (!SWIG_IsOK(res1
)) {
6343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6345 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6347 result
= (int)(arg1
)->GetHeight();
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= SWIG_From_int(static_cast< int >(result
));
6357 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6358 PyObject
*resultobj
= 0;
6359 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6363 PyObject
*swig_obj
[1] ;
6365 if (!args
) SWIG_fail
;
6367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6368 if (!SWIG_IsOK(res1
)) {
6369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6371 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6373 result
= (int)(arg1
)->GetDepth();
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_From_int(static_cast< int >(result
));
6383 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6384 PyObject
*resultobj
= 0;
6385 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6389 PyObject
*swig_obj
[1] ;
6391 if (!args
) SWIG_fail
;
6393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6394 if (!SWIG_IsOK(res1
)) {
6395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6397 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6399 result
= wxBitmap_GetSize(arg1
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6409 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6410 PyObject
*resultobj
= 0;
6411 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6412 SwigValueWrapper
<wxImage
> result
;
6415 PyObject
*swig_obj
[1] ;
6417 if (!args
) SWIG_fail
;
6419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6420 if (!SWIG_IsOK(res1
)) {
6421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6423 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6425 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6435 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6436 PyObject
*resultobj
= 0;
6437 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6438 wxMask
*result
= 0 ;
6441 PyObject
*swig_obj
[1] ;
6443 if (!args
) SWIG_fail
;
6445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6446 if (!SWIG_IsOK(res1
)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6449 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6451 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6461 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
= 0;
6463 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6464 wxMask
*arg2
= (wxMask
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6469 PyObject
* obj1
= 0 ;
6470 char * kwnames
[] = {
6471 (char *) "self",(char *) "mask", NULL
6474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6476 if (!SWIG_IsOK(res1
)) {
6477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6479 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6480 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6481 if (!SWIG_IsOK(res2
)) {
6482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6485 (arg1
)->SetMask(arg2
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 resultobj
= SWIG_Py_Void();
6495 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
= 0;
6497 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6498 wxColour
*arg2
= 0 ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6504 char * kwnames
[] = {
6505 (char *) "self",(char *) "colour", NULL
6508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6513 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6516 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6519 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_Py_Void();
6529 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
= 0;
6531 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6533 SwigValueWrapper
<wxBitmap
> result
;
6537 PyObject
* obj0
= 0 ;
6538 PyObject
* obj1
= 0 ;
6539 char * kwnames
[] = {
6540 (char *) "self",(char *) "rect", NULL
6543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6545 if (!SWIG_IsOK(res1
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6548 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6551 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6554 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6564 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
= 0;
6566 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6567 wxString
*arg2
= 0 ;
6569 wxPalette
*arg4
= (wxPalette
*) NULL
;
6573 bool temp2
= false ;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6580 PyObject
* obj2
= 0 ;
6581 PyObject
* obj3
= 0 ;
6582 char * kwnames
[] = {
6583 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6591 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6593 arg2
= wxString_in_helper(obj1
);
6594 if (arg2
== NULL
) SWIG_fail
;
6597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6598 if (!SWIG_IsOK(ecode3
)) {
6599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6601 arg3
= static_cast< wxBitmapType
>(val3
);
6603 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6604 if (!SWIG_IsOK(res4
)) {
6605 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6607 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6610 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6630 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
= 0;
6632 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6633 wxString
*arg2
= 0 ;
6638 bool temp2
= false ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 PyObject
* obj2
= 0 ;
6644 char * kwnames
[] = {
6645 (char *) "self",(char *) "name",(char *) "type", NULL
6648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) 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_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6653 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6655 arg2
= wxString_in_helper(obj1
);
6656 if (arg2
== NULL
) SWIG_fail
;
6659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6660 if (!SWIG_IsOK(ecode3
)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6663 arg3
= static_cast< wxBitmapType
>(val3
);
6665 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6685 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6686 PyObject
*resultobj
= 0;
6687 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6688 wxPalette
*result
= 0 ;
6691 PyObject
*swig_obj
[1] ;
6693 if (!args
) SWIG_fail
;
6695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6696 if (!SWIG_IsOK(res1
)) {
6697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6699 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6701 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6711 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
= 0;
6713 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6722 char * kwnames
[] = {
6723 (char *) "self",(char *) "icon", NULL
6726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6728 if (!SWIG_IsOK(res1
)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6731 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6733 if (!SWIG_IsOK(res2
)) {
6734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6739 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6741 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6753 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
= 0;
6755 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6761 PyObject
* obj0
= 0 ;
6762 PyObject
* obj1
= 0 ;
6763 char * kwnames
[] = {
6764 (char *) "self",(char *) "height", NULL
6767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6769 if (!SWIG_IsOK(res1
)) {
6770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6772 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6774 if (!SWIG_IsOK(ecode2
)) {
6775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6777 arg2
= static_cast< int >(val2
);
6779 (arg1
)->SetHeight(arg2
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= SWIG_Py_Void();
6789 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
= 0;
6791 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6799 char * kwnames
[] = {
6800 (char *) "self",(char *) "width", NULL
6803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6805 if (!SWIG_IsOK(res1
)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6808 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6810 if (!SWIG_IsOK(ecode2
)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6813 arg2
= static_cast< int >(val2
);
6815 (arg1
)->SetWidth(arg2
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_Py_Void();
6825 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
= 0;
6827 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6835 char * kwnames
[] = {
6836 (char *) "self",(char *) "depth", NULL
6839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6844 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6846 if (!SWIG_IsOK(ecode2
)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6849 arg2
= static_cast< int >(val2
);
6851 (arg1
)->SetDepth(arg2
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_Py_Void();
6861 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
= 0;
6863 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6868 PyObject
* obj0
= 0 ;
6869 PyObject
* obj1
= 0 ;
6870 char * kwnames
[] = {
6871 (char *) "self",(char *) "size", NULL
6874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6876 if (!SWIG_IsOK(res1
)) {
6877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6879 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6882 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6885 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= SWIG_Py_Void();
6895 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
= 0;
6897 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6898 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6906 char * kwnames
[] = {
6907 (char *) "self",(char *) "other", NULL
6910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6912 if (!SWIG_IsOK(res1
)) {
6913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6915 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6916 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6917 if (!SWIG_IsOK(res2
)) {
6918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6920 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6922 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6934 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
= 0;
6936 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6937 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6943 PyObject
* obj0
= 0 ;
6944 PyObject
* obj1
= 0 ;
6945 char * kwnames
[] = {
6946 (char *) "self",(char *) "other", NULL
6949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6951 if (!SWIG_IsOK(res1
)) {
6952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6954 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6956 if (!SWIG_IsOK(res2
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6959 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6961 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6973 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6976 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6977 return SWIG_Py_Void();
6980 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6981 return SWIG_Python_InitShadowInstance(args
);
6984 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
= 0;
6992 wxBitmap
*result
= 0 ;
6999 PyObject
* obj0
= 0 ;
7000 PyObject
* obj1
= 0 ;
7001 PyObject
* obj2
= 0 ;
7002 PyObject
* obj3
= 0 ;
7003 char * kwnames
[] = {
7004 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7009 if (!SWIG_IsOK(ecode1
)) {
7010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7012 arg1
= static_cast< int >(val1
);
7013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7014 if (!SWIG_IsOK(ecode2
)) {
7015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7017 arg2
= static_cast< int >(val2
);
7019 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7023 if (obj3
!= Py_None
) {
7024 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7029 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7039 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
= 0;
7045 wxBitmap
*result
= 0 ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7053 PyObject
* obj2
= 0 ;
7054 char * kwnames
[] = {
7055 (char *) "width",(char *) "height",(char *) "data", NULL
7058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7059 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7060 if (!SWIG_IsOK(ecode1
)) {
7061 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7063 arg1
= static_cast< int >(val1
);
7064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7065 if (!SWIG_IsOK(ecode2
)) {
7066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7068 arg2
= static_cast< int >(val2
);
7070 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7074 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7084 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
= 0;
7090 wxBitmap
*result
= 0 ;
7096 PyObject
* obj0
= 0 ;
7097 PyObject
* obj1
= 0 ;
7098 PyObject
* obj2
= 0 ;
7099 char * kwnames
[] = {
7100 (char *) "width",(char *) "height",(char *) "data", NULL
7103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7105 if (!SWIG_IsOK(ecode1
)) {
7106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7108 arg1
= static_cast< int >(val1
);
7109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7110 if (!SWIG_IsOK(ecode2
)) {
7111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7113 arg2
= static_cast< int >(val2
);
7115 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7119 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7129 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7130 PyObject
*resultobj
= 0;
7131 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7135 PyObject
*swig_obj
[1] ;
7137 if (!args
) SWIG_fail
;
7139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7140 if (!SWIG_IsOK(res1
)) {
7141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7143 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7145 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7155 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7156 PyObject
*resultobj
= 0;
7157 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7161 PyObject
*swig_obj
[1] ;
7163 if (!args
) SWIG_fail
;
7165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7166 if (!SWIG_IsOK(res1
)) {
7167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7169 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7171 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_From_int(static_cast< int >(result
));
7181 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7182 PyObject
*resultobj
= 0;
7183 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7187 PyObject
*swig_obj
[1] ;
7189 if (!args
) SWIG_fail
;
7191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7192 if (!SWIG_IsOK(res1
)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7195 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7197 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= SWIG_From_int(static_cast< int >(result
));
7207 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7208 PyObject
*resultobj
= 0;
7209 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7213 PyObject
*swig_obj
[1] ;
7215 if (!args
) SWIG_fail
;
7217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7218 if (!SWIG_IsOK(res1
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7221 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7223 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7233 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7234 PyObject
*resultobj
= 0;
7235 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7239 PyObject
*swig_obj
[1] ;
7241 if (!args
) SWIG_fail
;
7243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7244 if (!SWIG_IsOK(res1
)) {
7245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7247 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7249 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_From_int(static_cast< int >(result
));
7259 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7262 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7263 return SWIG_Py_Void();
7266 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7267 PyObject
*resultobj
= 0;
7268 wxBitmap
*arg1
= 0 ;
7269 wxNativePixelData
*result
= 0 ;
7273 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7275 if (!SWIG_IsOK(res1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7281 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7283 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7293 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7294 PyObject
*resultobj
= 0;
7295 wxBitmap
*arg1
= 0 ;
7297 wxNativePixelData
*result
= 0 ;
7302 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7304 if (!SWIG_IsOK(res1
)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7310 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7313 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7316 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7326 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7327 PyObject
*resultobj
= 0;
7328 wxBitmap
*arg1
= 0 ;
7331 wxNativePixelData
*result
= 0 ;
7337 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7339 if (!SWIG_IsOK(res1
)) {
7340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7345 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7348 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7352 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7355 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7365 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7369 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7372 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7375 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7378 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7382 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7387 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7388 PyObject
*resultobj
= 0;
7389 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7392 PyObject
*swig_obj
[1] ;
7394 if (!args
) SWIG_fail
;
7396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7397 if (!SWIG_IsOK(res1
)) {
7398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7400 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 resultobj
= SWIG_Py_Void();
7413 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7414 PyObject
*resultobj
= 0;
7415 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7416 wxNativePixelData_Accessor result
;
7419 PyObject
*swig_obj
[1] ;
7421 if (!args
) SWIG_fail
;
7423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7424 if (!SWIG_IsOK(res1
)) {
7425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7427 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7429 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7439 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7440 PyObject
*resultobj
= 0;
7441 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7444 PyObject
*swig_obj
[1] ;
7446 if (!args
) SWIG_fail
;
7448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7449 if (!SWIG_IsOK(res1
)) {
7450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7452 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= SWIG_Py_Void();
7464 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7465 PyObject
*resultobj
= 0;
7466 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7470 PyObject
*swig_obj
[1] ;
7472 if (!args
) SWIG_fail
;
7474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7475 if (!SWIG_IsOK(res1
)) {
7476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7478 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7480 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7492 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7495 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7496 return SWIG_Py_Void();
7499 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7500 return SWIG_Python_InitShadowInstance(args
);
7503 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7504 PyObject
*resultobj
= 0;
7505 wxNativePixelData
*arg1
= 0 ;
7506 wxNativePixelData_Accessor
*result
= 0 ;
7510 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7512 if (!SWIG_IsOK(res1
)) {
7513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7518 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7520 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7530 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7531 PyObject
*resultobj
= 0;
7532 wxBitmap
*arg1
= 0 ;
7533 wxNativePixelData
*arg2
= 0 ;
7534 wxNativePixelData_Accessor
*result
= 0 ;
7540 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7542 if (!SWIG_IsOK(res1
)) {
7543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7548 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7549 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7550 if (!SWIG_IsOK(res2
)) {
7551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7556 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7558 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7568 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7569 PyObject
*resultobj
= 0;
7570 wxNativePixelData_Accessor
*result
= 0 ;
7572 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7574 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7584 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7588 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7591 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7594 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7597 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7601 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7606 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7607 PyObject
*resultobj
= 0;
7608 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7611 PyObject
*swig_obj
[1] ;
7613 if (!args
) SWIG_fail
;
7615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7616 if (!SWIG_IsOK(res1
)) {
7617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7619 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_Py_Void();
7632 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
= 0;
7634 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7635 wxNativePixelData
*arg2
= 0 ;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7642 char * kwnames
[] = {
7643 (char *) "self",(char *) "data", NULL
7646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7648 if (!SWIG_IsOK(res1
)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7651 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7653 if (!SWIG_IsOK(res2
)) {
7654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7659 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7661 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= SWIG_Py_Void();
7671 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7672 PyObject
*resultobj
= 0;
7673 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7677 PyObject
*swig_obj
[1] ;
7679 if (!args
) SWIG_fail
;
7681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7682 if (!SWIG_IsOK(res1
)) {
7683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7685 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7687 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7688 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7699 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7700 PyObject
*resultobj
= 0;
7701 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7704 PyObject
*swig_obj
[1] ;
7706 if (!args
) SWIG_fail
;
7708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7709 if (!SWIG_IsOK(res1
)) {
7710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7712 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7714 wxNativePixelData_Accessor_nextPixel(arg1
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= SWIG_Py_Void();
7724 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
= 0;
7726 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7727 wxNativePixelData
*arg2
= 0 ;
7738 PyObject
* obj0
= 0 ;
7739 PyObject
* obj1
= 0 ;
7740 PyObject
* obj2
= 0 ;
7741 PyObject
* obj3
= 0 ;
7742 char * kwnames
[] = {
7743 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7748 if (!SWIG_IsOK(res1
)) {
7749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7751 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7753 if (!SWIG_IsOK(res2
)) {
7754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7759 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7761 if (!SWIG_IsOK(ecode3
)) {
7762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7764 arg3
= static_cast< int >(val3
);
7765 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7766 if (!SWIG_IsOK(ecode4
)) {
7767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7769 arg4
= static_cast< int >(val4
);
7771 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_Py_Void();
7781 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
= 0;
7783 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7784 wxNativePixelData
*arg2
= 0 ;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7794 PyObject
* obj2
= 0 ;
7795 char * kwnames
[] = {
7796 (char *) "self",(char *) "data",(char *) "x", NULL
7799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7801 if (!SWIG_IsOK(res1
)) {
7802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7804 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7805 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7806 if (!SWIG_IsOK(res2
)) {
7807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7812 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7814 if (!SWIG_IsOK(ecode3
)) {
7815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7817 arg3
= static_cast< int >(val3
);
7819 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= SWIG_Py_Void();
7829 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
= 0;
7831 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7832 wxNativePixelData
*arg2
= 0 ;
7840 PyObject
* obj0
= 0 ;
7841 PyObject
* obj1
= 0 ;
7842 PyObject
* obj2
= 0 ;
7843 char * kwnames
[] = {
7844 (char *) "self",(char *) "data",(char *) "y", NULL
7847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7849 if (!SWIG_IsOK(res1
)) {
7850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7852 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7854 if (!SWIG_IsOK(res2
)) {
7855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7860 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7862 if (!SWIG_IsOK(ecode3
)) {
7863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7865 arg3
= static_cast< int >(val3
);
7867 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_Py_Void();
7877 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
= 0;
7879 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7880 wxNativePixelData
*arg2
= 0 ;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7893 PyObject
* obj2
= 0 ;
7894 PyObject
* obj3
= 0 ;
7895 char * kwnames
[] = {
7896 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7901 if (!SWIG_IsOK(res1
)) {
7902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7904 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7906 if (!SWIG_IsOK(res2
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7912 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7914 if (!SWIG_IsOK(ecode3
)) {
7915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7917 arg3
= static_cast< int >(val3
);
7918 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7919 if (!SWIG_IsOK(ecode4
)) {
7920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7922 arg4
= static_cast< int >(val4
);
7924 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_Py_Void();
7934 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
= 0;
7936 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7942 unsigned char val2
;
7944 unsigned char val3
;
7946 unsigned char val4
;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7951 PyObject
* obj3
= 0 ;
7952 char * kwnames
[] = {
7953 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7958 if (!SWIG_IsOK(res1
)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7961 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7962 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7963 if (!SWIG_IsOK(ecode2
)) {
7964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7966 arg2
= static_cast< byte
>(val2
);
7967 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7968 if (!SWIG_IsOK(ecode3
)) {
7969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7971 arg3
= static_cast< byte
>(val3
);
7972 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7973 if (!SWIG_IsOK(ecode4
)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7976 arg4
= static_cast< byte
>(val4
);
7978 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= SWIG_Py_Void();
7988 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7989 PyObject
*resultobj
= 0;
7990 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7991 PyObject
*result
= 0 ;
7994 PyObject
*swig_obj
[1] ;
7996 if (!args
) SWIG_fail
;
7998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7999 if (!SWIG_IsOK(res1
)) {
8000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8002 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8004 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8014 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8017 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8018 return SWIG_Py_Void();
8021 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8022 return SWIG_Python_InitShadowInstance(args
);
8025 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8026 PyObject
*resultobj
= 0;
8027 wxBitmap
*arg1
= 0 ;
8028 wxAlphaPixelData
*result
= 0 ;
8032 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8034 if (!SWIG_IsOK(res1
)) {
8035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8040 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8042 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8052 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8053 PyObject
*resultobj
= 0;
8054 wxBitmap
*arg1
= 0 ;
8056 wxAlphaPixelData
*result
= 0 ;
8061 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8063 if (!SWIG_IsOK(res1
)) {
8064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8069 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8072 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8075 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8085 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8086 PyObject
*resultobj
= 0;
8087 wxBitmap
*arg1
= 0 ;
8090 wxAlphaPixelData
*result
= 0 ;
8096 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8098 if (!SWIG_IsOK(res1
)) {
8099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8104 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8107 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8111 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8114 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8124 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8128 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8131 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8134 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8137 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8141 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8146 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8147 PyObject
*resultobj
= 0;
8148 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8151 PyObject
*swig_obj
[1] ;
8153 if (!args
) SWIG_fail
;
8155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8156 if (!SWIG_IsOK(res1
)) {
8157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8159 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_Py_Void();
8172 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8173 PyObject
*resultobj
= 0;
8174 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8175 wxAlphaPixelData_Accessor result
;
8178 PyObject
*swig_obj
[1] ;
8180 if (!args
) SWIG_fail
;
8182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8183 if (!SWIG_IsOK(res1
)) {
8184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8186 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8188 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8198 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8199 PyObject
*resultobj
= 0;
8200 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8203 PyObject
*swig_obj
[1] ;
8205 if (!args
) SWIG_fail
;
8207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8208 if (!SWIG_IsOK(res1
)) {
8209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8211 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= SWIG_Py_Void();
8223 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8224 PyObject
*resultobj
= 0;
8225 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8229 PyObject
*swig_obj
[1] ;
8231 if (!args
) SWIG_fail
;
8233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8234 if (!SWIG_IsOK(res1
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8237 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8239 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8251 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8254 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8255 return SWIG_Py_Void();
8258 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8259 return SWIG_Python_InitShadowInstance(args
);
8262 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8263 PyObject
*resultobj
= 0;
8264 wxAlphaPixelData
*arg1
= 0 ;
8265 wxAlphaPixelData_Accessor
*result
= 0 ;
8269 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8271 if (!SWIG_IsOK(res1
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8277 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8279 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8289 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8290 PyObject
*resultobj
= 0;
8291 wxBitmap
*arg1
= 0 ;
8292 wxAlphaPixelData
*arg2
= 0 ;
8293 wxAlphaPixelData_Accessor
*result
= 0 ;
8299 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8301 if (!SWIG_IsOK(res1
)) {
8302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8307 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8308 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8309 if (!SWIG_IsOK(res2
)) {
8310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8315 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8317 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8327 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8328 PyObject
*resultobj
= 0;
8329 wxAlphaPixelData_Accessor
*result
= 0 ;
8331 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8333 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8343 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8347 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8350 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8353 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8356 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8360 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8365 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 PyObject
*resultobj
= 0;
8367 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8370 PyObject
*swig_obj
[1] ;
8372 if (!args
) SWIG_fail
;
8374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8375 if (!SWIG_IsOK(res1
)) {
8376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8378 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= SWIG_Py_Void();
8391 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
= 0;
8393 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8394 wxAlphaPixelData
*arg2
= 0 ;
8399 PyObject
* obj0
= 0 ;
8400 PyObject
* obj1
= 0 ;
8401 char * kwnames
[] = {
8402 (char *) "self",(char *) "data", NULL
8405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8407 if (!SWIG_IsOK(res1
)) {
8408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8410 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8412 if (!SWIG_IsOK(res2
)) {
8413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8418 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8420 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= SWIG_Py_Void();
8430 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8431 PyObject
*resultobj
= 0;
8432 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8436 PyObject
*swig_obj
[1] ;
8438 if (!args
) SWIG_fail
;
8440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8441 if (!SWIG_IsOK(res1
)) {
8442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8444 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8446 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8447 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8458 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8459 PyObject
*resultobj
= 0;
8460 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8463 PyObject
*swig_obj
[1] ;
8465 if (!args
) SWIG_fail
;
8467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8468 if (!SWIG_IsOK(res1
)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8471 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8473 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= SWIG_Py_Void();
8483 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
= 0;
8485 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8486 wxAlphaPixelData
*arg2
= 0 ;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8499 PyObject
* obj2
= 0 ;
8500 PyObject
* obj3
= 0 ;
8501 char * kwnames
[] = {
8502 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8507 if (!SWIG_IsOK(res1
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8510 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8512 if (!SWIG_IsOK(res2
)) {
8513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8518 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8520 if (!SWIG_IsOK(ecode3
)) {
8521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8523 arg3
= static_cast< int >(val3
);
8524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8525 if (!SWIG_IsOK(ecode4
)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8528 arg4
= static_cast< int >(val4
);
8530 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= SWIG_Py_Void();
8540 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
= 0;
8542 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8543 wxAlphaPixelData
*arg2
= 0 ;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8553 PyObject
* obj2
= 0 ;
8554 char * kwnames
[] = {
8555 (char *) "self",(char *) "data",(char *) "x", NULL
8558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8560 if (!SWIG_IsOK(res1
)) {
8561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8563 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8565 if (!SWIG_IsOK(res2
)) {
8566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8571 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8573 if (!SWIG_IsOK(ecode3
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8576 arg3
= static_cast< int >(val3
);
8578 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_Py_Void();
8588 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
= 0;
8590 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8591 wxAlphaPixelData
*arg2
= 0 ;
8599 PyObject
* obj0
= 0 ;
8600 PyObject
* obj1
= 0 ;
8601 PyObject
* obj2
= 0 ;
8602 char * kwnames
[] = {
8603 (char *) "self",(char *) "data",(char *) "y", NULL
8606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8608 if (!SWIG_IsOK(res1
)) {
8609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8611 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8613 if (!SWIG_IsOK(res2
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8619 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8621 if (!SWIG_IsOK(ecode3
)) {
8622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8624 arg3
= static_cast< int >(val3
);
8626 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= SWIG_Py_Void();
8636 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
= 0;
8638 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8639 wxAlphaPixelData
*arg2
= 0 ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8652 PyObject
* obj2
= 0 ;
8653 PyObject
* obj3
= 0 ;
8654 char * kwnames
[] = {
8655 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8660 if (!SWIG_IsOK(res1
)) {
8661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8663 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8665 if (!SWIG_IsOK(res2
)) {
8666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8671 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8673 if (!SWIG_IsOK(ecode3
)) {
8674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8676 arg3
= static_cast< int >(val3
);
8677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8678 if (!SWIG_IsOK(ecode4
)) {
8679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8681 arg4
= static_cast< int >(val4
);
8683 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_Py_Void();
8693 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
= 0;
8695 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8702 unsigned char val2
;
8704 unsigned char val3
;
8706 unsigned char val4
;
8708 unsigned char val5
;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8712 PyObject
* obj2
= 0 ;
8713 PyObject
* obj3
= 0 ;
8714 PyObject
* obj4
= 0 ;
8715 char * kwnames
[] = {
8716 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8721 if (!SWIG_IsOK(res1
)) {
8722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8724 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8725 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8726 if (!SWIG_IsOK(ecode2
)) {
8727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8729 arg2
= static_cast< byte
>(val2
);
8730 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8731 if (!SWIG_IsOK(ecode3
)) {
8732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8734 arg3
= static_cast< byte
>(val3
);
8735 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8736 if (!SWIG_IsOK(ecode4
)) {
8737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8739 arg4
= static_cast< byte
>(val4
);
8740 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8741 if (!SWIG_IsOK(ecode5
)) {
8742 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8744 arg5
= static_cast< byte
>(val5
);
8746 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= SWIG_Py_Void();
8756 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8757 PyObject
*resultobj
= 0;
8758 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8759 PyObject
*result
= 0 ;
8762 PyObject
*swig_obj
[1] ;
8764 if (!args
) SWIG_fail
;
8766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8767 if (!SWIG_IsOK(res1
)) {
8768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8770 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8772 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8782 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8785 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8786 return SWIG_Py_Void();
8789 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8790 return SWIG_Python_InitShadowInstance(args
);
8793 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
= 0;
8795 wxBitmap
*arg1
= 0 ;
8796 wxColour
const &arg2_defvalue
= wxNullColour
;
8797 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8798 wxMask
*result
= 0 ;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8804 char * kwnames
[] = {
8805 (char *) "bitmap",(char *) "colour", NULL
8808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8809 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8810 if (!SWIG_IsOK(res1
)) {
8811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8816 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8824 if (!wxPyCheckForApp()) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8837 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8838 PyObject
*resultobj
= 0;
8839 wxMask
*arg1
= (wxMask
*) 0 ;
8842 PyObject
*swig_obj
[1] ;
8844 if (!args
) SWIG_fail
;
8846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8847 if (!SWIG_IsOK(res1
)) {
8848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8850 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_Py_Void();
8863 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8866 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8867 return SWIG_Py_Void();
8870 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8871 return SWIG_Python_InitShadowInstance(args
);
8874 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
= 0;
8876 wxString
*arg1
= 0 ;
8878 int arg3
= (int) -1 ;
8879 int arg4
= (int) -1 ;
8880 wxIcon
*result
= 0 ;
8881 bool temp1
= false ;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8890 PyObject
* obj2
= 0 ;
8891 PyObject
* obj3
= 0 ;
8892 char * kwnames
[] = {
8893 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8898 arg1
= wxString_in_helper(obj0
);
8899 if (arg1
== NULL
) SWIG_fail
;
8902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8903 if (!SWIG_IsOK(ecode2
)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8906 arg2
= static_cast< wxBitmapType
>(val2
);
8908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8909 if (!SWIG_IsOK(ecode3
)) {
8910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8912 arg3
= static_cast< int >(val3
);
8915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8916 if (!SWIG_IsOK(ecode4
)) {
8917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8919 arg4
= static_cast< int >(val4
);
8922 if (!wxPyCheckForApp()) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8943 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8944 PyObject
*resultobj
= 0;
8945 wxIcon
*arg1
= (wxIcon
*) 0 ;
8948 PyObject
*swig_obj
[1] ;
8950 if (!args
) SWIG_fail
;
8952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8953 if (!SWIG_IsOK(res1
)) {
8954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8956 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= SWIG_Py_Void();
8971 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8972 PyObject
*resultobj
= 0;
8973 wxIcon
*result
= 0 ;
8975 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8977 if (!wxPyCheckForApp()) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (wxIcon
*)new wxIcon();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8990 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
= 0;
8992 wxIconLocation
*arg1
= 0 ;
8993 wxIcon
*result
= 0 ;
8996 PyObject
* obj0
= 0 ;
8997 char * kwnames
[] = {
8998 (char *) "loc", NULL
9001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9002 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9003 if (!SWIG_IsOK(res1
)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9009 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9011 if (!wxPyCheckForApp()) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9024 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
= 0;
9026 wxBitmap
*arg1
= 0 ;
9027 wxIcon
*result
= 0 ;
9030 PyObject
* obj0
= 0 ;
9031 char * kwnames
[] = {
9032 (char *) "bmp", NULL
9035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9036 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9037 if (!SWIG_IsOK(res1
)) {
9038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9043 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9045 if (!wxPyCheckForApp()) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9058 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
= 0;
9060 PyObject
*arg1
= (PyObject
*) 0 ;
9061 wxIcon
*result
= 0 ;
9062 PyObject
* obj0
= 0 ;
9063 char * kwnames
[] = {
9064 (char *) "listOfStrings", NULL
9067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9070 if (!wxPyCheckForApp()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (wxIcon
*)new_wxIcon(arg1
);
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9083 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
= 0;
9085 wxIcon
*arg1
= (wxIcon
*) 0 ;
9086 wxString
*arg2
= 0 ;
9091 bool temp2
= false ;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9096 PyObject
* obj2
= 0 ;
9097 char * kwnames
[] = {
9098 (char *) "self",(char *) "name",(char *) "type", NULL
9101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9103 if (!SWIG_IsOK(res1
)) {
9104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9106 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9108 arg2
= wxString_in_helper(obj1
);
9109 if (arg2
== NULL
) SWIG_fail
;
9112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9113 if (!SWIG_IsOK(ecode3
)) {
9114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9116 arg3
= static_cast< wxBitmapType
>(val3
);
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9140 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9141 PyObject
*resultobj
= 0;
9142 wxIcon
*arg1
= (wxIcon
*) 0 ;
9146 PyObject
*swig_obj
[1] ;
9148 if (!args
) SWIG_fail
;
9150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9151 if (!SWIG_IsOK(res1
)) {
9152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9154 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (bool)(arg1
)->IsOk();
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9170 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9171 PyObject
*resultobj
= 0;
9172 wxIcon
*arg1
= (wxIcon
*) 0 ;
9176 PyObject
*swig_obj
[1] ;
9178 if (!args
) SWIG_fail
;
9180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9181 if (!SWIG_IsOK(res1
)) {
9182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9184 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (int)(arg1
)->GetWidth();
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_From_int(static_cast< int >(result
));
9198 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9199 PyObject
*resultobj
= 0;
9200 wxIcon
*arg1
= (wxIcon
*) 0 ;
9204 PyObject
*swig_obj
[1] ;
9206 if (!args
) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9212 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (int)(arg1
)->GetHeight();
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_From_int(static_cast< int >(result
));
9226 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9227 PyObject
*resultobj
= 0;
9228 wxIcon
*arg1
= (wxIcon
*) 0 ;
9232 PyObject
*swig_obj
[1] ;
9234 if (!args
) SWIG_fail
;
9236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9237 if (!SWIG_IsOK(res1
)) {
9238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9240 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (int)(arg1
)->GetDepth();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_From_int(static_cast< int >(result
));
9254 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
= 0;
9256 wxIcon
*arg1
= (wxIcon
*) 0 ;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 char * kwnames
[] = {
9265 (char *) "self",(char *) "w", NULL
9268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9273 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9275 if (!SWIG_IsOK(ecode2
)) {
9276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9278 arg2
= static_cast< int >(val2
);
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 (arg1
)->SetWidth(arg2
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_Py_Void();
9292 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
= 0;
9294 wxIcon
*arg1
= (wxIcon
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9302 char * kwnames
[] = {
9303 (char *) "self",(char *) "h", NULL
9306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9311 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9313 if (!SWIG_IsOK(ecode2
)) {
9314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9316 arg2
= static_cast< int >(val2
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 (arg1
)->SetHeight(arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_Py_Void();
9330 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
= 0;
9332 wxIcon
*arg1
= (wxIcon
*) 0 ;
9338 PyObject
* obj0
= 0 ;
9339 PyObject
* obj1
= 0 ;
9340 char * kwnames
[] = {
9341 (char *) "self",(char *) "d", NULL
9344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9346 if (!SWIG_IsOK(res1
)) {
9347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9349 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9351 if (!SWIG_IsOK(ecode2
)) {
9352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9354 arg2
= static_cast< int >(val2
);
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 (arg1
)->SetDepth(arg2
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= SWIG_Py_Void();
9368 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
= 0;
9370 wxIcon
*arg1
= (wxIcon
*) 0 ;
9371 wxBitmap
*arg2
= 0 ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 char * kwnames
[] = {
9379 (char *) "self",(char *) "bmp", NULL
9382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9384 if (!SWIG_IsOK(res1
)) {
9385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9387 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9388 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9389 if (!SWIG_IsOK(res2
)) {
9390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9395 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= SWIG_Py_Void();
9409 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9412 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9413 return SWIG_Py_Void();
9416 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9417 return SWIG_Python_InitShadowInstance(args
);
9420 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
= 0;
9422 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9423 int arg2
= (int) 0 ;
9424 wxIconLocation
*result
= 0 ;
9425 bool temp1
= false ;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9430 char * kwnames
[] = {
9431 (char *) "filename",(char *) "num", NULL
9434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9437 arg1
= wxString_in_helper(obj0
);
9438 if (arg1
== NULL
) SWIG_fail
;
9443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9444 if (!SWIG_IsOK(ecode2
)) {
9445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9447 arg2
= static_cast< int >(val2
);
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9470 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9471 PyObject
*resultobj
= 0;
9472 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9475 PyObject
*swig_obj
[1] ;
9477 if (!args
) SWIG_fail
;
9479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9480 if (!SWIG_IsOK(res1
)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9483 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_Py_Void();
9498 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9499 PyObject
*resultobj
= 0;
9500 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9504 PyObject
*swig_obj
[1] ;
9506 if (!args
) SWIG_fail
;
9508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9509 if (!SWIG_IsOK(res1
)) {
9510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9512 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9528 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
= 0;
9530 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9531 wxString
*arg2
= 0 ;
9534 bool temp2
= false ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9537 char * kwnames
[] = {
9538 (char *) "self",(char *) "filename", NULL
9541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9543 if (!SWIG_IsOK(res1
)) {
9544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9546 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9548 arg2
= wxString_in_helper(obj1
);
9549 if (arg2
== NULL
) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 (arg1
)->SetFileName((wxString
const &)*arg2
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_Py_Void();
9573 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9574 PyObject
*resultobj
= 0;
9575 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9576 wxString
*result
= 0 ;
9579 PyObject
*swig_obj
[1] ;
9581 if (!args
) SWIG_fail
;
9583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9584 if (!SWIG_IsOK(res1
)) {
9585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9587 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9592 result
= (wxString
*) &_result_ref
;
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9601 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9610 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
= 0;
9612 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9618 PyObject
* obj0
= 0 ;
9619 PyObject
* obj1
= 0 ;
9620 char * kwnames
[] = {
9621 (char *) "self",(char *) "num", NULL
9624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9626 if (!SWIG_IsOK(res1
)) {
9627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9629 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9631 if (!SWIG_IsOK(ecode2
)) {
9632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9634 arg2
= static_cast< int >(val2
);
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 wxIconLocation_SetIndex(arg1
,arg2
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= SWIG_Py_Void();
9648 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9649 PyObject
*resultobj
= 0;
9650 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9654 PyObject
*swig_obj
[1] ;
9656 if (!args
) SWIG_fail
;
9658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9659 if (!SWIG_IsOK(res1
)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9662 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (int)wxIconLocation_GetIndex(arg1
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= SWIG_From_int(static_cast< int >(result
));
9676 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9679 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9680 return SWIG_Py_Void();
9683 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9684 return SWIG_Python_InitShadowInstance(args
);
9687 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9688 PyObject
*resultobj
= 0;
9689 wxIconBundle
*result
= 0 ;
9691 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (wxIconBundle
*)new wxIconBundle();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9705 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= 0;
9707 wxString
*arg1
= 0 ;
9709 wxIconBundle
*result
= 0 ;
9710 bool temp1
= false ;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9715 char * kwnames
[] = {
9716 (char *) "file",(char *) "type", NULL
9719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9721 arg1
= wxString_in_helper(obj0
);
9722 if (arg1
== NULL
) SWIG_fail
;
9725 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9726 if (!SWIG_IsOK(ecode2
)) {
9727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9729 arg2
= static_cast< long >(val2
);
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9751 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
= 0;
9754 wxIconBundle
*result
= 0 ;
9757 PyObject
* obj0
= 0 ;
9758 char * kwnames
[] = {
9759 (char *) "icon", NULL
9762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9763 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9764 if (!SWIG_IsOK(res1
)) {
9765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9770 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9784 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9785 PyObject
*resultobj
= 0;
9786 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9789 PyObject
*swig_obj
[1] ;
9791 if (!args
) SWIG_fail
;
9793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9794 if (!SWIG_IsOK(res1
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9797 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_Py_Void();
9812 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
= 0;
9814 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9822 char * kwnames
[] = {
9823 (char *) "self",(char *) "icon", NULL
9826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9828 if (!SWIG_IsOK(res1
)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9831 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9832 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9833 if (!SWIG_IsOK(res2
)) {
9834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9839 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9846 resultobj
= SWIG_Py_Void();
9853 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
= 0;
9855 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9856 wxString
*arg2
= 0 ;
9860 bool temp2
= false ;
9863 PyObject
* obj0
= 0 ;
9864 PyObject
* obj1
= 0 ;
9865 PyObject
* obj2
= 0 ;
9866 char * kwnames
[] = {
9867 (char *) "self",(char *) "file",(char *) "type", NULL
9870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9872 if (!SWIG_IsOK(res1
)) {
9873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9875 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9877 arg2
= wxString_in_helper(obj1
);
9878 if (arg2
== NULL
) SWIG_fail
;
9881 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9882 if (!SWIG_IsOK(ecode3
)) {
9883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9885 arg3
= static_cast< long >(val3
);
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_Py_Void();
9907 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9909 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9911 wxIcon
*result
= 0 ;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9917 char * kwnames
[] = {
9918 (char *) "self",(char *) "size", NULL
9921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9923 if (!SWIG_IsOK(res1
)) {
9924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9926 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9929 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9935 result
= (wxIcon
*) &_result_ref
;
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9941 wxIcon
* resultptr
= new wxIcon(*result
);
9942 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9950 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9953 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9954 return SWIG_Py_Void();
9957 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9958 return SWIG_Python_InitShadowInstance(args
);
9961 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
= 0;
9963 wxString
*arg1
= 0 ;
9965 int arg3
= (int) 0 ;
9966 int arg4
= (int) 0 ;
9967 wxCursor
*result
= 0 ;
9968 bool temp1
= false ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9977 PyObject
* obj2
= 0 ;
9978 PyObject
* obj3
= 0 ;
9979 char * kwnames
[] = {
9980 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9985 arg1
= wxString_in_helper(obj0
);
9986 if (arg1
== NULL
) SWIG_fail
;
9989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9990 if (!SWIG_IsOK(ecode2
)) {
9991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9993 arg2
= static_cast< long >(val2
);
9995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9996 if (!SWIG_IsOK(ecode3
)) {
9997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9999 arg3
= static_cast< int >(val3
);
10002 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10003 if (!SWIG_IsOK(ecode4
)) {
10004 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10006 arg4
= static_cast< int >(val4
);
10009 if (!wxPyCheckForApp()) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10030 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10031 PyObject
*resultobj
= 0;
10032 wxCursor
*arg1
= (wxCursor
*) 0 ;
10035 PyObject
*swig_obj
[1] ;
10037 if (!args
) SWIG_fail
;
10038 swig_obj
[0] = args
;
10039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10040 if (!SWIG_IsOK(res1
)) {
10041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10043 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= SWIG_Py_Void();
10058 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
= 0;
10061 wxCursor
*result
= 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char * kwnames
[] = {
10066 (char *) "id", NULL
10069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10070 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10071 if (!SWIG_IsOK(ecode1
)) {
10072 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10074 arg1
= static_cast< int >(val1
);
10076 if (!wxPyCheckForApp()) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (wxCursor
*)new wxCursor(arg1
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10089 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
= 0;
10091 wxImage
*arg1
= 0 ;
10092 wxCursor
*result
= 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char * kwnames
[] = {
10097 (char *) "image", NULL
10100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10101 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10102 if (!SWIG_IsOK(res1
)) {
10103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10108 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10110 if (!wxPyCheckForApp()) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10123 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10124 PyObject
*resultobj
= 0;
10125 wxCursor
*arg1
= (wxCursor
*) 0 ;
10129 PyObject
*swig_obj
[1] ;
10131 if (!args
) SWIG_fail
;
10132 swig_obj
[0] = args
;
10133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10134 if (!SWIG_IsOK(res1
)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10137 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (bool)(arg1
)->IsOk();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10153 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10156 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10157 return SWIG_Py_Void();
10160 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10161 return SWIG_Python_InitShadowInstance(args
);
10164 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
= 0;
10166 int arg1
= (int) 0 ;
10167 int arg2
= (int) 0 ;
10168 int arg3
= (int) 0 ;
10169 int arg4
= (int) 0 ;
10170 wxRegion
*result
= 0 ;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 PyObject
* obj2
= 0 ;
10182 PyObject
* obj3
= 0 ;
10183 char * kwnames
[] = {
10184 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10190 if (!SWIG_IsOK(ecode1
)) {
10191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10193 arg1
= static_cast< int >(val1
);
10196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10197 if (!SWIG_IsOK(ecode2
)) {
10198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10200 arg2
= static_cast< int >(val2
);
10203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10204 if (!SWIG_IsOK(ecode3
)) {
10205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10207 arg3
= static_cast< int >(val3
);
10210 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10211 if (!SWIG_IsOK(ecode4
)) {
10212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10214 arg4
= static_cast< int >(val4
);
10217 if (!wxPyCheckForApp()) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10230 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
= 0;
10232 wxBitmap
*arg1
= 0 ;
10233 wxRegion
*result
= 0 ;
10236 PyObject
* obj0
= 0 ;
10237 char * kwnames
[] = {
10238 (char *) "bmp", NULL
10241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10242 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10243 if (!SWIG_IsOK(res1
)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10249 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10251 if (!wxPyCheckForApp()) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10264 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
= 0;
10266 wxBitmap
*arg1
= 0 ;
10267 wxColour
*arg2
= 0 ;
10268 int arg3
= (int) 0 ;
10269 wxRegion
*result
= 0 ;
10275 PyObject
* obj0
= 0 ;
10276 PyObject
* obj1
= 0 ;
10277 PyObject
* obj2
= 0 ;
10278 char * kwnames
[] = {
10279 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10283 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10284 if (!SWIG_IsOK(res1
)) {
10285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10290 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10293 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10297 if (!SWIG_IsOK(ecode3
)) {
10298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10300 arg3
= static_cast< int >(val3
);
10303 if (!wxPyCheckForApp()) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10316 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
= 0;
10319 wxPoint
*arg2
= (wxPoint
*) 0 ;
10320 int arg3
= (int) wxWINDING_RULE
;
10321 wxRegion
*result
= 0 ;
10324 PyObject
* obj0
= 0 ;
10325 PyObject
* obj1
= 0 ;
10326 char * kwnames
[] = {
10327 (char *) "points",(char *) "fillStyle", NULL
10330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10332 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10333 if (arg2
== NULL
) SWIG_fail
;
10336 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10337 if (!SWIG_IsOK(ecode3
)) {
10338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10340 arg3
= static_cast< int >(val3
);
10343 if (!wxPyCheckForApp()) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10351 if (arg2
) delete [] arg2
;
10356 if (arg2
) delete [] arg2
;
10362 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10363 PyObject
*resultobj
= 0;
10364 wxRegion
*arg1
= (wxRegion
*) 0 ;
10367 PyObject
*swig_obj
[1] ;
10369 if (!args
) SWIG_fail
;
10370 swig_obj
[0] = args
;
10371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10372 if (!SWIG_IsOK(res1
)) {
10373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10375 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 resultobj
= SWIG_Py_Void();
10390 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10391 PyObject
*resultobj
= 0;
10392 wxRegion
*arg1
= (wxRegion
*) 0 ;
10395 PyObject
*swig_obj
[1] ;
10397 if (!args
) SWIG_fail
;
10398 swig_obj
[0] = args
;
10399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10400 if (!SWIG_IsOK(res1
)) {
10401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10403 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_Py_Void();
10417 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
= 0;
10419 wxRegion
*arg1
= (wxRegion
*) 0 ;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 PyObject
* obj2
= 0 ;
10432 char * kwnames
[] = {
10433 (char *) "self",(char *) "x",(char *) "y", NULL
10436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10438 if (!SWIG_IsOK(res1
)) {
10439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10441 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10443 if (!SWIG_IsOK(ecode2
)) {
10444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10446 arg2
= static_cast< int >(val2
);
10447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10448 if (!SWIG_IsOK(ecode3
)) {
10449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10451 arg3
= static_cast< int >(val3
);
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10467 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
= 0;
10469 wxRegion
*arg1
= (wxRegion
*) 0 ;
10472 wxRegionContain result
;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 PyObject
* obj2
= 0 ;
10482 char * kwnames
[] = {
10483 (char *) "self",(char *) "x",(char *) "y", NULL
10486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10488 if (!SWIG_IsOK(res1
)) {
10489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10491 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10493 if (!SWIG_IsOK(ecode2
)) {
10494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10496 arg2
= static_cast< int >(val2
);
10497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10498 if (!SWIG_IsOK(ecode3
)) {
10499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10501 arg3
= static_cast< int >(val3
);
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_From_int(static_cast< int >(result
));
10515 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
= 0;
10517 wxRegion
*arg1
= (wxRegion
*) 0 ;
10518 wxPoint
*arg2
= 0 ;
10519 wxRegionContain result
;
10523 PyObject
* obj0
= 0 ;
10524 PyObject
* obj1
= 0 ;
10525 char * kwnames
[] = {
10526 (char *) "self",(char *) "pt", NULL
10529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10531 if (!SWIG_IsOK(res1
)) {
10532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10534 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= SWIG_From_int(static_cast< int >(result
));
10552 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
= 0;
10554 wxRegion
*arg1
= (wxRegion
*) 0 ;
10556 wxRegionContain result
;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 char * kwnames
[] = {
10563 (char *) "self",(char *) "rect", NULL
10566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10568 if (!SWIG_IsOK(res1
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10571 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10574 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_From_int(static_cast< int >(result
));
10589 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
= 0;
10591 wxRegion
*arg1
= (wxRegion
*) 0 ;
10596 wxRegionContain result
;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 PyObject
* obj2
= 0 ;
10610 PyObject
* obj3
= 0 ;
10611 PyObject
* obj4
= 0 ;
10612 char * kwnames
[] = {
10613 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10618 if (!SWIG_IsOK(res1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10621 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10623 if (!SWIG_IsOK(ecode2
)) {
10624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10626 arg2
= static_cast< int >(val2
);
10627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10628 if (!SWIG_IsOK(ecode3
)) {
10629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10631 arg3
= static_cast< int >(val3
);
10632 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10633 if (!SWIG_IsOK(ecode4
)) {
10634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10636 arg4
= static_cast< int >(val4
);
10637 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10638 if (!SWIG_IsOK(ecode5
)) {
10639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10641 arg5
= static_cast< int >(val5
);
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= SWIG_From_int(static_cast< int >(result
));
10655 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10656 PyObject
*resultobj
= 0;
10657 wxRegion
*arg1
= (wxRegion
*) 0 ;
10661 PyObject
*swig_obj
[1] ;
10663 if (!args
) SWIG_fail
;
10664 swig_obj
[0] = args
;
10665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10666 if (!SWIG_IsOK(res1
)) {
10667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10669 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (arg1
)->GetBox();
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10683 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
= 0;
10685 wxRegion
*arg1
= (wxRegion
*) 0 ;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 PyObject
* obj3
= 0 ;
10705 PyObject
* obj4
= 0 ;
10706 char * kwnames
[] = {
10707 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10712 if (!SWIG_IsOK(res1
)) {
10713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10715 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10717 if (!SWIG_IsOK(ecode2
)) {
10718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10720 arg2
= static_cast< int >(val2
);
10721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10722 if (!SWIG_IsOK(ecode3
)) {
10723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10725 arg3
= static_cast< int >(val3
);
10726 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10727 if (!SWIG_IsOK(ecode4
)) {
10728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10730 arg4
= static_cast< int >(val4
);
10731 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10732 if (!SWIG_IsOK(ecode5
)) {
10733 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10735 arg5
= static_cast< int >(val5
);
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10751 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
= 0;
10753 wxRegion
*arg1
= (wxRegion
*) 0 ;
10759 PyObject
* obj0
= 0 ;
10760 PyObject
* obj1
= 0 ;
10761 char * kwnames
[] = {
10762 (char *) "self",(char *) "rect", NULL
10765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10767 if (!SWIG_IsOK(res1
)) {
10768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10770 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10773 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10790 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
= 0;
10792 wxRegion
*arg1
= (wxRegion
*) 0 ;
10793 wxRegion
*arg2
= 0 ;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 char * kwnames
[] = {
10802 (char *) "self",(char *) "region", NULL
10805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10807 if (!SWIG_IsOK(res1
)) {
10808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10810 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10812 if (!SWIG_IsOK(res2
)) {
10813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10818 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10834 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10835 PyObject
*resultobj
= 0;
10836 wxRegion
*arg1
= (wxRegion
*) 0 ;
10840 PyObject
*swig_obj
[1] ;
10842 if (!args
) SWIG_fail
;
10843 swig_obj
[0] = args
;
10844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10845 if (!SWIG_IsOK(res1
)) {
10846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10848 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 result
= (bool)(arg1
)->IsEmpty();
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10864 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
= 0;
10866 wxRegion
*arg1
= (wxRegion
*) 0 ;
10867 wxRegion
*arg2
= 0 ;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 char * kwnames
[] = {
10876 (char *) "self",(char *) "region", NULL
10879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10884 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10886 if (!SWIG_IsOK(res2
)) {
10887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10892 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10908 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
= 0;
10910 wxRegion
*arg1
= (wxRegion
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 PyObject
* obj2
= 0 ;
10929 PyObject
* obj3
= 0 ;
10930 PyObject
* obj4
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10940 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10942 if (!SWIG_IsOK(ecode2
)) {
10943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10945 arg2
= static_cast< int >(val2
);
10946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10947 if (!SWIG_IsOK(ecode3
)) {
10948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10950 arg3
= static_cast< int >(val3
);
10951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10952 if (!SWIG_IsOK(ecode4
)) {
10953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10955 arg4
= static_cast< int >(val4
);
10956 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10957 if (!SWIG_IsOK(ecode5
)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10960 arg5
= static_cast< int >(val5
);
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10976 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
= 0;
10978 wxRegion
*arg1
= (wxRegion
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char * kwnames
[] = {
10987 (char *) "self",(char *) "rect", NULL
10990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",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_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10995 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10998 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11015 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
= 0;
11017 wxRegion
*arg1
= (wxRegion
*) 0 ;
11018 wxRegion
*arg2
= 0 ;
11024 PyObject
* obj0
= 0 ;
11025 PyObject
* obj1
= 0 ;
11026 char * kwnames
[] = {
11027 (char *) "self",(char *) "region", NULL
11030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11032 if (!SWIG_IsOK(res1
)) {
11033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11035 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11037 if (!SWIG_IsOK(res2
)) {
11038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11043 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11059 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
= 0;
11061 wxRegion
*arg1
= (wxRegion
*) 0 ;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 PyObject
* obj2
= 0 ;
11080 PyObject
* obj3
= 0 ;
11081 PyObject
* obj4
= 0 ;
11082 char * kwnames
[] = {
11083 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11088 if (!SWIG_IsOK(res1
)) {
11089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11091 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11093 if (!SWIG_IsOK(ecode2
)) {
11094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11096 arg2
= static_cast< int >(val2
);
11097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11098 if (!SWIG_IsOK(ecode3
)) {
11099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11101 arg3
= static_cast< int >(val3
);
11102 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11103 if (!SWIG_IsOK(ecode4
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11106 arg4
= static_cast< int >(val4
);
11107 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11108 if (!SWIG_IsOK(ecode5
)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11111 arg5
= static_cast< int >(val5
);
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11127 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
= 0;
11129 wxRegion
*arg1
= (wxRegion
*) 0 ;
11135 PyObject
* obj0
= 0 ;
11136 PyObject
* obj1
= 0 ;
11137 char * kwnames
[] = {
11138 (char *) "self",(char *) "rect", NULL
11141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",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_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11146 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11149 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
= 0;
11168 wxRegion
*arg1
= (wxRegion
*) 0 ;
11169 wxRegion
*arg2
= 0 ;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 char * kwnames
[] = {
11178 (char *) "self",(char *) "region", NULL
11181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11183 if (!SWIG_IsOK(res1
)) {
11184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11186 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11188 if (!SWIG_IsOK(res2
)) {
11189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11194 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11210 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
= 0;
11212 wxRegion
*arg1
= (wxRegion
*) 0 ;
11228 PyObject
* obj0
= 0 ;
11229 PyObject
* obj1
= 0 ;
11230 PyObject
* obj2
= 0 ;
11231 PyObject
* obj3
= 0 ;
11232 PyObject
* obj4
= 0 ;
11233 char * kwnames
[] = {
11234 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11239 if (!SWIG_IsOK(res1
)) {
11240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11242 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11244 if (!SWIG_IsOK(ecode2
)) {
11245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11247 arg2
= static_cast< int >(val2
);
11248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11249 if (!SWIG_IsOK(ecode3
)) {
11250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11252 arg3
= static_cast< int >(val3
);
11253 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11254 if (!SWIG_IsOK(ecode4
)) {
11255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11257 arg4
= static_cast< int >(val4
);
11258 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11259 if (!SWIG_IsOK(ecode5
)) {
11260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11262 arg5
= static_cast< int >(val5
);
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11278 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxRegion
*arg1
= (wxRegion
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 char * kwnames
[] = {
11289 (char *) "self",(char *) "rect", NULL
11292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11294 if (!SWIG_IsOK(res1
)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11297 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11317 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
= 0;
11319 wxRegion
*arg1
= (wxRegion
*) 0 ;
11320 wxRegion
*arg2
= 0 ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char * kwnames
[] = {
11329 (char *) "self",(char *) "region", NULL
11332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11334 if (!SWIG_IsOK(res1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11337 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11339 if (!SWIG_IsOK(res2
)) {
11340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11345 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11361 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11362 PyObject
*resultobj
= 0;
11363 wxRegion
*arg1
= (wxRegion
*) 0 ;
11364 SwigValueWrapper
<wxBitmap
> result
;
11367 PyObject
*swig_obj
[1] ;
11369 if (!args
) SWIG_fail
;
11370 swig_obj
[0] = args
;
11371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11372 if (!SWIG_IsOK(res1
)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11375 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (arg1
)->ConvertToBitmap();
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11389 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
= 0;
11391 wxRegion
*arg1
= (wxRegion
*) 0 ;
11392 wxBitmap
*arg2
= 0 ;
11398 PyObject
* obj0
= 0 ;
11399 PyObject
* obj1
= 0 ;
11400 char * kwnames
[] = {
11401 (char *) "self",(char *) "bmp", NULL
11404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11406 if (!SWIG_IsOK(res1
)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11409 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11410 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11411 if (!SWIG_IsOK(res2
)) {
11412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11417 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11433 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
= 0;
11435 wxRegion
*arg1
= (wxRegion
*) 0 ;
11436 wxBitmap
*arg2
= 0 ;
11437 wxColour
*arg3
= 0 ;
11438 int arg4
= (int) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 PyObject
* obj2
= 0 ;
11450 PyObject
* obj3
= 0 ;
11451 char * kwnames
[] = {
11452 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11457 if (!SWIG_IsOK(res1
)) {
11458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11460 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11462 if (!SWIG_IsOK(res2
)) {
11463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11468 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11471 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11474 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11475 if (!SWIG_IsOK(ecode4
)) {
11476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11478 arg4
= static_cast< int >(val4
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11495 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11498 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11499 return SWIG_Py_Void();
11502 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11503 return SWIG_Python_InitShadowInstance(args
);
11506 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
= 0;
11508 wxRegion
*arg1
= 0 ;
11509 wxRegionIterator
*result
= 0 ;
11512 PyObject
* obj0
= 0 ;
11513 char * kwnames
[] = {
11514 (char *) "region", NULL
11517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11518 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11519 if (!SWIG_IsOK(res1
)) {
11520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11525 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11527 if (!wxPyCheckForApp()) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11540 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11541 PyObject
*resultobj
= 0;
11542 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11545 PyObject
*swig_obj
[1] ;
11547 if (!args
) SWIG_fail
;
11548 swig_obj
[0] = args
;
11549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11553 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= SWIG_Py_Void();
11568 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11569 PyObject
*resultobj
= 0;
11570 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11574 PyObject
*swig_obj
[1] ;
11576 if (!args
) SWIG_fail
;
11577 swig_obj
[0] = args
;
11578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11579 if (!SWIG_IsOK(res1
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11582 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (int)(arg1
)->GetX();
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_From_int(static_cast< int >(result
));
11596 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11597 PyObject
*resultobj
= 0;
11598 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11602 PyObject
*swig_obj
[1] ;
11604 if (!args
) SWIG_fail
;
11605 swig_obj
[0] = args
;
11606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11607 if (!SWIG_IsOK(res1
)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11610 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (int)(arg1
)->GetY();
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= SWIG_From_int(static_cast< int >(result
));
11624 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11625 PyObject
*resultobj
= 0;
11626 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11630 PyObject
*swig_obj
[1] ;
11632 if (!args
) SWIG_fail
;
11633 swig_obj
[0] = args
;
11634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11635 if (!SWIG_IsOK(res1
)) {
11636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11638 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (int)(arg1
)->GetW();
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= SWIG_From_int(static_cast< int >(result
));
11652 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11653 PyObject
*resultobj
= 0;
11654 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11658 PyObject
*swig_obj
[1] ;
11660 if (!args
) SWIG_fail
;
11661 swig_obj
[0] = args
;
11662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11663 if (!SWIG_IsOK(res1
)) {
11664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11666 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (int)(arg1
)->GetWidth();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= SWIG_From_int(static_cast< int >(result
));
11680 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11681 PyObject
*resultobj
= 0;
11682 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11686 PyObject
*swig_obj
[1] ;
11688 if (!args
) SWIG_fail
;
11689 swig_obj
[0] = args
;
11690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11691 if (!SWIG_IsOK(res1
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11694 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (int)(arg1
)->GetH();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_From_int(static_cast< int >(result
));
11708 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11709 PyObject
*resultobj
= 0;
11710 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11714 PyObject
*swig_obj
[1] ;
11716 if (!args
) SWIG_fail
;
11717 swig_obj
[0] = args
;
11718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11719 if (!SWIG_IsOK(res1
)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11722 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (int)(arg1
)->GetHeight();
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_From_int(static_cast< int >(result
));
11736 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11737 PyObject
*resultobj
= 0;
11738 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11742 PyObject
*swig_obj
[1] ;
11744 if (!args
) SWIG_fail
;
11745 swig_obj
[0] = args
;
11746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11747 if (!SWIG_IsOK(res1
)) {
11748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11750 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (arg1
)->GetRect();
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11764 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11765 PyObject
*resultobj
= 0;
11766 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11770 PyObject
*swig_obj
[1] ;
11772 if (!args
) SWIG_fail
;
11773 swig_obj
[0] = args
;
11774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11775 if (!SWIG_IsOK(res1
)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11778 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (bool)(arg1
)->HaveRects();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11794 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11795 PyObject
*resultobj
= 0;
11796 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11799 PyObject
*swig_obj
[1] ;
11801 if (!args
) SWIG_fail
;
11802 swig_obj
[0] = args
;
11803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11804 if (!SWIG_IsOK(res1
)) {
11805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11807 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_Py_Void();
11821 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11822 PyObject
*resultobj
= 0;
11823 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11826 PyObject
*swig_obj
[1] ;
11828 if (!args
) SWIG_fail
;
11829 swig_obj
[0] = args
;
11830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11834 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 wxRegionIterator_Next(arg1
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_Py_Void();
11848 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11849 PyObject
*resultobj
= 0;
11850 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11854 PyObject
*swig_obj
[1] ;
11856 if (!args
) SWIG_fail
;
11857 swig_obj
[0] = args
;
11858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11859 if (!SWIG_IsOK(res1
)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11862 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11878 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11881 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11882 return SWIG_Py_Void();
11885 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11886 return SWIG_Python_InitShadowInstance(args
);
11889 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11890 PyObject
*resultobj
= 0;
11891 wxNativeFontInfo
*result
= 0 ;
11893 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11907 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11908 PyObject
*resultobj
= 0;
11909 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11912 PyObject
*swig_obj
[1] ;
11914 if (!args
) SWIG_fail
;
11915 swig_obj
[0] = args
;
11916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11917 if (!SWIG_IsOK(res1
)) {
11918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11920 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_Py_Void();
11935 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11936 PyObject
*resultobj
= 0;
11937 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11940 PyObject
*swig_obj
[1] ;
11942 if (!args
) SWIG_fail
;
11943 swig_obj
[0] = args
;
11944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11945 if (!SWIG_IsOK(res1
)) {
11946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11948 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= SWIG_Py_Void();
11962 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
= 0;
11964 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char * kwnames
[] = {
11973 (char *) "self",(char *) "font", NULL
11976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11978 if (!SWIG_IsOK(res1
)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11981 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11982 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11983 if (!SWIG_IsOK(res2
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11989 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= SWIG_Py_Void();
12003 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12004 PyObject
*resultobj
= 0;
12005 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12009 PyObject
*swig_obj
[1] ;
12011 if (!args
) SWIG_fail
;
12012 swig_obj
[0] = args
;
12013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12017 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_From_int(static_cast< int >(result
));
12031 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 PyObject
*resultobj
= 0;
12033 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12034 wxFontStyle result
;
12037 PyObject
*swig_obj
[1] ;
12039 if (!args
) SWIG_fail
;
12040 swig_obj
[0] = args
;
12041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12042 if (!SWIG_IsOK(res1
)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12045 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= SWIG_From_int(static_cast< int >(result
));
12059 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12060 PyObject
*resultobj
= 0;
12061 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12062 wxFontWeight result
;
12065 PyObject
*swig_obj
[1] ;
12067 if (!args
) SWIG_fail
;
12068 swig_obj
[0] = args
;
12069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12070 if (!SWIG_IsOK(res1
)) {
12071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12073 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_From_int(static_cast< int >(result
));
12087 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12088 PyObject
*resultobj
= 0;
12089 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12093 PyObject
*swig_obj
[1] ;
12095 if (!args
) SWIG_fail
;
12096 swig_obj
[0] = args
;
12097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12098 if (!SWIG_IsOK(res1
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12101 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12117 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12118 PyObject
*resultobj
= 0;
12119 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12123 PyObject
*swig_obj
[1] ;
12125 if (!args
) SWIG_fail
;
12126 swig_obj
[0] = args
;
12127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12128 if (!SWIG_IsOK(res1
)) {
12129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12131 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12151 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12152 PyObject
*resultobj
= 0;
12153 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12154 wxFontFamily result
;
12157 PyObject
*swig_obj
[1] ;
12159 if (!args
) SWIG_fail
;
12160 swig_obj
[0] = args
;
12161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12162 if (!SWIG_IsOK(res1
)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12165 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_From_int(static_cast< int >(result
));
12179 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12180 PyObject
*resultobj
= 0;
12181 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12182 wxFontEncoding result
;
12185 PyObject
*swig_obj
[1] ;
12187 if (!args
) SWIG_fail
;
12188 swig_obj
[0] = args
;
12189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12190 if (!SWIG_IsOK(res1
)) {
12191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12193 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= SWIG_From_int(static_cast< int >(result
));
12207 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
= 0;
12209 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 char * kwnames
[] = {
12218 (char *) "self",(char *) "pointsize", NULL
12221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12223 if (!SWIG_IsOK(res1
)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12226 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12228 if (!SWIG_IsOK(ecode2
)) {
12229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12231 arg2
= static_cast< int >(val2
);
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 (arg1
)->SetPointSize(arg2
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= SWIG_Py_Void();
12245 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
= 0;
12247 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 char * kwnames
[] = {
12256 (char *) "self",(char *) "style", NULL
12259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12261 if (!SWIG_IsOK(res1
)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12264 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12266 if (!SWIG_IsOK(ecode2
)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12269 arg2
= static_cast< wxFontStyle
>(val2
);
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 (arg1
)->SetStyle(arg2
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= SWIG_Py_Void();
12283 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
= 0;
12285 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12286 wxFontWeight arg2
;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char * kwnames
[] = {
12294 (char *) "self",(char *) "weight", NULL
12297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12299 if (!SWIG_IsOK(res1
)) {
12300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12302 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12304 if (!SWIG_IsOK(ecode2
)) {
12305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12307 arg2
= static_cast< wxFontWeight
>(val2
);
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 (arg1
)->SetWeight(arg2
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= SWIG_Py_Void();
12321 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
= 0;
12323 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 PyObject
* obj1
= 0 ;
12331 char * kwnames
[] = {
12332 (char *) "self",(char *) "underlined", NULL
12335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12337 if (!SWIG_IsOK(res1
)) {
12338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12340 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12341 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12342 if (!SWIG_IsOK(ecode2
)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12345 arg2
= static_cast< bool >(val2
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 (arg1
)->SetUnderlined(arg2
);
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_Py_Void();
12359 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
= 0;
12361 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12366 PyObject
* obj0
= 0 ;
12367 PyObject
* obj1
= 0 ;
12368 char * kwnames
[] = {
12369 (char *) "self",(char *) "facename", NULL
12372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12374 if (!SWIG_IsOK(res1
)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12377 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12379 wxString
* sptr
= wxString_in_helper(obj1
);
12380 if (sptr
== NULL
) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= (bool)(arg1
)->SetFaceName(arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12399 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
= 0;
12401 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12402 wxFontFamily arg2
;
12407 PyObject
* obj0
= 0 ;
12408 PyObject
* obj1
= 0 ;
12409 char * kwnames
[] = {
12410 (char *) "self",(char *) "family", NULL
12413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12415 if (!SWIG_IsOK(res1
)) {
12416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12418 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12420 if (!SWIG_IsOK(ecode2
)) {
12421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12423 arg2
= static_cast< wxFontFamily
>(val2
);
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->SetFamily(arg2
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_Py_Void();
12437 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
= 0;
12439 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12440 wxFontEncoding arg2
;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char * kwnames
[] = {
12448 (char *) "self",(char *) "encoding", NULL
12451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12456 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12458 if (!SWIG_IsOK(ecode2
)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12461 arg2
= static_cast< wxFontEncoding
>(val2
);
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->SetEncoding(arg2
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_Py_Void();
12475 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
= 0;
12477 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12478 wxString
*arg2
= 0 ;
12482 bool temp2
= false ;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 char * kwnames
[] = {
12486 (char *) "self",(char *) "s", NULL
12489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12491 if (!SWIG_IsOK(res1
)) {
12492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12494 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12496 arg2
= wxString_in_helper(obj1
);
12497 if (arg2
== NULL
) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12523 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12524 PyObject
*resultobj
= 0;
12525 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12529 PyObject
*swig_obj
[1] ;
12531 if (!args
) SWIG_fail
;
12532 swig_obj
[0] = args
;
12533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12534 if (!SWIG_IsOK(res1
)) {
12535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12537 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12557 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12558 PyObject
*resultobj
= 0;
12559 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12563 PyObject
*swig_obj
[1] ;
12565 if (!args
) SWIG_fail
;
12566 swig_obj
[0] = args
;
12567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12568 if (!SWIG_IsOK(res1
)) {
12569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12571 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= wxNativeFontInfo___str__(arg1
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12591 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
= 0;
12593 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12594 wxString
*arg2
= 0 ;
12598 bool temp2
= false ;
12599 PyObject
* obj0
= 0 ;
12600 PyObject
* obj1
= 0 ;
12601 char * kwnames
[] = {
12602 (char *) "self",(char *) "s", NULL
12605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12607 if (!SWIG_IsOK(res1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12610 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12612 arg2
= wxString_in_helper(obj1
);
12613 if (arg2
== NULL
) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12639 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12640 PyObject
*resultobj
= 0;
12641 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12645 PyObject
*swig_obj
[1] ;
12647 if (!args
) SWIG_fail
;
12648 swig_obj
[0] = args
;
12649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12650 if (!SWIG_IsOK(res1
)) {
12651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12653 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12673 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12676 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12677 return SWIG_Py_Void();
12680 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12681 return SWIG_Python_InitShadowInstance(args
);
12684 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12685 PyObject
*resultobj
= 0;
12686 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12687 wxString
*arg2
= (wxString
*) 0 ;
12690 bool temp2
= false ;
12691 PyObject
*swig_obj
[2] ;
12693 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12695 if (!SWIG_IsOK(res1
)) {
12696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12698 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12700 arg2
= wxString_in_helper(swig_obj
[1]);
12701 if (arg2
== NULL
) SWIG_fail
;
12704 if (arg1
) (arg1
)->facename
= *arg2
;
12706 resultobj
= SWIG_Py_Void();
12721 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12722 PyObject
*resultobj
= 0;
12723 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12724 wxString
*result
= 0 ;
12727 PyObject
*swig_obj
[1] ;
12729 if (!args
) SWIG_fail
;
12730 swig_obj
[0] = args
;
12731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12732 if (!SWIG_IsOK(res1
)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12735 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12736 result
= (wxString
*)& ((arg1
)->facename
);
12739 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12741 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12750 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12751 PyObject
*resultobj
= 0;
12752 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12753 wxFontEncoding arg2
;
12758 PyObject
*swig_obj
[2] ;
12760 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12765 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12766 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12767 if (!SWIG_IsOK(ecode2
)) {
12768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12770 arg2
= static_cast< wxFontEncoding
>(val2
);
12771 if (arg1
) (arg1
)->encoding
= arg2
;
12773 resultobj
= SWIG_Py_Void();
12780 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12781 PyObject
*resultobj
= 0;
12782 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12783 wxFontEncoding result
;
12786 PyObject
*swig_obj
[1] ;
12788 if (!args
) SWIG_fail
;
12789 swig_obj
[0] = args
;
12790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12791 if (!SWIG_IsOK(res1
)) {
12792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12794 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12795 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12796 resultobj
= SWIG_From_int(static_cast< int >(result
));
12803 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12804 PyObject
*resultobj
= 0;
12805 wxNativeEncodingInfo
*result
= 0 ;
12807 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12821 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12822 PyObject
*resultobj
= 0;
12823 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12826 PyObject
*swig_obj
[1] ;
12828 if (!args
) SWIG_fail
;
12829 swig_obj
[0] = args
;
12830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12831 if (!SWIG_IsOK(res1
)) {
12832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12834 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= SWIG_Py_Void();
12849 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
= 0;
12851 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12852 wxString
*arg2
= 0 ;
12856 bool temp2
= false ;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 char * kwnames
[] = {
12860 (char *) "self",(char *) "s", NULL
12863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12865 if (!SWIG_IsOK(res1
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12868 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12870 arg2
= wxString_in_helper(obj1
);
12871 if (arg2
== NULL
) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12897 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12898 PyObject
*resultobj
= 0;
12899 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12903 PyObject
*swig_obj
[1] ;
12905 if (!args
) SWIG_fail
;
12906 swig_obj
[0] = args
;
12907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12908 if (!SWIG_IsOK(res1
)) {
12909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12911 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12931 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12934 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12935 return SWIG_Py_Void();
12938 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12939 return SWIG_Python_InitShadowInstance(args
);
12942 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
= 0;
12944 wxFontEncoding arg1
;
12945 wxNativeEncodingInfo
*result
= 0 ;
12948 PyObject
* obj0
= 0 ;
12949 char * kwnames
[] = {
12950 (char *) "encoding", NULL
12953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12954 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12955 if (!SWIG_IsOK(ecode1
)) {
12956 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12958 arg1
= static_cast< wxFontEncoding
>(val1
);
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12972 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
= 0;
12974 wxNativeEncodingInfo
*arg1
= 0 ;
12978 PyObject
* obj0
= 0 ;
12979 char * kwnames
[] = {
12980 (char *) "info", NULL
12983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12984 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12985 if (!SWIG_IsOK(res1
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12991 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13007 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13008 PyObject
*resultobj
= 0;
13009 wxFontMapper
*result
= 0 ;
13011 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 result
= (wxFontMapper
*)new wxFontMapper();
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13025 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13026 PyObject
*resultobj
= 0;
13027 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13030 PyObject
*swig_obj
[1] ;
13032 if (!args
) SWIG_fail
;
13033 swig_obj
[0] = args
;
13034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13035 if (!SWIG_IsOK(res1
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13038 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_Py_Void();
13053 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13054 PyObject
*resultobj
= 0;
13055 wxFontMapper
*result
= 0 ;
13057 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (wxFontMapper
*)wxFontMapper::Get();
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13071 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
= 0;
13073 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13074 wxFontMapper
*result
= 0 ;
13077 PyObject
* obj0
= 0 ;
13078 char * kwnames
[] = {
13079 (char *) "mapper", NULL
13082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13084 if (!SWIG_IsOK(res1
)) {
13085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13087 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13101 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
= 0;
13103 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13104 wxString
*arg2
= 0 ;
13105 bool arg3
= (bool) true ;
13106 wxFontEncoding result
;
13109 bool temp2
= false ;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 PyObject
* obj2
= 0 ;
13115 char * kwnames
[] = {
13116 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13121 if (!SWIG_IsOK(res1
)) {
13122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13124 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13126 arg2
= wxString_in_helper(obj1
);
13127 if (arg2
== NULL
) SWIG_fail
;
13131 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13132 if (!SWIG_IsOK(ecode3
)) {
13133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13135 arg3
= static_cast< bool >(val3
);
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= SWIG_From_int(static_cast< int >(result
));
13158 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13159 PyObject
*resultobj
= 0;
13162 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13176 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
= 0;
13179 wxFontEncoding result
;
13182 PyObject
* obj0
= 0 ;
13183 char * kwnames
[] = {
13187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13188 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13189 if (!SWIG_IsOK(ecode1
)) {
13190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13192 arg1
= static_cast< size_t >(val1
);
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= SWIG_From_int(static_cast< int >(result
));
13206 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
= 0;
13208 wxFontEncoding arg1
;
13212 PyObject
* obj0
= 0 ;
13213 char * kwnames
[] = {
13214 (char *) "encoding", NULL
13217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13218 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13219 if (!SWIG_IsOK(ecode1
)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13222 arg1
= static_cast< wxFontEncoding
>(val1
);
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= wxFontMapper::GetEncodingName(arg1
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13242 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
= 0;
13244 wxFontEncoding arg1
;
13248 PyObject
* obj0
= 0 ;
13249 char * kwnames
[] = {
13250 (char *) "encoding", NULL
13253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13254 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13255 if (!SWIG_IsOK(ecode1
)) {
13256 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13258 arg1
= static_cast< wxFontEncoding
>(val1
);
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= wxFontMapper::GetEncodingDescription(arg1
);
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13278 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
= 0;
13280 wxString
*arg1
= 0 ;
13281 wxFontEncoding result
;
13282 bool temp1
= false ;
13283 PyObject
* obj0
= 0 ;
13284 char * kwnames
[] = {
13285 (char *) "name", NULL
13288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13290 arg1
= wxString_in_helper(obj0
);
13291 if (arg1
== NULL
) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= SWIG_From_int(static_cast< int >(result
));
13315 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13316 PyObject
*resultobj
= 0;
13317 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13318 wxString
*arg2
= 0 ;
13321 bool temp2
= false ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char * kwnames
[] = {
13325 (char *) "self",(char *) "prefix", NULL
13328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13330 if (!SWIG_IsOK(res1
)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13333 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13335 arg2
= wxString_in_helper(obj1
);
13336 if (arg2
== NULL
) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_Py_Void();
13360 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13361 PyObject
*resultobj
= 0;
13364 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= wxFontMapper::GetDefaultConfigPath();
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13384 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
= 0;
13386 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13387 wxFontEncoding arg2
;
13388 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13389 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13390 bool arg4
= (bool) true ;
13391 PyObject
*result
= 0 ;
13396 bool temp3
= false ;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 PyObject
* obj2
= 0 ;
13402 PyObject
* obj3
= 0 ;
13403 char * kwnames
[] = {
13404 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13409 if (!SWIG_IsOK(res1
)) {
13410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13412 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13414 if (!SWIG_IsOK(ecode2
)) {
13415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13417 arg2
= static_cast< wxFontEncoding
>(val2
);
13420 arg3
= wxString_in_helper(obj2
);
13421 if (arg3
== NULL
) SWIG_fail
;
13426 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13427 if (!SWIG_IsOK(ecode4
)) {
13428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13430 arg4
= static_cast< bool >(val4
);
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= result
;
13453 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
= 0;
13455 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13456 wxFontEncoding arg2
;
13457 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13458 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13464 bool temp3
= false ;
13465 PyObject
* obj0
= 0 ;
13466 PyObject
* obj1
= 0 ;
13467 PyObject
* obj2
= 0 ;
13468 char * kwnames
[] = {
13469 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13474 if (!SWIG_IsOK(res1
)) {
13475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13477 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13479 if (!SWIG_IsOK(ecode2
)) {
13480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13482 arg2
= static_cast< wxFontEncoding
>(val2
);
13485 arg3
= wxString_in_helper(obj2
);
13486 if (arg3
== NULL
) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13513 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
= 0;
13515 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13516 wxWindow
*arg2
= (wxWindow
*) 0 ;
13521 PyObject
* obj0
= 0 ;
13522 PyObject
* obj1
= 0 ;
13523 char * kwnames
[] = {
13524 (char *) "self",(char *) "parent", NULL
13527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13529 if (!SWIG_IsOK(res1
)) {
13530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13532 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13534 if (!SWIG_IsOK(res2
)) {
13535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13537 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 (arg1
)->SetDialogParent(arg2
);
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= SWIG_Py_Void();
13551 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
= 0;
13553 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13554 wxString
*arg2
= 0 ;
13557 bool temp2
= false ;
13558 PyObject
* obj0
= 0 ;
13559 PyObject
* obj1
= 0 ;
13560 char * kwnames
[] = {
13561 (char *) "self",(char *) "title", NULL
13564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13566 if (!SWIG_IsOK(res1
)) {
13567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13569 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13571 arg2
= wxString_in_helper(obj1
);
13572 if (arg2
== NULL
) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_Py_Void();
13596 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13599 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13600 return SWIG_Py_Void();
13603 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13604 return SWIG_Python_InitShadowInstance(args
);
13607 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
= 0;
13613 bool arg5
= (bool) false ;
13614 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13615 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13616 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13617 wxFont
*result
= 0 ;
13628 bool temp6
= false ;
13631 PyObject
* obj0
= 0 ;
13632 PyObject
* obj1
= 0 ;
13633 PyObject
* obj2
= 0 ;
13634 PyObject
* obj3
= 0 ;
13635 PyObject
* obj4
= 0 ;
13636 PyObject
* obj5
= 0 ;
13637 PyObject
* obj6
= 0 ;
13638 char * kwnames
[] = {
13639 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13643 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13644 if (!SWIG_IsOK(ecode1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', 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_Font" "', expected argument " "2"" of type '" "int""'");
13652 arg2
= static_cast< int >(val2
);
13653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13654 if (!SWIG_IsOK(ecode3
)) {
13655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13657 arg3
= static_cast< int >(val3
);
13658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13659 if (!SWIG_IsOK(ecode4
)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13662 arg4
= static_cast< int >(val4
);
13664 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13665 if (!SWIG_IsOK(ecode5
)) {
13666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13668 arg5
= static_cast< bool >(val5
);
13672 arg6
= wxString_in_helper(obj5
);
13673 if (arg6
== NULL
) SWIG_fail
;
13678 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13679 if (!SWIG_IsOK(ecode7
)) {
13680 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13682 arg7
= static_cast< wxFontEncoding
>(val7
);
13685 if (!wxPyCheckForApp()) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13706 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13707 PyObject
*resultobj
= 0;
13708 wxFont
*arg1
= (wxFont
*) 0 ;
13711 PyObject
*swig_obj
[1] ;
13713 if (!args
) SWIG_fail
;
13714 swig_obj
[0] = args
;
13715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13716 if (!SWIG_IsOK(res1
)) {
13717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13719 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= SWIG_Py_Void();
13734 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
= 0;
13736 wxNativeFontInfo
*arg1
= 0 ;
13737 wxFont
*result
= 0 ;
13740 PyObject
* obj0
= 0 ;
13741 char * kwnames
[] = {
13742 (char *) "info", NULL
13745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13746 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13747 if (!SWIG_IsOK(res1
)) {
13748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13753 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13755 if (!wxPyCheckForApp()) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13768 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
= 0;
13770 wxString
*arg1
= 0 ;
13771 wxFont
*result
= 0 ;
13772 bool temp1
= false ;
13773 PyObject
* obj0
= 0 ;
13774 char * kwnames
[] = {
13775 (char *) "info", NULL
13778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13780 arg1
= wxString_in_helper(obj0
);
13781 if (arg1
== NULL
) SWIG_fail
;
13785 if (!wxPyCheckForApp()) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13806 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
= 0;
13809 wxFontFamily arg2
;
13810 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13811 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13812 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13813 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13814 wxFont
*result
= 0 ;
13821 bool temp4
= false ;
13824 PyObject
* obj0
= 0 ;
13825 PyObject
* obj1
= 0 ;
13826 PyObject
* obj2
= 0 ;
13827 PyObject
* obj3
= 0 ;
13828 PyObject
* obj4
= 0 ;
13829 char * kwnames
[] = {
13830 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13834 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13835 if (!SWIG_IsOK(ecode1
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13838 arg1
= static_cast< int >(val1
);
13839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13840 if (!SWIG_IsOK(ecode2
)) {
13841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13843 arg2
= static_cast< wxFontFamily
>(val2
);
13845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13846 if (!SWIG_IsOK(ecode3
)) {
13847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13849 arg3
= static_cast< int >(val3
);
13853 arg4
= wxString_in_helper(obj3
);
13854 if (arg4
== NULL
) SWIG_fail
;
13859 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13860 if (!SWIG_IsOK(ecode5
)) {
13861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13863 arg5
= static_cast< wxFontEncoding
>(val5
);
13866 if (!wxPyCheckForApp()) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13887 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
= 0;
13893 bool arg5
= (bool) false ;
13894 wxString
const &arg6_defvalue
= wxEmptyString
;
13895 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13896 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13897 wxFont
*result
= 0 ;
13907 bool temp6
= false ;
13910 PyObject
* obj0
= 0 ;
13911 PyObject
* obj1
= 0 ;
13912 PyObject
* obj2
= 0 ;
13913 PyObject
* obj3
= 0 ;
13914 PyObject
* obj4
= 0 ;
13915 PyObject
* obj5
= 0 ;
13916 PyObject
* obj6
= 0 ;
13917 char * kwnames
[] = {
13918 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13924 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13927 if (!SWIG_IsOK(ecode2
)) {
13928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13930 arg2
= static_cast< int >(val2
);
13931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13932 if (!SWIG_IsOK(ecode3
)) {
13933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13935 arg3
= static_cast< int >(val3
);
13936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13937 if (!SWIG_IsOK(ecode4
)) {
13938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13940 arg4
= static_cast< int >(val4
);
13942 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13943 if (!SWIG_IsOK(ecode5
)) {
13944 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13946 arg5
= static_cast< bool >(val5
);
13950 arg6
= wxString_in_helper(obj5
);
13951 if (arg6
== NULL
) SWIG_fail
;
13956 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13957 if (!SWIG_IsOK(ecode7
)) {
13958 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13960 arg7
= static_cast< wxFontEncoding
>(val7
);
13963 if (!wxPyCheckForApp()) SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13984 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13985 PyObject
*resultobj
= 0;
13987 wxFontFamily arg2
;
13988 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13989 wxString
const &arg4_defvalue
= wxEmptyString
;
13990 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13991 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13992 wxFont
*result
= 0 ;
13998 bool temp4
= false ;
14001 PyObject
* obj0
= 0 ;
14002 PyObject
* obj1
= 0 ;
14003 PyObject
* obj2
= 0 ;
14004 PyObject
* obj3
= 0 ;
14005 PyObject
* obj4
= 0 ;
14006 char * kwnames
[] = {
14007 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14013 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14016 if (!SWIG_IsOK(ecode2
)) {
14017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14019 arg2
= static_cast< wxFontFamily
>(val2
);
14021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14022 if (!SWIG_IsOK(ecode3
)) {
14023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14025 arg3
= static_cast< int >(val3
);
14029 arg4
= wxString_in_helper(obj3
);
14030 if (arg4
== NULL
) SWIG_fail
;
14035 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14036 if (!SWIG_IsOK(ecode5
)) {
14037 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14039 arg5
= static_cast< wxFontEncoding
>(val5
);
14042 if (!wxPyCheckForApp()) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14063 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14064 PyObject
*resultobj
= 0;
14065 wxFont
*arg1
= (wxFont
*) 0 ;
14069 PyObject
*swig_obj
[1] ;
14071 if (!args
) SWIG_fail
;
14072 swig_obj
[0] = args
;
14073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14074 if (!SWIG_IsOK(res1
)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14077 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14093 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
= 0;
14095 wxFont
*arg1
= (wxFont
*) 0 ;
14096 wxFont
*arg2
= (wxFont
*) 0 ;
14102 PyObject
* obj0
= 0 ;
14103 PyObject
* obj1
= 0 ;
14104 char * kwnames
[] = {
14105 (char *) "self",(char *) "other", NULL
14108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14110 if (!SWIG_IsOK(res1
)) {
14111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14113 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14114 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14115 if (!SWIG_IsOK(res2
)) {
14116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14118 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14134 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
= 0;
14136 wxFont
*arg1
= (wxFont
*) 0 ;
14137 wxFont
*arg2
= (wxFont
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 char * kwnames
[] = {
14146 (char *) "self",(char *) "other", NULL
14149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14151 if (!SWIG_IsOK(res1
)) {
14152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14154 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14156 if (!SWIG_IsOK(res2
)) {
14157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14159 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14175 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14176 PyObject
*resultobj
= 0;
14177 wxFont
*arg1
= (wxFont
*) 0 ;
14181 PyObject
*swig_obj
[1] ;
14183 if (!args
) SWIG_fail
;
14184 swig_obj
[0] = args
;
14185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14186 if (!SWIG_IsOK(res1
)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14189 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_From_int(static_cast< int >(result
));
14203 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14204 PyObject
*resultobj
= 0;
14205 wxFont
*arg1
= (wxFont
*) 0 ;
14209 PyObject
*swig_obj
[1] ;
14211 if (!args
) SWIG_fail
;
14212 swig_obj
[0] = args
;
14213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14214 if (!SWIG_IsOK(res1
)) {
14215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14217 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14231 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14232 PyObject
*resultobj
= 0;
14233 wxFont
*arg1
= (wxFont
*) 0 ;
14237 PyObject
*swig_obj
[1] ;
14239 if (!args
) SWIG_fail
;
14240 swig_obj
[0] = args
;
14241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14242 if (!SWIG_IsOK(res1
)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14245 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14261 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14262 PyObject
*resultobj
= 0;
14263 wxFont
*arg1
= (wxFont
*) 0 ;
14267 PyObject
*swig_obj
[1] ;
14269 if (!args
) SWIG_fail
;
14270 swig_obj
[0] = args
;
14271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14272 if (!SWIG_IsOK(res1
)) {
14273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14275 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_From_int(static_cast< int >(result
));
14289 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14290 PyObject
*resultobj
= 0;
14291 wxFont
*arg1
= (wxFont
*) 0 ;
14295 PyObject
*swig_obj
[1] ;
14297 if (!args
) SWIG_fail
;
14298 swig_obj
[0] = args
;
14299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14300 if (!SWIG_IsOK(res1
)) {
14301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14303 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= SWIG_From_int(static_cast< int >(result
));
14317 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14318 PyObject
*resultobj
= 0;
14319 wxFont
*arg1
= (wxFont
*) 0 ;
14323 PyObject
*swig_obj
[1] ;
14325 if (!args
) SWIG_fail
;
14326 swig_obj
[0] = args
;
14327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14328 if (!SWIG_IsOK(res1
)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14331 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= SWIG_From_int(static_cast< int >(result
));
14345 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14346 PyObject
*resultobj
= 0;
14347 wxFont
*arg1
= (wxFont
*) 0 ;
14351 PyObject
*swig_obj
[1] ;
14353 if (!args
) SWIG_fail
;
14354 swig_obj
[0] = args
;
14355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14356 if (!SWIG_IsOK(res1
)) {
14357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14359 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14375 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14376 PyObject
*resultobj
= 0;
14377 wxFont
*arg1
= (wxFont
*) 0 ;
14381 PyObject
*swig_obj
[1] ;
14383 if (!args
) SWIG_fail
;
14384 swig_obj
[0] = args
;
14385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14386 if (!SWIG_IsOK(res1
)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14389 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= ((wxFont
const *)arg1
)->GetFaceName();
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14409 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14410 PyObject
*resultobj
= 0;
14411 wxFont
*arg1
= (wxFont
*) 0 ;
14412 wxFontEncoding result
;
14415 PyObject
*swig_obj
[1] ;
14417 if (!args
) SWIG_fail
;
14418 swig_obj
[0] = args
;
14419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14420 if (!SWIG_IsOK(res1
)) {
14421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14423 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 resultobj
= SWIG_From_int(static_cast< int >(result
));
14437 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14438 PyObject
*resultobj
= 0;
14439 wxFont
*arg1
= (wxFont
*) 0 ;
14440 wxNativeFontInfo
*result
= 0 ;
14443 PyObject
*swig_obj
[1] ;
14445 if (!args
) SWIG_fail
;
14446 swig_obj
[0] = args
;
14447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14448 if (!SWIG_IsOK(res1
)) {
14449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14451 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14465 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14466 PyObject
*resultobj
= 0;
14467 wxFont
*arg1
= (wxFont
*) 0 ;
14471 PyObject
*swig_obj
[1] ;
14473 if (!args
) SWIG_fail
;
14474 swig_obj
[0] = args
;
14475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14476 if (!SWIG_IsOK(res1
)) {
14477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14479 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14495 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14496 PyObject
*resultobj
= 0;
14497 wxFont
*arg1
= (wxFont
*) 0 ;
14501 PyObject
*swig_obj
[1] ;
14503 if (!args
) SWIG_fail
;
14504 swig_obj
[0] = args
;
14505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14506 if (!SWIG_IsOK(res1
)) {
14507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14509 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14529 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14530 PyObject
*resultobj
= 0;
14531 wxFont
*arg1
= (wxFont
*) 0 ;
14535 PyObject
*swig_obj
[1] ;
14537 if (!args
) SWIG_fail
;
14538 swig_obj
[0] = args
;
14539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14540 if (!SWIG_IsOK(res1
)) {
14541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14543 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14563 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
= 0;
14565 wxFont
*arg1
= (wxFont
*) 0 ;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 char * kwnames
[] = {
14574 (char *) "self",(char *) "pointSize", NULL
14577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14579 if (!SWIG_IsOK(res1
)) {
14580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14582 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14584 if (!SWIG_IsOK(ecode2
)) {
14585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14587 arg2
= static_cast< int >(val2
);
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 (arg1
)->SetPointSize(arg2
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_Py_Void();
14601 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
= 0;
14603 wxFont
*arg1
= (wxFont
*) 0 ;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 char * kwnames
[] = {
14611 (char *) "self",(char *) "pixelSize", NULL
14614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14616 if (!SWIG_IsOK(res1
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14619 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_Py_Void();
14637 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
= 0;
14639 wxFont
*arg1
= (wxFont
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 PyObject
* obj1
= 0 ;
14647 char * kwnames
[] = {
14648 (char *) "self",(char *) "family", NULL
14651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14653 if (!SWIG_IsOK(res1
)) {
14654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14656 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14658 if (!SWIG_IsOK(ecode2
)) {
14659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14661 arg2
= static_cast< int >(val2
);
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 (arg1
)->SetFamily(arg2
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= SWIG_Py_Void();
14675 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
= 0;
14677 wxFont
*arg1
= (wxFont
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 char * kwnames
[] = {
14686 (char *) "self",(char *) "style", NULL
14689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14691 if (!SWIG_IsOK(res1
)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14694 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14696 if (!SWIG_IsOK(ecode2
)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14699 arg2
= static_cast< int >(val2
);
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 (arg1
)->SetStyle(arg2
);
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= SWIG_Py_Void();
14713 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
= 0;
14715 wxFont
*arg1
= (wxFont
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 char * kwnames
[] = {
14724 (char *) "self",(char *) "weight", NULL
14727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14729 if (!SWIG_IsOK(res1
)) {
14730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14732 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14734 if (!SWIG_IsOK(ecode2
)) {
14735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14737 arg2
= static_cast< int >(val2
);
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 (arg1
)->SetWeight(arg2
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= SWIG_Py_Void();
14751 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
= 0;
14753 wxFont
*arg1
= (wxFont
*) 0 ;
14754 wxString
*arg2
= 0 ;
14758 bool temp2
= false ;
14759 PyObject
* obj0
= 0 ;
14760 PyObject
* obj1
= 0 ;
14761 char * kwnames
[] = {
14762 (char *) "self",(char *) "faceName", NULL
14765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14767 if (!SWIG_IsOK(res1
)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14770 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14772 arg2
= wxString_in_helper(obj1
);
14773 if (arg2
== NULL
) SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14799 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
= 0;
14801 wxFont
*arg1
= (wxFont
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 char * kwnames
[] = {
14810 (char *) "self",(char *) "underlined", NULL
14813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14815 if (!SWIG_IsOK(res1
)) {
14816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14818 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14819 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14820 if (!SWIG_IsOK(ecode2
)) {
14821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14823 arg2
= static_cast< bool >(val2
);
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 (arg1
)->SetUnderlined(arg2
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_Py_Void();
14837 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
= 0;
14839 wxFont
*arg1
= (wxFont
*) 0 ;
14840 wxFontEncoding arg2
;
14845 PyObject
* obj0
= 0 ;
14846 PyObject
* obj1
= 0 ;
14847 char * kwnames
[] = {
14848 (char *) "self",(char *) "encoding", NULL
14851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14853 if (!SWIG_IsOK(res1
)) {
14854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14856 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14858 if (!SWIG_IsOK(ecode2
)) {
14859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14861 arg2
= static_cast< wxFontEncoding
>(val2
);
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 (arg1
)->SetEncoding(arg2
);
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= SWIG_Py_Void();
14875 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
= 0;
14877 wxFont
*arg1
= (wxFont
*) 0 ;
14878 wxNativeFontInfo
*arg2
= 0 ;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 char * kwnames
[] = {
14886 (char *) "self",(char *) "info", NULL
14889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14894 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14896 if (!SWIG_IsOK(res2
)) {
14897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14902 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= SWIG_Py_Void();
14916 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
= 0;
14918 wxFont
*arg1
= (wxFont
*) 0 ;
14919 wxString
*arg2
= 0 ;
14923 bool temp2
= false ;
14924 PyObject
* obj0
= 0 ;
14925 PyObject
* obj1
= 0 ;
14926 char * kwnames
[] = {
14927 (char *) "self",(char *) "info", NULL
14930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14932 if (!SWIG_IsOK(res1
)) {
14933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14935 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14937 arg2
= wxString_in_helper(obj1
);
14938 if (arg2
== NULL
) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14964 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
= 0;
14966 wxFont
*arg1
= (wxFont
*) 0 ;
14967 wxString
*arg2
= 0 ;
14971 bool temp2
= false ;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 char * kwnames
[] = {
14975 (char *) "self",(char *) "info", NULL
14978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14980 if (!SWIG_IsOK(res1
)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14983 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14985 arg2
= wxString_in_helper(obj1
);
14986 if (arg2
== NULL
) SWIG_fail
;
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15012 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15013 PyObject
*resultobj
= 0;
15014 wxFont
*arg1
= (wxFont
*) 0 ;
15018 PyObject
*swig_obj
[1] ;
15020 if (!args
) SWIG_fail
;
15021 swig_obj
[0] = args
;
15022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15026 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15046 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15047 PyObject
*resultobj
= 0;
15048 wxFont
*arg1
= (wxFont
*) 0 ;
15052 PyObject
*swig_obj
[1] ;
15054 if (!args
) SWIG_fail
;
15055 swig_obj
[0] = args
;
15056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15057 if (!SWIG_IsOK(res1
)) {
15058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15060 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= ((wxFont
const *)arg1
)->GetStyleString();
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15080 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15081 PyObject
*resultobj
= 0;
15082 wxFont
*arg1
= (wxFont
*) 0 ;
15086 PyObject
*swig_obj
[1] ;
15088 if (!args
) SWIG_fail
;
15089 swig_obj
[0] = args
;
15090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15091 if (!SWIG_IsOK(res1
)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15094 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= ((wxFont
const *)arg1
)->GetWeightString();
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15114 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
= 0;
15116 wxFont
*arg1
= (wxFont
*) 0 ;
15117 bool arg2
= (bool) true ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 char * kwnames
[] = {
15125 (char *) "self",(char *) "no", NULL
15128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15130 if (!SWIG_IsOK(res1
)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15133 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15135 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15136 if (!SWIG_IsOK(ecode2
)) {
15137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15139 arg2
= static_cast< bool >(val2
);
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 (arg1
)->SetNoAntiAliasing(arg2
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= SWIG_Py_Void();
15154 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15155 PyObject
*resultobj
= 0;
15156 wxFont
*arg1
= (wxFont
*) 0 ;
15160 PyObject
*swig_obj
[1] ;
15162 if (!args
) SWIG_fail
;
15163 swig_obj
[0] = args
;
15164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15165 if (!SWIG_IsOK(res1
)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15168 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15184 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15185 PyObject
*resultobj
= 0;
15186 wxFontEncoding result
;
15188 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15190 if (!wxPyCheckForApp()) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= SWIG_From_int(static_cast< int >(result
));
15203 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
= 0;
15205 wxFontEncoding arg1
;
15208 PyObject
* obj0
= 0 ;
15209 char * kwnames
[] = {
15210 (char *) "encoding", NULL
15213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15214 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15215 if (!SWIG_IsOK(ecode1
)) {
15216 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15218 arg1
= static_cast< wxFontEncoding
>(val1
);
15220 if (!wxPyCheckForApp()) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 wxFont::SetDefaultEncoding(arg1
);
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= SWIG_Py_Void();
15233 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15236 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15237 return SWIG_Py_Void();
15240 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15241 return SWIG_Python_InitShadowInstance(args
);
15244 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15245 PyObject
*resultobj
= 0;
15246 wxPyFontEnumerator
*result
= 0 ;
15248 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15250 if (!wxPyCheckForApp()) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15263 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15264 PyObject
*resultobj
= 0;
15265 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15268 PyObject
*swig_obj
[1] ;
15270 if (!args
) SWIG_fail
;
15271 swig_obj
[0] = args
;
15272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15273 if (!SWIG_IsOK(res1
)) {
15274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15276 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= SWIG_Py_Void();
15291 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
= 0;
15293 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15294 PyObject
*arg2
= (PyObject
*) 0 ;
15295 PyObject
*arg3
= (PyObject
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 PyObject
* obj2
= 0 ;
15304 PyObject
* obj3
= 0 ;
15305 char * kwnames
[] = {
15306 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15311 if (!SWIG_IsOK(res1
)) {
15312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15314 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15317 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15318 if (!SWIG_IsOK(ecode4
)) {
15319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15321 arg4
= static_cast< bool >(val4
);
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= SWIG_Py_Void();
15335 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
= 0;
15337 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15338 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15339 bool arg3
= (bool) false ;
15347 PyObject
* obj0
= 0 ;
15348 PyObject
* obj1
= 0 ;
15349 PyObject
* obj2
= 0 ;
15350 char * kwnames
[] = {
15351 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15356 if (!SWIG_IsOK(res1
)) {
15357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15359 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15362 if (!SWIG_IsOK(ecode2
)) {
15363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15365 arg2
= static_cast< wxFontEncoding
>(val2
);
15368 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15369 if (!SWIG_IsOK(ecode3
)) {
15370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15372 arg3
= static_cast< bool >(val3
);
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15389 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
= 0;
15391 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15392 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15393 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15397 bool temp2
= false ;
15398 PyObject
* obj0
= 0 ;
15399 PyObject
* obj1
= 0 ;
15400 char * kwnames
[] = {
15401 (char *) "self",(char *) "facename", NULL
15404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15406 if (!SWIG_IsOK(res1
)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15409 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15412 arg2
= wxString_in_helper(obj1
);
15413 if (arg2
== NULL
) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15440 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15441 PyObject
*resultobj
= 0;
15442 PyObject
*result
= 0 ;
15444 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= result
;
15458 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15459 PyObject
*resultobj
= 0;
15460 PyObject
*result
= 0 ;
15462 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= result
;
15476 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
= 0;
15478 wxString
*arg1
= 0 ;
15480 bool temp1
= false ;
15481 PyObject
* obj0
= 0 ;
15482 char * kwnames
[] = {
15483 (char *) "str", NULL
15486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15488 arg1
= wxString_in_helper(obj0
);
15489 if (arg1
== NULL
) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15515 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15518 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15519 return SWIG_Py_Void();
15522 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15523 return SWIG_Python_InitShadowInstance(args
);
15526 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15527 PyObject
*resultobj
= 0;
15528 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15534 PyObject
*swig_obj
[2] ;
15536 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15538 if (!SWIG_IsOK(res1
)) {
15539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15541 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15542 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15543 if (!SWIG_IsOK(ecode2
)) {
15544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15546 arg2
= static_cast< int >(val2
);
15547 if (arg1
) (arg1
)->Language
= arg2
;
15549 resultobj
= SWIG_Py_Void();
15556 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15557 PyObject
*resultobj
= 0;
15558 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15562 PyObject
*swig_obj
[1] ;
15564 if (!args
) SWIG_fail
;
15565 swig_obj
[0] = args
;
15566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15567 if (!SWIG_IsOK(res1
)) {
15568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15570 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15571 result
= (int) ((arg1
)->Language
);
15572 resultobj
= SWIG_From_int(static_cast< int >(result
));
15579 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15580 PyObject
*resultobj
= 0;
15581 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15582 wxString
*arg2
= (wxString
*) 0 ;
15585 bool temp2
= false ;
15586 PyObject
*swig_obj
[2] ;
15588 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15590 if (!SWIG_IsOK(res1
)) {
15591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15593 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15595 arg2
= wxString_in_helper(swig_obj
[1]);
15596 if (arg2
== NULL
) SWIG_fail
;
15599 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15601 resultobj
= SWIG_Py_Void();
15616 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15617 PyObject
*resultobj
= 0;
15618 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15619 wxString
*result
= 0 ;
15622 PyObject
*swig_obj
[1] ;
15624 if (!args
) SWIG_fail
;
15625 swig_obj
[0] = args
;
15626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15627 if (!SWIG_IsOK(res1
)) {
15628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15630 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15631 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15634 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15636 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15645 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15646 PyObject
*resultobj
= 0;
15647 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15648 wxString
*arg2
= (wxString
*) 0 ;
15651 bool temp2
= false ;
15652 PyObject
*swig_obj
[2] ;
15654 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15656 if (!SWIG_IsOK(res1
)) {
15657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15659 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15661 arg2
= wxString_in_helper(swig_obj
[1]);
15662 if (arg2
== NULL
) SWIG_fail
;
15665 if (arg1
) (arg1
)->Description
= *arg2
;
15667 resultobj
= SWIG_Py_Void();
15682 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15683 PyObject
*resultobj
= 0;
15684 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15685 wxString
*result
= 0 ;
15688 PyObject
*swig_obj
[1] ;
15690 if (!args
) SWIG_fail
;
15691 swig_obj
[0] = args
;
15692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15693 if (!SWIG_IsOK(res1
)) {
15694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15696 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15697 result
= (wxString
*)& ((arg1
)->Description
);
15700 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15702 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15711 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15714 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15715 return SWIG_Py_Void();
15718 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
= 0;
15720 int arg1
= (int) -1 ;
15721 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15722 wxLocale
*result
= 0 ;
15727 PyObject
* obj0
= 0 ;
15728 PyObject
* obj1
= 0 ;
15729 char * kwnames
[] = {
15730 (char *) "language",(char *) "flags", NULL
15733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15736 if (!SWIG_IsOK(ecode1
)) {
15737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15739 arg1
= static_cast< int >(val1
);
15742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15743 if (!SWIG_IsOK(ecode2
)) {
15744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15746 arg2
= static_cast< int >(val2
);
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15761 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15762 PyObject
*resultobj
= 0;
15763 wxLocale
*arg1
= (wxLocale
*) 0 ;
15766 PyObject
*swig_obj
[1] ;
15768 if (!args
) SWIG_fail
;
15769 swig_obj
[0] = args
;
15770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15771 if (!SWIG_IsOK(res1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15774 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= SWIG_Py_Void();
15789 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
= 0;
15791 wxLocale
*arg1
= (wxLocale
*) 0 ;
15792 wxString
*arg2
= 0 ;
15793 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15794 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15795 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15796 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15797 bool arg5
= (bool) true ;
15798 bool arg6
= (bool) false ;
15802 bool temp2
= false ;
15803 bool temp3
= false ;
15804 bool temp4
= false ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 PyObject
* obj2
= 0 ;
15812 PyObject
* obj3
= 0 ;
15813 PyObject
* obj4
= 0 ;
15814 PyObject
* obj5
= 0 ;
15815 char * kwnames
[] = {
15816 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15821 if (!SWIG_IsOK(res1
)) {
15822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15824 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15826 arg2
= wxString_in_helper(obj1
);
15827 if (arg2
== NULL
) SWIG_fail
;
15832 arg3
= wxString_in_helper(obj2
);
15833 if (arg3
== NULL
) SWIG_fail
;
15839 arg4
= wxString_in_helper(obj3
);
15840 if (arg4
== NULL
) SWIG_fail
;
15845 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15846 if (!SWIG_IsOK(ecode5
)) {
15847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15849 arg5
= static_cast< bool >(val5
);
15852 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15853 if (!SWIG_IsOK(ecode6
)) {
15854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15856 arg6
= static_cast< bool >(val6
);
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15897 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
= 0;
15899 wxLocale
*arg1
= (wxLocale
*) 0 ;
15900 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15901 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 PyObject
* obj2
= 0 ;
15912 char * kwnames
[] = {
15913 (char *) "self",(char *) "language",(char *) "flags", NULL
15916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15918 if (!SWIG_IsOK(res1
)) {
15919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15921 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15924 if (!SWIG_IsOK(ecode2
)) {
15925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15927 arg2
= static_cast< int >(val2
);
15930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15931 if (!SWIG_IsOK(ecode3
)) {
15932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15934 arg3
= static_cast< int >(val3
);
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15951 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15952 PyObject
*resultobj
= 0;
15955 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (int)wxLocale::GetSystemLanguage();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= SWIG_From_int(static_cast< int >(result
));
15969 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15970 PyObject
*resultobj
= 0;
15971 wxFontEncoding result
;
15973 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= SWIG_From_int(static_cast< int >(result
));
15987 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15988 PyObject
*resultobj
= 0;
15991 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= wxLocale::GetSystemEncodingName();
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16011 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16012 PyObject
*resultobj
= 0;
16013 wxLocale
*arg1
= (wxLocale
*) 0 ;
16017 PyObject
*swig_obj
[1] ;
16019 if (!args
) SWIG_fail
;
16020 swig_obj
[0] = args
;
16021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16022 if (!SWIG_IsOK(res1
)) {
16023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16025 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16041 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16042 PyObject
*resultobj
= 0;
16043 wxLocale
*arg1
= (wxLocale
*) 0 ;
16047 PyObject
*swig_obj
[1] ;
16049 if (!args
) SWIG_fail
;
16050 swig_obj
[0] = args
;
16051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16052 if (!SWIG_IsOK(res1
)) {
16053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16055 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= ((wxLocale
const *)arg1
)->GetLocale();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16075 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16076 PyObject
*resultobj
= 0;
16077 wxLocale
*arg1
= (wxLocale
*) 0 ;
16081 PyObject
*swig_obj
[1] ;
16083 if (!args
) SWIG_fail
;
16084 swig_obj
[0] = args
;
16085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16086 if (!SWIG_IsOK(res1
)) {
16087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16089 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= SWIG_From_int(static_cast< int >(result
));
16103 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16104 PyObject
*resultobj
= 0;
16105 wxLocale
*arg1
= (wxLocale
*) 0 ;
16109 PyObject
*swig_obj
[1] ;
16111 if (!args
) SWIG_fail
;
16112 swig_obj
[0] = args
;
16113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16114 if (!SWIG_IsOK(res1
)) {
16115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16117 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= ((wxLocale
const *)arg1
)->GetSysName();
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16137 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16138 PyObject
*resultobj
= 0;
16139 wxLocale
*arg1
= (wxLocale
*) 0 ;
16143 PyObject
*swig_obj
[1] ;
16145 if (!args
) SWIG_fail
;
16146 swig_obj
[0] = args
;
16147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16148 if (!SWIG_IsOK(res1
)) {
16149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16151 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16171 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
= 0;
16173 wxString
*arg1
= 0 ;
16174 bool temp1
= false ;
16175 PyObject
* obj0
= 0 ;
16176 char * kwnames
[] = {
16177 (char *) "prefix", NULL
16180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16182 arg1
= wxString_in_helper(obj0
);
16183 if (arg1
== NULL
) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_Py_Void();
16207 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
= 0;
16209 wxLocale
*arg1
= (wxLocale
*) 0 ;
16210 wxString
*arg2
= 0 ;
16214 bool temp2
= false ;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 char * kwnames
[] = {
16218 (char *) "self",(char *) "szDomain", NULL
16221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16223 if (!SWIG_IsOK(res1
)) {
16224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16226 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16228 arg2
= wxString_in_helper(obj1
);
16229 if (arg2
== NULL
) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16255 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
= 0;
16261 PyObject
* obj0
= 0 ;
16262 char * kwnames
[] = {
16263 (char *) "lang", NULL
16266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16267 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16268 if (!SWIG_IsOK(ecode1
)) {
16269 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16271 arg1
= static_cast< int >(val1
);
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= (bool)wxLocale::IsAvailable(arg1
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16287 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
= 0;
16289 wxLocale
*arg1
= (wxLocale
*) 0 ;
16290 wxString
*arg2
= 0 ;
16294 bool temp2
= false ;
16295 PyObject
* obj0
= 0 ;
16296 PyObject
* obj1
= 0 ;
16297 char * kwnames
[] = {
16298 (char *) "self",(char *) "szDomain", NULL
16301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16303 if (!SWIG_IsOK(res1
)) {
16304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16306 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16308 arg2
= wxString_in_helper(obj1
);
16309 if (arg2
== NULL
) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16335 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
= 0;
16338 wxLanguageInfo
*result
= 0 ;
16341 PyObject
* obj0
= 0 ;
16342 char * kwnames
[] = {
16343 (char *) "lang", NULL
16346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16347 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16348 if (!SWIG_IsOK(ecode1
)) {
16349 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16351 arg1
= static_cast< int >(val1
);
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16365 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
= 0;
16371 PyObject
* obj0
= 0 ;
16372 char * kwnames
[] = {
16373 (char *) "lang", NULL
16376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16377 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16378 if (!SWIG_IsOK(ecode1
)) {
16379 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16381 arg1
= static_cast< int >(val1
);
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 result
= wxLocale::GetLanguageName(arg1
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16401 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
= 0;
16403 wxString
*arg1
= 0 ;
16404 wxLanguageInfo
*result
= 0 ;
16405 bool temp1
= false ;
16406 PyObject
* obj0
= 0 ;
16407 char * kwnames
[] = {
16408 (char *) "locale", NULL
16411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16413 arg1
= wxString_in_helper(obj0
);
16414 if (arg1
== NULL
) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16438 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
= 0;
16440 wxLanguageInfo
*arg1
= 0 ;
16443 PyObject
* obj0
= 0 ;
16444 char * kwnames
[] = {
16445 (char *) "info", NULL
16448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16449 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16450 if (!SWIG_IsOK(res1
)) {
16451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16456 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= SWIG_Py_Void();
16470 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
= 0;
16472 wxLocale
*arg1
= (wxLocale
*) 0 ;
16473 wxString
*arg2
= 0 ;
16474 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16475 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16479 bool temp2
= false ;
16480 bool temp3
= false ;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 PyObject
* obj2
= 0 ;
16484 char * kwnames
[] = {
16485 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16490 if (!SWIG_IsOK(res1
)) {
16491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16493 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16495 arg2
= wxString_in_helper(obj1
);
16496 if (arg2
== NULL
) SWIG_fail
;
16501 arg3
= wxString_in_helper(obj2
);
16502 if (arg3
== NULL
) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16541 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16542 PyObject
*resultobj
= 0;
16543 wxLocale
*arg1
= (wxLocale
*) 0 ;
16544 wxString
*result
= 0 ;
16547 PyObject
*swig_obj
[1] ;
16549 if (!args
) SWIG_fail
;
16550 swig_obj
[0] = args
;
16551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16552 if (!SWIG_IsOK(res1
)) {
16553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16555 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16560 result
= (wxString
*) &_result_ref
;
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16578 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16581 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16582 return SWIG_Py_Void();
16585 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16586 return SWIG_Python_InitShadowInstance(args
);
16589 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
= 0;
16591 int arg1
= (int) -1 ;
16592 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16593 wxPyLocale
*result
= 0 ;
16598 PyObject
* obj0
= 0 ;
16599 PyObject
* obj1
= 0 ;
16600 char * kwnames
[] = {
16601 (char *) "language",(char *) "flags", NULL
16604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16606 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16607 if (!SWIG_IsOK(ecode1
)) {
16608 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16610 arg1
= static_cast< int >(val1
);
16613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16614 if (!SWIG_IsOK(ecode2
)) {
16615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16617 arg2
= static_cast< int >(val2
);
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16632 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16633 PyObject
*resultobj
= 0;
16634 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16637 PyObject
*swig_obj
[1] ;
16639 if (!args
) SWIG_fail
;
16640 swig_obj
[0] = args
;
16641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16642 if (!SWIG_IsOK(res1
)) {
16643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16645 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= SWIG_Py_Void();
16660 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
= 0;
16662 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16663 PyObject
*arg2
= (PyObject
*) 0 ;
16664 PyObject
*arg3
= (PyObject
*) 0 ;
16667 PyObject
* obj0
= 0 ;
16668 PyObject
* obj1
= 0 ;
16669 PyObject
* obj2
= 0 ;
16670 char * kwnames
[] = {
16671 (char *) "self",(char *) "self",(char *) "_class", NULL
16674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16676 if (!SWIG_IsOK(res1
)) {
16677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16679 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= SWIG_Py_Void();
16695 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
= 0;
16697 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16698 wxChar
*arg2
= (wxChar
*) 0 ;
16699 wxChar
*arg3
= (wxChar
*) NULL
;
16700 wxChar
*result
= 0 ;
16707 PyObject
* obj0
= 0 ;
16708 PyObject
* obj1
= 0 ;
16709 PyObject
* obj2
= 0 ;
16710 char * kwnames
[] = {
16711 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16716 if (!SWIG_IsOK(res1
)) {
16717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16719 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16721 if (!SWIG_IsOK(res2
)) {
16722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16724 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16726 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16727 if (!SWIG_IsOK(res3
)) {
16728 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16730 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16745 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
= 0;
16747 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16748 wxChar
*arg2
= (wxChar
*) 0 ;
16749 wxChar
*arg3
= (wxChar
*) 0 ;
16751 wxChar
*arg5
= (wxChar
*) NULL
;
16752 wxChar
*result
= 0 ;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 PyObject
* obj2
= 0 ;
16766 PyObject
* obj3
= 0 ;
16767 PyObject
* obj4
= 0 ;
16768 char * kwnames
[] = {
16769 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16774 if (!SWIG_IsOK(res1
)) {
16775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16777 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16779 if (!SWIG_IsOK(res2
)) {
16780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16782 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16783 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16784 if (!SWIG_IsOK(res3
)) {
16785 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16787 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16788 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16789 if (!SWIG_IsOK(ecode4
)) {
16790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16792 arg4
= static_cast< size_t >(val4
);
16794 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16795 if (!SWIG_IsOK(res5
)) {
16796 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16798 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16813 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16816 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16817 return SWIG_Py_Void();
16820 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16821 return SWIG_Python_InitShadowInstance(args
);
16824 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16825 PyObject
*resultobj
= 0;
16826 wxLocale
*result
= 0 ;
16828 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16831 result
= (wxLocale
*)wxGetLocale();
16832 wxPyEndAllowThreads(__tstate
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16842 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16843 PyObject
*resultobj
= 0;
16844 wxString
*arg1
= 0 ;
16846 bool temp1
= false ;
16848 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16850 arg1
= wxString_in_helper(swig_obj
[0]);
16851 if (arg1
== NULL
) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= wxGetTranslation((wxString
const &)*arg1
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16881 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16882 PyObject
*resultobj
= 0;
16883 wxString
*arg1
= 0 ;
16884 wxString
*arg2
= 0 ;
16886 bool temp1
= false ;
16887 bool temp2
= false ;
16889 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16891 arg1
= wxString_in_helper(swig_obj
[0]);
16892 if (arg1
== NULL
) SWIG_fail
;
16896 arg2
= wxString_in_helper(swig_obj
[1]);
16897 if (arg2
== NULL
) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16935 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16936 PyObject
*resultobj
= 0;
16937 wxString
*arg1
= 0 ;
16938 wxString
*arg2
= 0 ;
16941 bool temp1
= false ;
16942 bool temp2
= false ;
16946 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16948 arg1
= wxString_in_helper(swig_obj
[0]);
16949 if (arg1
== NULL
) SWIG_fail
;
16953 arg2
= wxString_in_helper(swig_obj
[1]);
16954 if (arg2
== NULL
) SWIG_fail
;
16957 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16958 if (!SWIG_IsOK(ecode3
)) {
16959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16961 arg3
= static_cast< size_t >(val3
);
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16997 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16998 PyObject
*resultobj
= 0;
16999 wxString
*arg1
= 0 ;
17000 wxString
*arg2
= 0 ;
17002 wxString
*arg4
= 0 ;
17004 bool temp1
= false ;
17005 bool temp2
= false ;
17008 bool temp4
= false ;
17010 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17012 arg1
= wxString_in_helper(swig_obj
[0]);
17013 if (arg1
== NULL
) SWIG_fail
;
17017 arg2
= wxString_in_helper(swig_obj
[1]);
17018 if (arg2
== NULL
) SWIG_fail
;
17021 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17022 if (!SWIG_IsOK(ecode3
)) {
17023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17025 arg3
= static_cast< size_t >(val3
);
17027 arg4
= wxString_in_helper(swig_obj
[3]);
17028 if (arg4
== NULL
) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17074 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17078 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17081 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17084 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17087 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17090 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17094 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17099 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17100 PyObject
*resultobj
= 0;
17101 wxEncodingConverter
*result
= 0 ;
17103 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17117 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17118 PyObject
*resultobj
= 0;
17119 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17122 PyObject
*swig_obj
[1] ;
17124 if (!args
) SWIG_fail
;
17125 swig_obj
[0] = args
;
17126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17127 if (!SWIG_IsOK(res1
)) {
17128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17130 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= SWIG_Py_Void();
17145 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
= 0;
17147 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17148 wxFontEncoding arg2
;
17149 wxFontEncoding arg3
;
17150 int arg4
= (int) wxCONVERT_STRICT
;
17160 PyObject
* obj0
= 0 ;
17161 PyObject
* obj1
= 0 ;
17162 PyObject
* obj2
= 0 ;
17163 PyObject
* obj3
= 0 ;
17164 char * kwnames
[] = {
17165 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17170 if (!SWIG_IsOK(res1
)) {
17171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17173 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17175 if (!SWIG_IsOK(ecode2
)) {
17176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17178 arg2
= static_cast< wxFontEncoding
>(val2
);
17179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17180 if (!SWIG_IsOK(ecode3
)) {
17181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17183 arg3
= static_cast< wxFontEncoding
>(val3
);
17185 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17186 if (!SWIG_IsOK(ecode4
)) {
17187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17189 arg4
= static_cast< int >(val4
);
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17206 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
= 0;
17208 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17209 wxString
*arg2
= 0 ;
17213 bool temp2
= false ;
17214 PyObject
* obj0
= 0 ;
17215 PyObject
* obj1
= 0 ;
17216 char * kwnames
[] = {
17217 (char *) "self",(char *) "input", NULL
17220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17222 if (!SWIG_IsOK(res1
)) {
17223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17225 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17227 arg2
= wxString_in_helper(obj1
);
17228 if (arg2
== NULL
) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17258 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
= 0;
17260 wxFontEncoding arg1
;
17261 int arg2
= (int) wxPLATFORM_CURRENT
;
17262 wxFontEncodingArray result
;
17267 PyObject
* obj0
= 0 ;
17268 PyObject
* obj1
= 0 ;
17269 char * kwnames
[] = {
17270 (char *) "enc",(char *) "platform", NULL
17273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17275 if (!SWIG_IsOK(ecode1
)) {
17276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17278 arg1
= static_cast< wxFontEncoding
>(val1
);
17280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17281 if (!SWIG_IsOK(ecode2
)) {
17282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17284 arg2
= static_cast< int >(val2
);
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= PyList_New(0);
17294 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17295 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17296 PyList_Append(resultobj
, number
);
17306 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
= 0;
17308 wxFontEncoding arg1
;
17309 wxFontEncodingArray result
;
17312 PyObject
* obj0
= 0 ;
17313 char * kwnames
[] = {
17314 (char *) "enc", NULL
17317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17318 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17319 if (!SWIG_IsOK(ecode1
)) {
17320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17322 arg1
= static_cast< wxFontEncoding
>(val1
);
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= PyList_New(0);
17331 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17332 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17333 PyList_Append(resultobj
, number
);
17343 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
= 0;
17345 wxFontEncoding arg1
;
17346 wxFontEncoding arg2
;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char * kwnames
[] = {
17355 (char *) "encIn",(char *) "encOut", NULL
17358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17360 if (!SWIG_IsOK(ecode1
)) {
17361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17363 arg1
= static_cast< wxFontEncoding
>(val1
);
17364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17365 if (!SWIG_IsOK(ecode2
)) {
17366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17368 arg2
= static_cast< wxFontEncoding
>(val2
);
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17384 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17387 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17388 return SWIG_Py_Void();
17391 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17392 return SWIG_Python_InitShadowInstance(args
);
17395 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17396 PyObject
*resultobj
= 0;
17397 wxDC
*arg1
= (wxDC
*) 0 ;
17400 PyObject
*swig_obj
[1] ;
17402 if (!args
) SWIG_fail
;
17403 swig_obj
[0] = args
;
17404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17405 if (!SWIG_IsOK(res1
)) {
17406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= SWIG_Py_Void();
17423 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
= 0;
17425 wxDC
*arg1
= (wxDC
*) 0 ;
17428 wxColour
*arg4
= 0 ;
17429 int arg5
= (int) wxFLOOD_SURFACE
;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 PyObject
* obj2
= 0 ;
17443 PyObject
* obj3
= 0 ;
17444 PyObject
* obj4
= 0 ;
17445 char * kwnames
[] = {
17446 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17451 if (!SWIG_IsOK(res1
)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17456 if (!SWIG_IsOK(ecode2
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17459 arg2
= static_cast< int >(val2
);
17460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17461 if (!SWIG_IsOK(ecode3
)) {
17462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17464 arg3
= static_cast< int >(val3
);
17467 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17470 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17471 if (!SWIG_IsOK(ecode5
)) {
17472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17474 arg5
= static_cast< int >(val5
);
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17491 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
= 0;
17493 wxDC
*arg1
= (wxDC
*) 0 ;
17494 wxPoint
*arg2
= 0 ;
17495 wxColour
*arg3
= 0 ;
17496 int arg4
= (int) wxFLOOD_SURFACE
;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 PyObject
* obj2
= 0 ;
17507 PyObject
* obj3
= 0 ;
17508 char * kwnames
[] = {
17509 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17514 if (!SWIG_IsOK(res1
)) {
17515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17524 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17528 if (!SWIG_IsOK(ecode4
)) {
17529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17531 arg4
= static_cast< int >(val4
);
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17548 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
= 0;
17550 wxDC
*arg1
= (wxDC
*) 0 ;
17552 wxColour
*arg3
= 0 ;
17553 wxColour
*arg4
= 0 ;
17554 wxPoint
*arg5
= 0 ;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 PyObject
* obj2
= 0 ;
17564 PyObject
* obj3
= 0 ;
17565 PyObject
* obj4
= 0 ;
17566 char * kwnames
[] = {
17567 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17572 if (!SWIG_IsOK(res1
)) {
17573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17578 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17582 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17586 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17590 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= SWIG_Py_Void();
17605 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
= 0;
17607 wxDC
*arg1
= (wxDC
*) 0 ;
17609 wxColour
*arg3
= 0 ;
17610 wxColour
*arg4
= 0 ;
17611 wxDirection arg5
= (wxDirection
) wxEAST
;
17619 PyObject
* obj0
= 0 ;
17620 PyObject
* obj1
= 0 ;
17621 PyObject
* obj2
= 0 ;
17622 PyObject
* obj3
= 0 ;
17623 PyObject
* obj4
= 0 ;
17624 char * kwnames
[] = {
17625 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17630 if (!SWIG_IsOK(res1
)) {
17631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17636 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17640 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17644 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17647 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17648 if (!SWIG_IsOK(ecode5
)) {
17649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17651 arg5
= static_cast< wxDirection
>(val5
);
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_Py_Void();
17666 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
= 0;
17668 wxDC
*arg1
= (wxDC
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 PyObject
* obj2
= 0 ;
17681 char * kwnames
[] = {
17682 (char *) "self",(char *) "x",(char *) "y", NULL
17685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17687 if (!SWIG_IsOK(res1
)) {
17688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17692 if (!SWIG_IsOK(ecode2
)) {
17693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17695 arg2
= static_cast< int >(val2
);
17696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17697 if (!SWIG_IsOK(ecode3
)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17700 arg3
= static_cast< int >(val3
);
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17714 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
= 0;
17716 wxDC
*arg1
= (wxDC
*) 0 ;
17717 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_GetPixelPoint",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_GetPixelPoint" "', 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 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17751 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
= 0;
17753 wxDC
*arg1
= (wxDC
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 PyObject
* obj2
= 0 ;
17771 PyObject
* obj3
= 0 ;
17772 PyObject
* obj4
= 0 ;
17773 char * kwnames
[] = {
17774 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17779 if (!SWIG_IsOK(res1
)) {
17780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17784 if (!SWIG_IsOK(ecode2
)) {
17785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17787 arg2
= static_cast< int >(val2
);
17788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17789 if (!SWIG_IsOK(ecode3
)) {
17790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17792 arg3
= static_cast< int >(val3
);
17793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17794 if (!SWIG_IsOK(ecode4
)) {
17795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17797 arg4
= static_cast< int >(val4
);
17798 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17799 if (!SWIG_IsOK(ecode5
)) {
17800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17802 arg5
= static_cast< int >(val5
);
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= SWIG_Py_Void();
17816 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
= 0;
17818 wxDC
*arg1
= (wxDC
*) 0 ;
17819 wxPoint
*arg2
= 0 ;
17820 wxPoint
*arg3
= 0 ;
17825 PyObject
* obj0
= 0 ;
17826 PyObject
* obj1
= 0 ;
17827 PyObject
* obj2
= 0 ;
17828 char * kwnames
[] = {
17829 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17834 if (!SWIG_IsOK(res1
)) {
17835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17840 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 resultobj
= SWIG_Py_Void();
17859 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
= 0;
17861 wxDC
*arg1
= (wxDC
*) 0 ;
17870 PyObject
* obj0
= 0 ;
17871 PyObject
* obj1
= 0 ;
17872 PyObject
* obj2
= 0 ;
17873 char * kwnames
[] = {
17874 (char *) "self",(char *) "x",(char *) "y", NULL
17877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17879 if (!SWIG_IsOK(res1
)) {
17880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17884 if (!SWIG_IsOK(ecode2
)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17887 arg2
= static_cast< int >(val2
);
17888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17889 if (!SWIG_IsOK(ecode3
)) {
17890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17892 arg3
= static_cast< int >(val3
);
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->CrossHair(arg2
,arg3
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_Py_Void();
17906 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
= 0;
17908 wxDC
*arg1
= (wxDC
*) 0 ;
17909 wxPoint
*arg2
= 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 char * kwnames
[] = {
17916 (char *) "self",(char *) "pt", NULL
17919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17921 if (!SWIG_IsOK(res1
)) {
17922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17927 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_Py_Void();
17942 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
= 0;
17944 wxDC
*arg1
= (wxDC
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 PyObject
* obj2
= 0 ;
17968 PyObject
* obj3
= 0 ;
17969 PyObject
* obj4
= 0 ;
17970 PyObject
* obj5
= 0 ;
17971 PyObject
* obj6
= 0 ;
17972 char * kwnames
[] = {
17973 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17978 if (!SWIG_IsOK(res1
)) {
17979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17983 if (!SWIG_IsOK(ecode2
)) {
17984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17986 arg2
= static_cast< int >(val2
);
17987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17988 if (!SWIG_IsOK(ecode3
)) {
17989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17991 arg3
= static_cast< int >(val3
);
17992 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17993 if (!SWIG_IsOK(ecode4
)) {
17994 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17996 arg4
= static_cast< int >(val4
);
17997 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17998 if (!SWIG_IsOK(ecode5
)) {
17999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18001 arg5
= static_cast< int >(val5
);
18002 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18003 if (!SWIG_IsOK(ecode6
)) {
18004 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18006 arg6
= static_cast< int >(val6
);
18007 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18008 if (!SWIG_IsOK(ecode7
)) {
18009 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18011 arg7
= static_cast< int >(val7
);
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 resultobj
= SWIG_Py_Void();
18025 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
= 0;
18027 wxDC
*arg1
= (wxDC
*) 0 ;
18028 wxPoint
*arg2
= 0 ;
18029 wxPoint
*arg3
= 0 ;
18030 wxPoint
*arg4
= 0 ;
18036 PyObject
* obj0
= 0 ;
18037 PyObject
* obj1
= 0 ;
18038 PyObject
* obj2
= 0 ;
18039 PyObject
* obj3
= 0 ;
18040 char * kwnames
[] = {
18041 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18046 if (!SWIG_IsOK(res1
)) {
18047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18060 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= SWIG_Py_Void();
18075 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
= 0;
18077 wxDC
*arg1
= (wxDC
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 PyObject
* obj2
= 0 ;
18095 PyObject
* obj3
= 0 ;
18096 PyObject
* obj4
= 0 ;
18097 char * kwnames
[] = {
18098 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18103 if (!SWIG_IsOK(res1
)) {
18104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18106 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18108 if (!SWIG_IsOK(ecode2
)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18111 arg2
= static_cast< int >(val2
);
18112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18113 if (!SWIG_IsOK(ecode3
)) {
18114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18116 arg3
= static_cast< int >(val3
);
18117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18118 if (!SWIG_IsOK(ecode4
)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18121 arg4
= static_cast< int >(val4
);
18122 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18123 if (!SWIG_IsOK(ecode5
)) {
18124 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18126 arg5
= static_cast< int >(val5
);
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_Py_Void();
18140 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
= 0;
18142 wxDC
*arg1
= (wxDC
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 PyObject
* obj1
= 0 ;
18149 char * kwnames
[] = {
18150 (char *) "self",(char *) "rect", NULL
18153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18155 if (!SWIG_IsOK(res1
)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18161 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_Py_Void();
18176 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
= 0;
18178 wxDC
*arg1
= (wxDC
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 PyObject
* obj2
= 0 ;
18202 PyObject
* obj3
= 0 ;
18203 PyObject
* obj4
= 0 ;
18204 PyObject
* obj5
= 0 ;
18205 PyObject
* obj6
= 0 ;
18206 char * kwnames
[] = {
18207 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18212 if (!SWIG_IsOK(res1
)) {
18213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18217 if (!SWIG_IsOK(ecode2
)) {
18218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18220 arg2
= static_cast< int >(val2
);
18221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18222 if (!SWIG_IsOK(ecode3
)) {
18223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18225 arg3
= static_cast< int >(val3
);
18226 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18227 if (!SWIG_IsOK(ecode4
)) {
18228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18230 arg4
= static_cast< int >(val4
);
18231 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18232 if (!SWIG_IsOK(ecode5
)) {
18233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18235 arg5
= static_cast< int >(val5
);
18236 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18237 if (!SWIG_IsOK(ecode6
)) {
18238 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18240 arg6
= static_cast< double >(val6
);
18241 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18242 if (!SWIG_IsOK(ecode7
)) {
18243 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18245 arg7
= static_cast< double >(val7
);
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_Py_Void();
18259 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
= 0;
18261 wxDC
*arg1
= (wxDC
*) 0 ;
18262 wxPoint
*arg2
= 0 ;
18274 PyObject
* obj0
= 0 ;
18275 PyObject
* obj1
= 0 ;
18276 PyObject
* obj2
= 0 ;
18277 PyObject
* obj3
= 0 ;
18278 PyObject
* obj4
= 0 ;
18279 char * kwnames
[] = {
18280 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18285 if (!SWIG_IsOK(res1
)) {
18286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18291 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18295 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18297 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18298 if (!SWIG_IsOK(ecode4
)) {
18299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18301 arg4
= static_cast< double >(val4
);
18302 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18303 if (!SWIG_IsOK(ecode5
)) {
18304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18306 arg5
= static_cast< double >(val5
);
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= SWIG_Py_Void();
18320 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
= 0;
18322 wxDC
*arg1
= (wxDC
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 PyObject
* obj2
= 0 ;
18334 char * kwnames
[] = {
18335 (char *) "self",(char *) "x",(char *) "y", NULL
18338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18340 if (!SWIG_IsOK(res1
)) {
18341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18345 if (!SWIG_IsOK(ecode2
)) {
18346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18348 arg2
= static_cast< int >(val2
);
18349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18350 if (!SWIG_IsOK(ecode3
)) {
18351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18353 arg3
= static_cast< int >(val3
);
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 (arg1
)->DrawPoint(arg2
,arg3
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= SWIG_Py_Void();
18367 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
= 0;
18369 wxDC
*arg1
= (wxDC
*) 0 ;
18370 wxPoint
*arg2
= 0 ;
18374 PyObject
* obj0
= 0 ;
18375 PyObject
* obj1
= 0 ;
18376 char * kwnames
[] = {
18377 (char *) "self",(char *) "pt", NULL
18380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18382 if (!SWIG_IsOK(res1
)) {
18383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= SWIG_Py_Void();
18403 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
= 0;
18405 wxDC
*arg1
= (wxDC
*) 0 ;
18420 PyObject
* obj0
= 0 ;
18421 PyObject
* obj1
= 0 ;
18422 PyObject
* obj2
= 0 ;
18423 PyObject
* obj3
= 0 ;
18424 PyObject
* obj4
= 0 ;
18425 char * kwnames
[] = {
18426 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18431 if (!SWIG_IsOK(res1
)) {
18432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18434 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18436 if (!SWIG_IsOK(ecode2
)) {
18437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18439 arg2
= static_cast< int >(val2
);
18440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18441 if (!SWIG_IsOK(ecode3
)) {
18442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18444 arg3
= static_cast< int >(val3
);
18445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18446 if (!SWIG_IsOK(ecode4
)) {
18447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18449 arg4
= static_cast< int >(val4
);
18450 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18451 if (!SWIG_IsOK(ecode5
)) {
18452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18454 arg5
= static_cast< int >(val5
);
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 resultobj
= SWIG_Py_Void();
18468 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
= 0;
18470 wxDC
*arg1
= (wxDC
*) 0 ;
18475 PyObject
* obj0
= 0 ;
18476 PyObject
* obj1
= 0 ;
18477 char * kwnames
[] = {
18478 (char *) "self",(char *) "rect", NULL
18481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18483 if (!SWIG_IsOK(res1
)) {
18484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18489 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= SWIG_Py_Void();
18504 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
= 0;
18506 wxDC
*arg1
= (wxDC
*) 0 ;
18507 wxPoint
*arg2
= 0 ;
18513 PyObject
* obj0
= 0 ;
18514 PyObject
* obj1
= 0 ;
18515 PyObject
* obj2
= 0 ;
18516 char * kwnames
[] = {
18517 (char *) "self",(char *) "pt",(char *) "sz", NULL
18520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18522 if (!SWIG_IsOK(res1
)) {
18523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18528 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18532 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_Py_Void();
18547 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
= 0;
18549 wxDC
*arg1
= (wxDC
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 PyObject
* obj2
= 0 ;
18570 PyObject
* obj3
= 0 ;
18571 PyObject
* obj4
= 0 ;
18572 PyObject
* obj5
= 0 ;
18573 char * kwnames
[] = {
18574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18579 if (!SWIG_IsOK(res1
)) {
18580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18584 if (!SWIG_IsOK(ecode2
)) {
18585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18587 arg2
= static_cast< int >(val2
);
18588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18589 if (!SWIG_IsOK(ecode3
)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18592 arg3
= static_cast< int >(val3
);
18593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18594 if (!SWIG_IsOK(ecode4
)) {
18595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18597 arg4
= static_cast< int >(val4
);
18598 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18599 if (!SWIG_IsOK(ecode5
)) {
18600 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18602 arg5
= static_cast< int >(val5
);
18603 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18604 if (!SWIG_IsOK(ecode6
)) {
18605 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18607 arg6
= static_cast< double >(val6
);
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= SWIG_Py_Void();
18621 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
= 0;
18623 wxDC
*arg1
= (wxDC
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 PyObject
* obj1
= 0 ;
18633 PyObject
* obj2
= 0 ;
18634 char * kwnames
[] = {
18635 (char *) "self",(char *) "r",(char *) "radius", NULL
18638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18640 if (!SWIG_IsOK(res1
)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18646 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18648 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18649 if (!SWIG_IsOK(ecode3
)) {
18650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18652 arg3
= static_cast< double >(val3
);
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= SWIG_Py_Void();
18666 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
= 0;
18668 wxDC
*arg1
= (wxDC
*) 0 ;
18669 wxPoint
*arg2
= 0 ;
18678 PyObject
* obj0
= 0 ;
18679 PyObject
* obj1
= 0 ;
18680 PyObject
* obj2
= 0 ;
18681 PyObject
* obj3
= 0 ;
18682 char * kwnames
[] = {
18683 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18688 if (!SWIG_IsOK(res1
)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18694 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18698 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18700 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18701 if (!SWIG_IsOK(ecode4
)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18704 arg4
= static_cast< double >(val4
);
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_Py_Void();
18718 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
= 0;
18720 wxDC
*arg1
= (wxDC
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 PyObject
* obj1
= 0 ;
18734 PyObject
* obj2
= 0 ;
18735 PyObject
* obj3
= 0 ;
18736 char * kwnames
[] = {
18737 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18742 if (!SWIG_IsOK(res1
)) {
18743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18747 if (!SWIG_IsOK(ecode2
)) {
18748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18750 arg2
= static_cast< int >(val2
);
18751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18752 if (!SWIG_IsOK(ecode3
)) {
18753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18755 arg3
= static_cast< int >(val3
);
18756 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18757 if (!SWIG_IsOK(ecode4
)) {
18758 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18760 arg4
= static_cast< int >(val4
);
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_Py_Void();
18774 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
= 0;
18776 wxDC
*arg1
= (wxDC
*) 0 ;
18777 wxPoint
*arg2
= 0 ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 PyObject
* obj2
= 0 ;
18787 char * kwnames
[] = {
18788 (char *) "self",(char *) "pt",(char *) "radius", NULL
18791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18793 if (!SWIG_IsOK(res1
)) {
18794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18802 if (!SWIG_IsOK(ecode3
)) {
18803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18805 arg3
= static_cast< int >(val3
);
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= SWIG_Py_Void();
18819 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18820 PyObject
*resultobj
= 0;
18821 wxDC
*arg1
= (wxDC
*) 0 ;
18836 PyObject
* obj0
= 0 ;
18837 PyObject
* obj1
= 0 ;
18838 PyObject
* obj2
= 0 ;
18839 PyObject
* obj3
= 0 ;
18840 PyObject
* obj4
= 0 ;
18841 char * kwnames
[] = {
18842 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18847 if (!SWIG_IsOK(res1
)) {
18848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18852 if (!SWIG_IsOK(ecode2
)) {
18853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18855 arg2
= static_cast< int >(val2
);
18856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18857 if (!SWIG_IsOK(ecode3
)) {
18858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18860 arg3
= static_cast< int >(val3
);
18861 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18862 if (!SWIG_IsOK(ecode4
)) {
18863 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18865 arg4
= static_cast< int >(val4
);
18866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18867 if (!SWIG_IsOK(ecode5
)) {
18868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18870 arg5
= static_cast< int >(val5
);
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18877 resultobj
= SWIG_Py_Void();
18884 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
= 0;
18886 wxDC
*arg1
= (wxDC
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 PyObject
* obj1
= 0 ;
18893 char * kwnames
[] = {
18894 (char *) "self",(char *) "rect", NULL
18897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18899 if (!SWIG_IsOK(res1
)) {
18900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18905 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= SWIG_Py_Void();
18920 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
= 0;
18922 wxDC
*arg1
= (wxDC
*) 0 ;
18923 wxPoint
*arg2
= 0 ;
18929 PyObject
* obj0
= 0 ;
18930 PyObject
* obj1
= 0 ;
18931 PyObject
* obj2
= 0 ;
18932 char * kwnames
[] = {
18933 (char *) "self",(char *) "pt",(char *) "sz", NULL
18936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18938 if (!SWIG_IsOK(res1
)) {
18939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18948 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= SWIG_Py_Void();
18963 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
= 0;
18965 wxDC
*arg1
= (wxDC
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 PyObject
* obj2
= 0 ;
18980 PyObject
* obj3
= 0 ;
18981 char * kwnames
[] = {
18982 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18987 if (!SWIG_IsOK(res1
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18992 if (!SWIG_IsOK(res2
)) {
18993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18998 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19000 if (!SWIG_IsOK(ecode3
)) {
19001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19003 arg3
= static_cast< int >(val3
);
19004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19005 if (!SWIG_IsOK(ecode4
)) {
19006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19008 arg4
= static_cast< int >(val4
);
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_Py_Void();
19022 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
= 0;
19024 wxDC
*arg1
= (wxDC
*) 0 ;
19026 wxPoint
*arg3
= 0 ;
19032 PyObject
* obj0
= 0 ;
19033 PyObject
* obj1
= 0 ;
19034 PyObject
* obj2
= 0 ;
19035 char * kwnames
[] = {
19036 (char *) "self",(char *) "icon",(char *) "pt", NULL
19039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19041 if (!SWIG_IsOK(res1
)) {
19042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19046 if (!SWIG_IsOK(res2
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19052 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19055 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= SWIG_Py_Void();
19070 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
= 0;
19072 wxDC
*arg1
= (wxDC
*) 0 ;
19073 wxBitmap
*arg2
= 0 ;
19076 bool arg5
= (bool) false ;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 PyObject
* obj2
= 0 ;
19090 PyObject
* obj3
= 0 ;
19091 PyObject
* obj4
= 0 ;
19092 char * kwnames
[] = {
19093 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19098 if (!SWIG_IsOK(res1
)) {
19099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19103 if (!SWIG_IsOK(res2
)) {
19104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19109 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19111 if (!SWIG_IsOK(ecode3
)) {
19112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19114 arg3
= static_cast< int >(val3
);
19115 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19116 if (!SWIG_IsOK(ecode4
)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19119 arg4
= static_cast< int >(val4
);
19121 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19122 if (!SWIG_IsOK(ecode5
)) {
19123 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19125 arg5
= static_cast< bool >(val5
);
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_Py_Void();
19140 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
= 0;
19142 wxDC
*arg1
= (wxDC
*) 0 ;
19143 wxBitmap
*arg2
= 0 ;
19144 wxPoint
*arg3
= 0 ;
19145 bool arg4
= (bool) false ;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 PyObject
* obj2
= 0 ;
19156 PyObject
* obj3
= 0 ;
19157 char * kwnames
[] = {
19158 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19163 if (!SWIG_IsOK(res1
)) {
19164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19168 if (!SWIG_IsOK(res2
)) {
19169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19174 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19177 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19180 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19181 if (!SWIG_IsOK(ecode4
)) {
19182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19184 arg4
= static_cast< bool >(val4
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_Py_Void();
19199 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= 0;
19201 wxDC
*arg1
= (wxDC
*) 0 ;
19202 wxString
*arg2
= 0 ;
19207 bool temp2
= false ;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 PyObject
* obj2
= 0 ;
19215 PyObject
* obj3
= 0 ;
19216 char * kwnames
[] = {
19217 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19222 if (!SWIG_IsOK(res1
)) {
19223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19225 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19227 arg2
= wxString_in_helper(obj1
);
19228 if (arg2
== NULL
) SWIG_fail
;
19231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19232 if (!SWIG_IsOK(ecode3
)) {
19233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19235 arg3
= static_cast< int >(val3
);
19236 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19237 if (!SWIG_IsOK(ecode4
)) {
19238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19240 arg4
= static_cast< int >(val4
);
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= SWIG_Py_Void();
19262 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
= 0;
19264 wxDC
*arg1
= (wxDC
*) 0 ;
19265 wxString
*arg2
= 0 ;
19266 wxPoint
*arg3
= 0 ;
19269 bool temp2
= false ;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 PyObject
* obj2
= 0 ;
19274 char * kwnames
[] = {
19275 (char *) "self",(char *) "text",(char *) "pt", NULL
19278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19280 if (!SWIG_IsOK(res1
)) {
19281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19285 arg2
= wxString_in_helper(obj1
);
19286 if (arg2
== NULL
) SWIG_fail
;
19291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 resultobj
= SWIG_Py_Void();
19314 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
= 0;
19316 wxDC
*arg1
= (wxDC
*) 0 ;
19317 wxString
*arg2
= 0 ;
19323 bool temp2
= false ;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 PyObject
* obj2
= 0 ;
19333 PyObject
* obj3
= 0 ;
19334 PyObject
* obj4
= 0 ;
19335 char * kwnames
[] = {
19336 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19341 if (!SWIG_IsOK(res1
)) {
19342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19346 arg2
= wxString_in_helper(obj1
);
19347 if (arg2
== NULL
) SWIG_fail
;
19350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19351 if (!SWIG_IsOK(ecode3
)) {
19352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19354 arg3
= static_cast< int >(val3
);
19355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19356 if (!SWIG_IsOK(ecode4
)) {
19357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19359 arg4
= static_cast< int >(val4
);
19360 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19361 if (!SWIG_IsOK(ecode5
)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19364 arg5
= static_cast< double >(val5
);
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_Py_Void();
19386 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
= 0;
19388 wxDC
*arg1
= (wxDC
*) 0 ;
19389 wxString
*arg2
= 0 ;
19390 wxPoint
*arg3
= 0 ;
19394 bool temp2
= false ;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 PyObject
* obj2
= 0 ;
19401 PyObject
* obj3
= 0 ;
19402 char * kwnames
[] = {
19403 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19408 if (!SWIG_IsOK(res1
)) {
19409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19413 arg2
= wxString_in_helper(obj1
);
19414 if (arg2
== NULL
) SWIG_fail
;
19419 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19421 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19422 if (!SWIG_IsOK(ecode4
)) {
19423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19425 arg4
= static_cast< double >(val4
);
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19432 resultobj
= SWIG_Py_Void();
19447 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
= 0;
19449 wxDC
*arg1
= (wxDC
*) 0 ;
19454 wxDC
*arg6
= (wxDC
*) 0 ;
19457 int arg9
= (int) wxCOPY
;
19458 bool arg10
= (bool) false ;
19459 int arg11
= (int) -1 ;
19460 int arg12
= (int) -1 ;
19486 PyObject
* obj0
= 0 ;
19487 PyObject
* obj1
= 0 ;
19488 PyObject
* obj2
= 0 ;
19489 PyObject
* obj3
= 0 ;
19490 PyObject
* obj4
= 0 ;
19491 PyObject
* obj5
= 0 ;
19492 PyObject
* obj6
= 0 ;
19493 PyObject
* obj7
= 0 ;
19494 PyObject
* obj8
= 0 ;
19495 PyObject
* obj9
= 0 ;
19496 PyObject
* obj10
= 0 ;
19497 PyObject
* obj11
= 0 ;
19498 char * kwnames
[] = {
19499 (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
19502 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
;
19503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19504 if (!SWIG_IsOK(res1
)) {
19505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19509 if (!SWIG_IsOK(ecode2
)) {
19510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19512 arg2
= static_cast< int >(val2
);
19513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19514 if (!SWIG_IsOK(ecode3
)) {
19515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19517 arg3
= static_cast< int >(val3
);
19518 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19519 if (!SWIG_IsOK(ecode4
)) {
19520 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19522 arg4
= static_cast< int >(val4
);
19523 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19524 if (!SWIG_IsOK(ecode5
)) {
19525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19527 arg5
= static_cast< int >(val5
);
19528 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19529 if (!SWIG_IsOK(res6
)) {
19530 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19532 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19533 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19534 if (!SWIG_IsOK(ecode7
)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19537 arg7
= static_cast< int >(val7
);
19538 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19539 if (!SWIG_IsOK(ecode8
)) {
19540 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19542 arg8
= static_cast< int >(val8
);
19544 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19545 if (!SWIG_IsOK(ecode9
)) {
19546 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19548 arg9
= static_cast< int >(val9
);
19551 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19552 if (!SWIG_IsOK(ecode10
)) {
19553 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19555 arg10
= static_cast< bool >(val10
);
19558 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19559 if (!SWIG_IsOK(ecode11
)) {
19560 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19562 arg11
= static_cast< int >(val11
);
19565 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19566 if (!SWIG_IsOK(ecode12
)) {
19567 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19569 arg12
= static_cast< int >(val12
);
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19586 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
= 0;
19588 wxDC
*arg1
= (wxDC
*) 0 ;
19589 wxPoint
*arg2
= 0 ;
19591 wxDC
*arg4
= (wxDC
*) 0 ;
19592 wxPoint
*arg5
= 0 ;
19593 int arg6
= (int) wxCOPY
;
19594 bool arg7
= (bool) false ;
19595 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19596 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19610 PyObject
* obj0
= 0 ;
19611 PyObject
* obj1
= 0 ;
19612 PyObject
* obj2
= 0 ;
19613 PyObject
* obj3
= 0 ;
19614 PyObject
* obj4
= 0 ;
19615 PyObject
* obj5
= 0 ;
19616 PyObject
* obj6
= 0 ;
19617 PyObject
* obj7
= 0 ;
19618 char * kwnames
[] = {
19619 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19624 if (!SWIG_IsOK(res1
)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19634 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19636 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19637 if (!SWIG_IsOK(res4
)) {
19638 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19640 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19643 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19646 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19647 if (!SWIG_IsOK(ecode6
)) {
19648 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19650 arg6
= static_cast< int >(val6
);
19653 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19654 if (!SWIG_IsOK(ecode7
)) {
19655 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19657 arg7
= static_cast< bool >(val7
);
19662 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19680 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
= 0;
19682 wxDC
*arg1
= (wxDC
*) 0 ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 PyObject
* obj2
= 0 ;
19700 PyObject
* obj3
= 0 ;
19701 PyObject
* obj4
= 0 ;
19702 char * kwnames
[] = {
19703 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19708 if (!SWIG_IsOK(res1
)) {
19709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19713 if (!SWIG_IsOK(ecode2
)) {
19714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19716 arg2
= static_cast< int >(val2
);
19717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19718 if (!SWIG_IsOK(ecode3
)) {
19719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19721 arg3
= static_cast< int >(val3
);
19722 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19723 if (!SWIG_IsOK(ecode4
)) {
19724 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19726 arg4
= static_cast< int >(val4
);
19727 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19728 if (!SWIG_IsOK(ecode5
)) {
19729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19731 arg5
= static_cast< int >(val5
);
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= SWIG_Py_Void();
19745 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
= 0;
19747 wxDC
*arg1
= (wxDC
*) 0 ;
19748 wxPoint
*arg2
= 0 ;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 PyObject
* obj2
= 0 ;
19757 char * kwnames
[] = {
19758 (char *) "self",(char *) "pt",(char *) "sz", NULL
19761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19763 if (!SWIG_IsOK(res1
)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19773 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 resultobj
= SWIG_Py_Void();
19788 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
= 0;
19790 wxDC
*arg1
= (wxDC
*) 0 ;
19791 wxRegion
*arg2
= 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char * kwnames
[] = {
19799 (char *) "self",(char *) "region", NULL
19802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19804 if (!SWIG_IsOK(res1
)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19809 if (!SWIG_IsOK(res2
)) {
19810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19815 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= SWIG_Py_Void();
19829 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
= 0;
19831 wxDC
*arg1
= (wxDC
*) 0 ;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 char * kwnames
[] = {
19839 (char *) "self",(char *) "rect", NULL
19842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19844 if (!SWIG_IsOK(res1
)) {
19845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19850 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= SWIG_Py_Void();
19865 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
= 0;
19867 wxDC
*arg1
= (wxDC
*) 0 ;
19869 wxPoint
*arg3
= (wxPoint
*) 0 ;
19870 int arg4
= (int) 0 ;
19871 int arg5
= (int) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 PyObject
* obj1
= 0 ;
19880 PyObject
* obj2
= 0 ;
19881 PyObject
* obj3
= 0 ;
19882 char * kwnames
[] = {
19883 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19888 if (!SWIG_IsOK(res1
)) {
19889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19893 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19894 if (arg3
== NULL
) SWIG_fail
;
19897 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19898 if (!SWIG_IsOK(ecode4
)) {
19899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19901 arg4
= static_cast< int >(val4
);
19904 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19905 if (!SWIG_IsOK(ecode5
)) {
19906 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19908 arg5
= static_cast< int >(val5
);
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= SWIG_Py_Void();
19918 if (arg3
) delete [] arg3
;
19923 if (arg3
) delete [] arg3
;
19929 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
= 0;
19931 wxDC
*arg1
= (wxDC
*) 0 ;
19933 wxPoint
*arg3
= (wxPoint
*) 0 ;
19934 int arg4
= (int) 0 ;
19935 int arg5
= (int) 0 ;
19936 int arg6
= (int) wxODDEVEN_RULE
;
19945 PyObject
* obj0
= 0 ;
19946 PyObject
* obj1
= 0 ;
19947 PyObject
* obj2
= 0 ;
19948 PyObject
* obj3
= 0 ;
19949 PyObject
* obj4
= 0 ;
19950 char * kwnames
[] = {
19951 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19956 if (!SWIG_IsOK(res1
)) {
19957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19961 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19962 if (arg3
== NULL
) SWIG_fail
;
19965 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19966 if (!SWIG_IsOK(ecode4
)) {
19967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19969 arg4
= static_cast< int >(val4
);
19972 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19973 if (!SWIG_IsOK(ecode5
)) {
19974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19976 arg5
= static_cast< int >(val5
);
19979 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19980 if (!SWIG_IsOK(ecode6
)) {
19981 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19983 arg6
= static_cast< int >(val6
);
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= SWIG_Py_Void();
19993 if (arg3
) delete [] arg3
;
19998 if (arg3
) delete [] arg3
;
20004 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
= 0;
20006 wxDC
*arg1
= (wxDC
*) 0 ;
20007 wxString
*arg2
= 0 ;
20009 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20010 int arg5
= (int) -1 ;
20013 bool temp2
= false ;
20019 PyObject
* obj0
= 0 ;
20020 PyObject
* obj1
= 0 ;
20021 PyObject
* obj2
= 0 ;
20022 PyObject
* obj3
= 0 ;
20023 PyObject
* obj4
= 0 ;
20024 char * kwnames
[] = {
20025 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20030 if (!SWIG_IsOK(res1
)) {
20031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20035 arg2
= wxString_in_helper(obj1
);
20036 if (arg2
== NULL
) SWIG_fail
;
20041 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20045 if (!SWIG_IsOK(ecode4
)) {
20046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20048 arg4
= static_cast< int >(val4
);
20051 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20052 if (!SWIG_IsOK(ecode5
)) {
20053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20055 arg5
= static_cast< int >(val5
);
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_Py_Void();
20078 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
= 0;
20080 wxDC
*arg1
= (wxDC
*) 0 ;
20081 wxString
*arg2
= 0 ;
20082 wxBitmap
*arg3
= 0 ;
20084 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20085 int arg6
= (int) -1 ;
20089 bool temp2
= false ;
20097 PyObject
* obj0
= 0 ;
20098 PyObject
* obj1
= 0 ;
20099 PyObject
* obj2
= 0 ;
20100 PyObject
* obj3
= 0 ;
20101 PyObject
* obj4
= 0 ;
20102 PyObject
* obj5
= 0 ;
20103 char * kwnames
[] = {
20104 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20109 if (!SWIG_IsOK(res1
)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20114 arg2
= wxString_in_helper(obj1
);
20115 if (arg2
== NULL
) SWIG_fail
;
20118 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20119 if (!SWIG_IsOK(res3
)) {
20120 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20125 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20128 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20131 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20132 if (!SWIG_IsOK(ecode5
)) {
20133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20135 arg5
= static_cast< int >(val5
);
20138 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20139 if (!SWIG_IsOK(ecode6
)) {
20140 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20142 arg6
= static_cast< int >(val6
);
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20165 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
= 0;
20167 wxDC
*arg1
= (wxDC
*) 0 ;
20169 wxPoint
*arg3
= (wxPoint
*) 0 ;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 char * kwnames
[] = {
20175 (char *) "self",(char *) "points", NULL
20178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20180 if (!SWIG_IsOK(res1
)) {
20181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20183 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20185 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20186 if (arg3
== NULL
) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 (arg1
)->DrawSpline(arg2
,arg3
);
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 resultobj
= SWIG_Py_Void();
20196 if (arg3
) delete [] arg3
;
20201 if (arg3
) delete [] arg3
;
20207 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20208 PyObject
*resultobj
= 0;
20209 wxDC
*arg1
= (wxDC
*) 0 ;
20212 PyObject
*swig_obj
[1] ;
20214 if (!args
) SWIG_fail
;
20215 swig_obj
[0] = args
;
20216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20217 if (!SWIG_IsOK(res1
)) {
20218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= SWIG_Py_Void();
20234 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
= 0;
20236 wxDC
*arg1
= (wxDC
*) 0 ;
20237 wxString
*arg2
= 0 ;
20241 bool temp2
= false ;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 char * kwnames
[] = {
20245 (char *) "self",(char *) "message", NULL
20248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20250 if (!SWIG_IsOK(res1
)) {
20251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20255 arg2
= wxString_in_helper(obj1
);
20256 if (arg2
== NULL
) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20282 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20283 PyObject
*resultobj
= 0;
20284 wxDC
*arg1
= (wxDC
*) 0 ;
20287 PyObject
*swig_obj
[1] ;
20289 if (!args
) SWIG_fail
;
20290 swig_obj
[0] = args
;
20291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20292 if (!SWIG_IsOK(res1
)) {
20293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 resultobj
= SWIG_Py_Void();
20309 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20310 PyObject
*resultobj
= 0;
20311 wxDC
*arg1
= (wxDC
*) 0 ;
20314 PyObject
*swig_obj
[1] ;
20316 if (!args
) SWIG_fail
;
20317 swig_obj
[0] = args
;
20318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20319 if (!SWIG_IsOK(res1
)) {
20320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 (arg1
)->StartPage();
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 resultobj
= SWIG_Py_Void();
20336 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20337 PyObject
*resultobj
= 0;
20338 wxDC
*arg1
= (wxDC
*) 0 ;
20341 PyObject
*swig_obj
[1] ;
20343 if (!args
) SWIG_fail
;
20344 swig_obj
[0] = args
;
20345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20346 if (!SWIG_IsOK(res1
)) {
20347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= SWIG_Py_Void();
20363 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
= 0;
20365 wxDC
*arg1
= (wxDC
*) 0 ;
20371 PyObject
* obj0
= 0 ;
20372 PyObject
* obj1
= 0 ;
20373 char * kwnames
[] = {
20374 (char *) "self",(char *) "font", NULL
20377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20379 if (!SWIG_IsOK(res1
)) {
20380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20384 if (!SWIG_IsOK(res2
)) {
20385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20390 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 (arg1
)->SetFont((wxFont
const &)*arg2
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_Py_Void();
20404 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
= 0;
20406 wxDC
*arg1
= (wxDC
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20414 char * kwnames
[] = {
20415 (char *) "self",(char *) "pen", NULL
20418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20420 if (!SWIG_IsOK(res1
)) {
20421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20425 if (!SWIG_IsOK(res2
)) {
20426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20431 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 (arg1
)->SetPen((wxPen
const &)*arg2
);
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= SWIG_Py_Void();
20445 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
= 0;
20447 wxDC
*arg1
= (wxDC
*) 0 ;
20448 wxBrush
*arg2
= 0 ;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20455 char * kwnames
[] = {
20456 (char *) "self",(char *) "brush", NULL
20459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20461 if (!SWIG_IsOK(res1
)) {
20462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20466 if (!SWIG_IsOK(res2
)) {
20467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20472 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= SWIG_Py_Void();
20486 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
= 0;
20488 wxDC
*arg1
= (wxDC
*) 0 ;
20489 wxBrush
*arg2
= 0 ;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 char * kwnames
[] = {
20497 (char *) "self",(char *) "brush", NULL
20500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20502 if (!SWIG_IsOK(res1
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20507 if (!SWIG_IsOK(res2
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20513 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= SWIG_Py_Void();
20527 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
= 0;
20529 wxDC
*arg1
= (wxDC
*) 0 ;
20535 PyObject
* obj0
= 0 ;
20536 PyObject
* obj1
= 0 ;
20537 char * kwnames
[] = {
20538 (char *) "self",(char *) "mode", NULL
20541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20543 if (!SWIG_IsOK(res1
)) {
20544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20548 if (!SWIG_IsOK(ecode2
)) {
20549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20551 arg2
= static_cast< int >(val2
);
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 (arg1
)->SetBackgroundMode(arg2
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= SWIG_Py_Void();
20565 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
= 0;
20567 wxDC
*arg1
= (wxDC
*) 0 ;
20568 wxPalette
*arg2
= 0 ;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20575 char * kwnames
[] = {
20576 (char *) "self",(char *) "palette", NULL
20579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20581 if (!SWIG_IsOK(res1
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20586 if (!SWIG_IsOK(res2
)) {
20587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20592 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_Py_Void();
20606 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20607 PyObject
*resultobj
= 0;
20608 wxDC
*arg1
= (wxDC
*) 0 ;
20611 PyObject
*swig_obj
[1] ;
20613 if (!args
) SWIG_fail
;
20614 swig_obj
[0] = args
;
20615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20616 if (!SWIG_IsOK(res1
)) {
20617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 (arg1
)->DestroyClippingRegion();
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_Py_Void();
20633 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20634 PyObject
*resultobj
= 0;
20635 wxDC
*arg1
= (wxDC
*) 0 ;
20636 int *arg2
= (int *) 0 ;
20637 int *arg3
= (int *) 0 ;
20638 int *arg4
= (int *) 0 ;
20639 int *arg5
= (int *) 0 ;
20643 int res2
= SWIG_TMPOBJ
;
20645 int res3
= SWIG_TMPOBJ
;
20647 int res4
= SWIG_TMPOBJ
;
20649 int res5
= SWIG_TMPOBJ
;
20650 PyObject
*swig_obj
[1] ;
20656 if (!args
) SWIG_fail
;
20657 swig_obj
[0] = args
;
20658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20659 if (!SWIG_IsOK(res1
)) {
20660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= SWIG_Py_Void();
20670 if (SWIG_IsTmpObj(res2
)) {
20671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20673 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20676 if (SWIG_IsTmpObj(res3
)) {
20677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20679 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20682 if (SWIG_IsTmpObj(res4
)) {
20683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20685 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20688 if (SWIG_IsTmpObj(res5
)) {
20689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20691 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20700 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20701 PyObject
*resultobj
= 0;
20702 wxDC
*arg1
= (wxDC
*) 0 ;
20706 PyObject
*swig_obj
[1] ;
20708 if (!args
) SWIG_fail
;
20709 swig_obj
[0] = args
;
20710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20711 if (!SWIG_IsOK(res1
)) {
20712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= wxDC_GetClippingRect(arg1
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20728 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20729 PyObject
*resultobj
= 0;
20730 wxDC
*arg1
= (wxDC
*) 0 ;
20734 PyObject
*swig_obj
[1] ;
20736 if (!args
) SWIG_fail
;
20737 swig_obj
[0] = args
;
20738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20739 if (!SWIG_IsOK(res1
)) {
20740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= SWIG_From_int(static_cast< int >(result
));
20756 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20757 PyObject
*resultobj
= 0;
20758 wxDC
*arg1
= (wxDC
*) 0 ;
20762 PyObject
*swig_obj
[1] ;
20764 if (!args
) SWIG_fail
;
20765 swig_obj
[0] = args
;
20766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20767 if (!SWIG_IsOK(res1
)) {
20768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= SWIG_From_int(static_cast< int >(result
));
20784 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
= 0;
20786 wxDC
*arg1
= (wxDC
*) 0 ;
20787 wxString
*arg2
= 0 ;
20788 int *arg3
= (int *) 0 ;
20789 int *arg4
= (int *) 0 ;
20792 bool temp2
= false ;
20794 int res3
= SWIG_TMPOBJ
;
20796 int res4
= SWIG_TMPOBJ
;
20797 PyObject
* obj0
= 0 ;
20798 PyObject
* obj1
= 0 ;
20799 char * kwnames
[] = {
20800 (char *) "self",(char *) "string", NULL
20805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20807 if (!SWIG_IsOK(res1
)) {
20808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20812 arg2
= wxString_in_helper(obj1
);
20813 if (arg2
== NULL
) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= SWIG_Py_Void();
20823 if (SWIG_IsTmpObj(res3
)) {
20824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20826 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20829 if (SWIG_IsTmpObj(res4
)) {
20830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20832 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20849 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
= 0;
20851 wxDC
*arg1
= (wxDC
*) 0 ;
20852 wxString
*arg2
= 0 ;
20853 int *arg3
= (int *) 0 ;
20854 int *arg4
= (int *) 0 ;
20855 int *arg5
= (int *) 0 ;
20856 int *arg6
= (int *) 0 ;
20857 wxFont
*arg7
= (wxFont
*) NULL
;
20860 bool temp2
= false ;
20862 int res3
= SWIG_TMPOBJ
;
20864 int res4
= SWIG_TMPOBJ
;
20866 int res5
= SWIG_TMPOBJ
;
20868 int res6
= SWIG_TMPOBJ
;
20871 PyObject
* obj0
= 0 ;
20872 PyObject
* obj1
= 0 ;
20873 PyObject
* obj2
= 0 ;
20874 char * kwnames
[] = {
20875 (char *) "self",(char *) "string",(char *) "font", NULL
20882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20884 if (!SWIG_IsOK(res1
)) {
20885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20887 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20889 arg2
= wxString_in_helper(obj1
);
20890 if (arg2
== NULL
) SWIG_fail
;
20894 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20895 if (!SWIG_IsOK(res7
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20898 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= SWIG_Py_Void();
20907 if (SWIG_IsTmpObj(res3
)) {
20908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20910 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20913 if (SWIG_IsTmpObj(res4
)) {
20914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20916 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20919 if (SWIG_IsTmpObj(res5
)) {
20920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20922 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20925 if (SWIG_IsTmpObj(res6
)) {
20926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20928 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20945 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
= 0;
20947 wxDC
*arg1
= (wxDC
*) 0 ;
20948 wxString
*arg2
= 0 ;
20949 int *arg3
= (int *) 0 ;
20950 int *arg4
= (int *) 0 ;
20951 int *arg5
= (int *) 0 ;
20952 wxFont
*arg6
= (wxFont
*) NULL
;
20955 bool temp2
= false ;
20957 int res3
= SWIG_TMPOBJ
;
20959 int res4
= SWIG_TMPOBJ
;
20961 int res5
= SWIG_TMPOBJ
;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 PyObject
* obj2
= 0 ;
20967 char * kwnames
[] = {
20968 (char *) "self",(char *) "text",(char *) "font", NULL
20974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20976 if (!SWIG_IsOK(res1
)) {
20977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20981 arg2
= wxString_in_helper(obj1
);
20982 if (arg2
== NULL
) SWIG_fail
;
20986 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20987 if (!SWIG_IsOK(res6
)) {
20988 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20990 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= SWIG_Py_Void();
20999 if (SWIG_IsTmpObj(res3
)) {
21000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21002 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21005 if (SWIG_IsTmpObj(res4
)) {
21006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21008 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21011 if (SWIG_IsTmpObj(res5
)) {
21012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21014 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21031 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
= 0;
21033 wxDC
*arg1
= (wxDC
*) 0 ;
21034 wxString
*arg2
= 0 ;
21038 bool temp2
= false ;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 char * kwnames
[] = {
21042 (char *) "self",(char *) "text", NULL
21045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21047 if (!SWIG_IsOK(res1
)) {
21048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21052 arg2
= wxString_in_helper(obj1
);
21053 if (arg2
== NULL
) SWIG_fail
;
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= wxArrayInt2PyList_helper(result
);
21079 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21080 PyObject
*resultobj
= 0;
21081 wxDC
*arg1
= (wxDC
*) 0 ;
21085 PyObject
*swig_obj
[1] ;
21087 if (!args
) SWIG_fail
;
21088 swig_obj
[0] = args
;
21089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21090 if (!SWIG_IsOK(res1
)) {
21091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (arg1
)->GetSize();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21107 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21108 PyObject
*resultobj
= 0;
21109 wxDC
*arg1
= (wxDC
*) 0 ;
21110 int *arg2
= (int *) 0 ;
21111 int *arg3
= (int *) 0 ;
21115 int res2
= SWIG_TMPOBJ
;
21117 int res3
= SWIG_TMPOBJ
;
21118 PyObject
*swig_obj
[1] ;
21122 if (!args
) SWIG_fail
;
21123 swig_obj
[0] = args
;
21124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21125 if (!SWIG_IsOK(res1
)) {
21126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 (arg1
)->GetSize(arg2
,arg3
);
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= SWIG_Py_Void();
21136 if (SWIG_IsTmpObj(res2
)) {
21137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21139 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21142 if (SWIG_IsTmpObj(res3
)) {
21143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21145 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21154 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21155 PyObject
*resultobj
= 0;
21156 wxDC
*arg1
= (wxDC
*) 0 ;
21160 PyObject
*swig_obj
[1] ;
21162 if (!args
) SWIG_fail
;
21163 swig_obj
[0] = args
;
21164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21165 if (!SWIG_IsOK(res1
)) {
21166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21182 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21183 PyObject
*resultobj
= 0;
21184 wxDC
*arg1
= (wxDC
*) 0 ;
21185 int *arg2
= (int *) 0 ;
21186 int *arg3
= (int *) 0 ;
21190 int res2
= SWIG_TMPOBJ
;
21192 int res3
= SWIG_TMPOBJ
;
21193 PyObject
*swig_obj
[1] ;
21197 if (!args
) SWIG_fail
;
21198 swig_obj
[0] = args
;
21199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21200 if (!SWIG_IsOK(res1
)) {
21201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= SWIG_Py_Void();
21211 if (SWIG_IsTmpObj(res2
)) {
21212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21214 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21217 if (SWIG_IsTmpObj(res3
)) {
21218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21220 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21229 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
= 0;
21231 wxDC
*arg1
= (wxDC
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 char * kwnames
[] = {
21241 (char *) "self",(char *) "x", NULL
21244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21246 if (!SWIG_IsOK(res1
)) {
21247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21249 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21251 if (!SWIG_IsOK(ecode2
)) {
21252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21254 arg2
= static_cast< int >(val2
);
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= SWIG_From_int(static_cast< int >(result
));
21268 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
= 0;
21270 wxDC
*arg1
= (wxDC
*) 0 ;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 char * kwnames
[] = {
21280 (char *) "self",(char *) "y", NULL
21283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21285 if (!SWIG_IsOK(res1
)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21290 if (!SWIG_IsOK(ecode2
)) {
21291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21293 arg2
= static_cast< int >(val2
);
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_From_int(static_cast< int >(result
));
21307 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
= 0;
21309 wxDC
*arg1
= (wxDC
*) 0 ;
21316 PyObject
* obj0
= 0 ;
21317 PyObject
* obj1
= 0 ;
21318 char * kwnames
[] = {
21319 (char *) "self",(char *) "x", NULL
21322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21324 if (!SWIG_IsOK(res1
)) {
21325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21329 if (!SWIG_IsOK(ecode2
)) {
21330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21332 arg2
= static_cast< int >(val2
);
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= SWIG_From_int(static_cast< int >(result
));
21346 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
= 0;
21348 wxDC
*arg1
= (wxDC
*) 0 ;
21355 PyObject
* obj0
= 0 ;
21356 PyObject
* obj1
= 0 ;
21357 char * kwnames
[] = {
21358 (char *) "self",(char *) "y", NULL
21361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21363 if (!SWIG_IsOK(res1
)) {
21364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21368 if (!SWIG_IsOK(ecode2
)) {
21369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21371 arg2
= static_cast< int >(val2
);
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_From_int(static_cast< int >(result
));
21385 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
= 0;
21387 wxDC
*arg1
= (wxDC
*) 0 ;
21394 PyObject
* obj0
= 0 ;
21395 PyObject
* obj1
= 0 ;
21396 char * kwnames
[] = {
21397 (char *) "self",(char *) "x", NULL
21400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21402 if (!SWIG_IsOK(res1
)) {
21403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21407 if (!SWIG_IsOK(ecode2
)) {
21408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21410 arg2
= static_cast< int >(val2
);
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= SWIG_From_int(static_cast< int >(result
));
21424 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
= 0;
21426 wxDC
*arg1
= (wxDC
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 char * kwnames
[] = {
21436 (char *) "self",(char *) "y", NULL
21439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21441 if (!SWIG_IsOK(res1
)) {
21442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21446 if (!SWIG_IsOK(ecode2
)) {
21447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21449 arg2
= static_cast< int >(val2
);
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_From_int(static_cast< int >(result
));
21463 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
= 0;
21465 wxDC
*arg1
= (wxDC
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 char * kwnames
[] = {
21475 (char *) "self",(char *) "x", NULL
21478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21480 if (!SWIG_IsOK(res1
)) {
21481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21485 if (!SWIG_IsOK(ecode2
)) {
21486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21488 arg2
= static_cast< int >(val2
);
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= SWIG_From_int(static_cast< int >(result
));
21502 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
= 0;
21504 wxDC
*arg1
= (wxDC
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 char * kwnames
[] = {
21514 (char *) "self",(char *) "y", NULL
21517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21519 if (!SWIG_IsOK(res1
)) {
21520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21524 if (!SWIG_IsOK(ecode2
)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21527 arg2
= static_cast< int >(val2
);
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= SWIG_From_int(static_cast< int >(result
));
21541 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21542 PyObject
*resultobj
= 0;
21543 wxDC
*arg1
= (wxDC
*) 0 ;
21547 PyObject
*swig_obj
[1] ;
21549 if (!args
) SWIG_fail
;
21550 swig_obj
[0] = args
;
21551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21552 if (!SWIG_IsOK(res1
)) {
21553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21571 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21572 PyObject
*resultobj
= 0;
21573 wxDC
*arg1
= (wxDC
*) 0 ;
21577 PyObject
*swig_obj
[1] ;
21579 if (!args
) SWIG_fail
;
21580 swig_obj
[0] = args
;
21581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21582 if (!SWIG_IsOK(res1
)) {
21583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21601 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21602 PyObject
*resultobj
= 0;
21603 wxDC
*arg1
= (wxDC
*) 0 ;
21607 PyObject
*swig_obj
[1] ;
21609 if (!args
) SWIG_fail
;
21610 swig_obj
[0] = args
;
21611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21612 if (!SWIG_IsOK(res1
)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= SWIG_From_int(static_cast< int >(result
));
21629 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21630 PyObject
*resultobj
= 0;
21631 wxDC
*arg1
= (wxDC
*) 0 ;
21635 PyObject
*swig_obj
[1] ;
21637 if (!args
) SWIG_fail
;
21638 swig_obj
[0] = args
;
21639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 result
= ((wxDC
const *)arg1
)->GetPPI();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21657 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21658 PyObject
*resultobj
= 0;
21659 wxDC
*arg1
= (wxDC
*) 0 ;
21663 PyObject
*swig_obj
[1] ;
21665 if (!args
) SWIG_fail
;
21666 swig_obj
[0] = args
;
21667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21668 if (!SWIG_IsOK(res1
)) {
21669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21687 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21688 PyObject
*resultobj
= 0;
21689 wxDC
*arg1
= (wxDC
*) 0 ;
21693 PyObject
*swig_obj
[1] ;
21695 if (!args
) SWIG_fail
;
21696 swig_obj
[0] = args
;
21697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21698 if (!SWIG_IsOK(res1
)) {
21699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= SWIG_From_int(static_cast< int >(result
));
21715 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21716 PyObject
*resultobj
= 0;
21717 wxDC
*arg1
= (wxDC
*) 0 ;
21718 wxBrush
*result
= 0 ;
21721 PyObject
*swig_obj
[1] ;
21723 if (!args
) SWIG_fail
;
21724 swig_obj
[0] = args
;
21725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21726 if (!SWIG_IsOK(res1
)) {
21727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21729 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21734 result
= (wxBrush
*) &_result_ref
;
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21740 wxBrush
* resultptr
= new wxBrush(*result
);
21741 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21749 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21750 PyObject
*resultobj
= 0;
21751 wxDC
*arg1
= (wxDC
*) 0 ;
21752 wxBrush
*result
= 0 ;
21755 PyObject
*swig_obj
[1] ;
21757 if (!args
) SWIG_fail
;
21758 swig_obj
[0] = args
;
21759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21760 if (!SWIG_IsOK(res1
)) {
21761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21768 result
= (wxBrush
*) &_result_ref
;
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 wxBrush
* resultptr
= new wxBrush(*result
);
21775 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21783 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21784 PyObject
*resultobj
= 0;
21785 wxDC
*arg1
= (wxDC
*) 0 ;
21786 wxFont
*result
= 0 ;
21789 PyObject
*swig_obj
[1] ;
21791 if (!args
) SWIG_fail
;
21792 swig_obj
[0] = args
;
21793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21802 result
= (wxFont
*) &_result_ref
;
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21808 wxFont
* resultptr
= new wxFont(*result
);
21809 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21817 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21818 PyObject
*resultobj
= 0;
21819 wxDC
*arg1
= (wxDC
*) 0 ;
21820 wxPen
*result
= 0 ;
21823 PyObject
*swig_obj
[1] ;
21825 if (!args
) SWIG_fail
;
21826 swig_obj
[0] = args
;
21827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21828 if (!SWIG_IsOK(res1
)) {
21829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21831 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21836 result
= (wxPen
*) &_result_ref
;
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21842 wxPen
* resultptr
= new wxPen(*result
);
21843 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21851 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21852 PyObject
*resultobj
= 0;
21853 wxDC
*arg1
= (wxDC
*) 0 ;
21854 wxColour
*result
= 0 ;
21857 PyObject
*swig_obj
[1] ;
21859 if (!args
) SWIG_fail
;
21860 swig_obj
[0] = args
;
21861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21862 if (!SWIG_IsOK(res1
)) {
21863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21865 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21870 result
= (wxColour
*) &_result_ref
;
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21882 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21883 PyObject
*resultobj
= 0;
21884 wxDC
*arg1
= (wxDC
*) 0 ;
21885 wxColour
*result
= 0 ;
21888 PyObject
*swig_obj
[1] ;
21890 if (!args
) SWIG_fail
;
21891 swig_obj
[0] = args
;
21892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21893 if (!SWIG_IsOK(res1
)) {
21894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21901 result
= (wxColour
*) &_result_ref
;
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21913 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
= 0;
21915 wxDC
*arg1
= (wxDC
*) 0 ;
21916 wxColour
*arg2
= 0 ;
21920 PyObject
* obj0
= 0 ;
21921 PyObject
* obj1
= 0 ;
21922 char * kwnames
[] = {
21923 (char *) "self",(char *) "colour", NULL
21926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21928 if (!SWIG_IsOK(res1
)) {
21929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21934 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 resultobj
= SWIG_Py_Void();
21949 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
= 0;
21951 wxDC
*arg1
= (wxDC
*) 0 ;
21952 wxColour
*arg2
= 0 ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 char * kwnames
[] = {
21959 (char *) "self",(char *) "colour", NULL
21962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21964 if (!SWIG_IsOK(res1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21970 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 resultobj
= SWIG_Py_Void();
21985 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21986 PyObject
*resultobj
= 0;
21987 wxDC
*arg1
= (wxDC
*) 0 ;
21991 PyObject
*swig_obj
[1] ;
21993 if (!args
) SWIG_fail
;
21994 swig_obj
[0] = args
;
21995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21996 if (!SWIG_IsOK(res1
)) {
21997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_From_int(static_cast< int >(result
));
22013 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
= 0;
22015 wxDC
*arg1
= (wxDC
*) 0 ;
22021 PyObject
* obj0
= 0 ;
22022 PyObject
* obj1
= 0 ;
22023 char * kwnames
[] = {
22024 (char *) "self",(char *) "mode", NULL
22027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22029 if (!SWIG_IsOK(res1
)) {
22030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22034 if (!SWIG_IsOK(ecode2
)) {
22035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22037 arg2
= static_cast< int >(val2
);
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 (arg1
)->SetMapMode(arg2
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 resultobj
= SWIG_Py_Void();
22051 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22052 PyObject
*resultobj
= 0;
22053 wxDC
*arg1
= (wxDC
*) 0 ;
22054 double *arg2
= (double *) 0 ;
22055 double *arg3
= (double *) 0 ;
22059 int res2
= SWIG_TMPOBJ
;
22061 int res3
= SWIG_TMPOBJ
;
22062 PyObject
*swig_obj
[1] ;
22066 if (!args
) SWIG_fail
;
22067 swig_obj
[0] = args
;
22068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22069 if (!SWIG_IsOK(res1
)) {
22070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 resultobj
= SWIG_Py_Void();
22080 if (SWIG_IsTmpObj(res2
)) {
22081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22083 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22086 if (SWIG_IsTmpObj(res3
)) {
22087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22089 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22098 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22099 PyObject
*resultobj
= 0;
22100 wxDC
*arg1
= (wxDC
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 PyObject
* obj2
= 0 ;
22112 char * kwnames
[] = {
22113 (char *) "self",(char *) "x",(char *) "y", NULL
22116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22118 if (!SWIG_IsOK(res1
)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22122 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22123 if (!SWIG_IsOK(ecode2
)) {
22124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22126 arg2
= static_cast< double >(val2
);
22127 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22128 if (!SWIG_IsOK(ecode3
)) {
22129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22131 arg3
= static_cast< double >(val3
);
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 (arg1
)->SetUserScale(arg2
,arg3
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 resultobj
= SWIG_Py_Void();
22145 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22146 PyObject
*resultobj
= 0;
22147 wxDC
*arg1
= (wxDC
*) 0 ;
22148 double *arg2
= (double *) 0 ;
22149 double *arg3
= (double *) 0 ;
22153 int res2
= SWIG_TMPOBJ
;
22155 int res3
= SWIG_TMPOBJ
;
22156 PyObject
*swig_obj
[1] ;
22160 if (!args
) SWIG_fail
;
22161 swig_obj
[0] = args
;
22162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22163 if (!SWIG_IsOK(res1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 (arg1
)->GetLogicalScale(arg2
,arg3
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= SWIG_Py_Void();
22174 if (SWIG_IsTmpObj(res2
)) {
22175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22177 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22180 if (SWIG_IsTmpObj(res3
)) {
22181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22183 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22192 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
= 0;
22194 wxDC
*arg1
= (wxDC
*) 0 ;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 PyObject
* obj2
= 0 ;
22206 char * kwnames
[] = {
22207 (char *) "self",(char *) "x",(char *) "y", NULL
22210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22212 if (!SWIG_IsOK(res1
)) {
22213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22216 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22217 if (!SWIG_IsOK(ecode2
)) {
22218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22220 arg2
= static_cast< double >(val2
);
22221 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22222 if (!SWIG_IsOK(ecode3
)) {
22223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22225 arg3
= static_cast< double >(val3
);
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 (arg1
)->SetLogicalScale(arg2
,arg3
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 resultobj
= SWIG_Py_Void();
22239 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22240 PyObject
*resultobj
= 0;
22241 wxDC
*arg1
= (wxDC
*) 0 ;
22245 PyObject
*swig_obj
[1] ;
22247 if (!args
) SWIG_fail
;
22248 swig_obj
[0] = args
;
22249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22250 if (!SWIG_IsOK(res1
)) {
22251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22267 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22268 PyObject
*resultobj
= 0;
22269 wxDC
*arg1
= (wxDC
*) 0 ;
22270 int *arg2
= (int *) 0 ;
22271 int *arg3
= (int *) 0 ;
22275 int res2
= SWIG_TMPOBJ
;
22277 int res3
= SWIG_TMPOBJ
;
22278 PyObject
*swig_obj
[1] ;
22282 if (!args
) SWIG_fail
;
22283 swig_obj
[0] = args
;
22284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22285 if (!SWIG_IsOK(res1
)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= SWIG_Py_Void();
22296 if (SWIG_IsTmpObj(res2
)) {
22297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22299 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22302 if (SWIG_IsTmpObj(res3
)) {
22303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22305 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22314 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
= 0;
22316 wxDC
*arg1
= (wxDC
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 PyObject
* obj2
= 0 ;
22328 char * kwnames
[] = {
22329 (char *) "self",(char *) "x",(char *) "y", NULL
22332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22334 if (!SWIG_IsOK(res1
)) {
22335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22339 if (!SWIG_IsOK(ecode2
)) {
22340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22342 arg2
= static_cast< int >(val2
);
22343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22344 if (!SWIG_IsOK(ecode3
)) {
22345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22347 arg3
= static_cast< int >(val3
);
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= SWIG_Py_Void();
22361 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
= 0;
22363 wxDC
*arg1
= (wxDC
*) 0 ;
22364 wxPoint
*arg2
= 0 ;
22368 PyObject
* obj0
= 0 ;
22369 PyObject
* obj1
= 0 ;
22370 char * kwnames
[] = {
22371 (char *) "self",(char *) "point", NULL
22374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22376 if (!SWIG_IsOK(res1
)) {
22377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_Py_Void();
22397 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22398 PyObject
*resultobj
= 0;
22399 wxDC
*arg1
= (wxDC
*) 0 ;
22403 PyObject
*swig_obj
[1] ;
22405 if (!args
) SWIG_fail
;
22406 swig_obj
[0] = args
;
22407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22408 if (!SWIG_IsOK(res1
)) {
22409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22425 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22426 PyObject
*resultobj
= 0;
22427 wxDC
*arg1
= (wxDC
*) 0 ;
22428 int *arg2
= (int *) 0 ;
22429 int *arg3
= (int *) 0 ;
22433 int res2
= SWIG_TMPOBJ
;
22435 int res3
= SWIG_TMPOBJ
;
22436 PyObject
*swig_obj
[1] ;
22440 if (!args
) SWIG_fail
;
22441 swig_obj
[0] = args
;
22442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22443 if (!SWIG_IsOK(res1
)) {
22444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_Py_Void();
22454 if (SWIG_IsTmpObj(res2
)) {
22455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22457 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22460 if (SWIG_IsTmpObj(res3
)) {
22461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22463 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22472 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
= 0;
22474 wxDC
*arg1
= (wxDC
*) 0 ;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 PyObject
* obj2
= 0 ;
22486 char * kwnames
[] = {
22487 (char *) "self",(char *) "x",(char *) "y", NULL
22490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22492 if (!SWIG_IsOK(res1
)) {
22493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22497 if (!SWIG_IsOK(ecode2
)) {
22498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22500 arg2
= static_cast< int >(val2
);
22501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22502 if (!SWIG_IsOK(ecode3
)) {
22503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22505 arg3
= static_cast< int >(val3
);
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= SWIG_Py_Void();
22519 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
= 0;
22521 wxDC
*arg1
= (wxDC
*) 0 ;
22522 wxPoint
*arg2
= 0 ;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 char * kwnames
[] = {
22529 (char *) "self",(char *) "point", NULL
22532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22534 if (!SWIG_IsOK(res1
)) {
22535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_Py_Void();
22555 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
= 0;
22557 wxDC
*arg1
= (wxDC
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 PyObject
* obj2
= 0 ;
22569 char * kwnames
[] = {
22570 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22575 if (!SWIG_IsOK(res1
)) {
22576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22579 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22580 if (!SWIG_IsOK(ecode2
)) {
22581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22583 arg2
= static_cast< bool >(val2
);
22584 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22585 if (!SWIG_IsOK(ecode3
)) {
22586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22588 arg3
= static_cast< bool >(val3
);
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= SWIG_Py_Void();
22602 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22603 PyObject
*resultobj
= 0;
22604 wxDC
*arg1
= (wxDC
*) 0 ;
22608 PyObject
*swig_obj
[1] ;
22610 if (!args
) SWIG_fail
;
22611 swig_obj
[0] = args
;
22612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22613 if (!SWIG_IsOK(res1
)) {
22614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_From_int(static_cast< int >(result
));
22630 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
= 0;
22632 wxDC
*arg1
= (wxDC
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 PyObject
* obj1
= 0 ;
22640 char * kwnames
[] = {
22641 (char *) "self",(char *) "function", NULL
22644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22646 if (!SWIG_IsOK(res1
)) {
22647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22649 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22651 if (!SWIG_IsOK(ecode2
)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22654 arg2
= static_cast< int >(val2
);
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 (arg1
)->SetLogicalFunction(arg2
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_Py_Void();
22668 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22669 PyObject
*resultobj
= 0;
22670 wxDC
*arg1
= (wxDC
*) 0 ;
22673 PyObject
*swig_obj
[1] ;
22675 if (!args
) SWIG_fail
;
22676 swig_obj
[0] = args
;
22677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22678 if (!SWIG_IsOK(res1
)) {
22679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 (arg1
)->ComputeScaleAndOrigin();
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= SWIG_Py_Void();
22695 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
= 0;
22697 wxDC
*arg1
= (wxDC
*) 0 ;
22706 PyObject
* obj0
= 0 ;
22707 PyObject
* obj1
= 0 ;
22708 PyObject
* obj2
= 0 ;
22709 char * kwnames
[] = {
22710 (char *) "self",(char *) "x",(char *) "y", NULL
22713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22715 if (!SWIG_IsOK(res1
)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22720 if (!SWIG_IsOK(ecode2
)) {
22721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22723 arg2
= static_cast< int >(val2
);
22724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22725 if (!SWIG_IsOK(ecode3
)) {
22726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22728 arg3
= static_cast< int >(val3
);
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= SWIG_Py_Void();
22742 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
= 0;
22744 wxDC
*arg1
= (wxDC
*) 0 ;
22745 wxPoint
*arg2
= 0 ;
22749 PyObject
* obj0
= 0 ;
22750 PyObject
* obj1
= 0 ;
22751 char * kwnames
[] = {
22752 (char *) "self",(char *) "point", NULL
22755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22757 if (!SWIG_IsOK(res1
)) {
22758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22763 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22771 resultobj
= SWIG_Py_Void();
22778 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22779 PyObject
*resultobj
= 0;
22780 wxDC
*arg1
= (wxDC
*) 0 ;
22783 PyObject
*swig_obj
[1] ;
22785 if (!args
) SWIG_fail
;
22786 swig_obj
[0] = args
;
22787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22788 if (!SWIG_IsOK(res1
)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->ResetBoundingBox();
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 resultobj
= SWIG_Py_Void();
22805 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22806 PyObject
*resultobj
= 0;
22807 wxDC
*arg1
= (wxDC
*) 0 ;
22811 PyObject
*swig_obj
[1] ;
22813 if (!args
) SWIG_fail
;
22814 swig_obj
[0] = args
;
22815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22816 if (!SWIG_IsOK(res1
)) {
22817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= (int)((wxDC
const *)arg1
)->MinX();
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 resultobj
= SWIG_From_int(static_cast< int >(result
));
22833 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22834 PyObject
*resultobj
= 0;
22835 wxDC
*arg1
= (wxDC
*) 0 ;
22839 PyObject
*swig_obj
[1] ;
22841 if (!args
) SWIG_fail
;
22842 swig_obj
[0] = args
;
22843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22844 if (!SWIG_IsOK(res1
)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 result
= (int)((wxDC
const *)arg1
)->MaxX();
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= SWIG_From_int(static_cast< int >(result
));
22861 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22862 PyObject
*resultobj
= 0;
22863 wxDC
*arg1
= (wxDC
*) 0 ;
22867 PyObject
*swig_obj
[1] ;
22869 if (!args
) SWIG_fail
;
22870 swig_obj
[0] = args
;
22871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22872 if (!SWIG_IsOK(res1
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 result
= (int)((wxDC
const *)arg1
)->MinY();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= SWIG_From_int(static_cast< int >(result
));
22889 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22890 PyObject
*resultobj
= 0;
22891 wxDC
*arg1
= (wxDC
*) 0 ;
22895 PyObject
*swig_obj
[1] ;
22897 if (!args
) SWIG_fail
;
22898 swig_obj
[0] = args
;
22899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22900 if (!SWIG_IsOK(res1
)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 result
= (int)((wxDC
const *)arg1
)->MaxY();
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_From_int(static_cast< int >(result
));
22917 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22918 PyObject
*resultobj
= 0;
22919 wxDC
*arg1
= (wxDC
*) 0 ;
22920 int *arg2
= (int *) 0 ;
22921 int *arg3
= (int *) 0 ;
22922 int *arg4
= (int *) 0 ;
22923 int *arg5
= (int *) 0 ;
22927 int res2
= SWIG_TMPOBJ
;
22929 int res3
= SWIG_TMPOBJ
;
22931 int res4
= SWIG_TMPOBJ
;
22933 int res5
= SWIG_TMPOBJ
;
22934 PyObject
*swig_obj
[1] ;
22940 if (!args
) SWIG_fail
;
22941 swig_obj
[0] = args
;
22942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22943 if (!SWIG_IsOK(res1
)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22946 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_Py_Void();
22954 if (SWIG_IsTmpObj(res2
)) {
22955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22957 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22960 if (SWIG_IsTmpObj(res3
)) {
22961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22963 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22966 if (SWIG_IsTmpObj(res4
)) {
22967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22969 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22972 if (SWIG_IsTmpObj(res5
)) {
22973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22975 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22984 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22985 PyObject
*resultobj
= 0;
22986 wxDC
*arg1
= (wxDC
*) 0 ;
22987 wxLayoutDirection result
;
22990 PyObject
*swig_obj
[1] ;
22992 if (!args
) SWIG_fail
;
22993 swig_obj
[0] = args
;
22994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22995 if (!SWIG_IsOK(res1
)) {
22996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_From_int(static_cast< int >(result
));
23012 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
= 0;
23014 wxDC
*arg1
= (wxDC
*) 0 ;
23015 wxLayoutDirection arg2
;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char * kwnames
[] = {
23023 (char *) "self",(char *) "dir", NULL
23026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23033 if (!SWIG_IsOK(ecode2
)) {
23034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23036 arg2
= static_cast< wxLayoutDirection
>(val2
);
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 (arg1
)->SetLayoutDirection(arg2
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_Py_Void();
23050 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23051 PyObject
*resultobj
= 0;
23052 wxDC
*arg1
= (wxDC
*) 0 ;
23053 PyObject
*arg2
= (PyObject
*) 0 ;
23054 PyObject
*arg3
= (PyObject
*) 0 ;
23055 PyObject
*arg4
= (PyObject
*) 0 ;
23056 PyObject
*result
= 0 ;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 PyObject
* obj2
= 0 ;
23062 PyObject
* obj3
= 0 ;
23063 char * kwnames
[] = {
23064 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23069 if (!SWIG_IsOK(res1
)) {
23070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= result
;
23089 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
= 0;
23091 wxDC
*arg1
= (wxDC
*) 0 ;
23092 PyObject
*arg2
= (PyObject
*) 0 ;
23093 PyObject
*arg3
= (PyObject
*) 0 ;
23094 PyObject
*arg4
= (PyObject
*) 0 ;
23095 PyObject
*result
= 0 ;
23098 PyObject
* obj0
= 0 ;
23099 PyObject
* obj1
= 0 ;
23100 PyObject
* obj2
= 0 ;
23101 PyObject
* obj3
= 0 ;
23102 char * kwnames
[] = {
23103 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23108 if (!SWIG_IsOK(res1
)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= result
;
23128 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
= 0;
23130 wxDC
*arg1
= (wxDC
*) 0 ;
23131 PyObject
*arg2
= (PyObject
*) 0 ;
23132 PyObject
*arg3
= (PyObject
*) 0 ;
23133 PyObject
*arg4
= (PyObject
*) 0 ;
23134 PyObject
*result
= 0 ;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 PyObject
* obj2
= 0 ;
23140 PyObject
* obj3
= 0 ;
23141 char * kwnames
[] = {
23142 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23147 if (!SWIG_IsOK(res1
)) {
23148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 resultobj
= result
;
23167 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
= 0;
23169 wxDC
*arg1
= (wxDC
*) 0 ;
23170 PyObject
*arg2
= (PyObject
*) 0 ;
23171 PyObject
*arg3
= (PyObject
*) 0 ;
23172 PyObject
*arg4
= (PyObject
*) 0 ;
23173 PyObject
*result
= 0 ;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 PyObject
* obj2
= 0 ;
23179 PyObject
* obj3
= 0 ;
23180 char * kwnames
[] = {
23181 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23186 if (!SWIG_IsOK(res1
)) {
23187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= result
;
23206 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
= 0;
23208 wxDC
*arg1
= (wxDC
*) 0 ;
23209 PyObject
*arg2
= (PyObject
*) 0 ;
23210 PyObject
*arg3
= (PyObject
*) 0 ;
23211 PyObject
*arg4
= (PyObject
*) 0 ;
23212 PyObject
*result
= 0 ;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 PyObject
* obj2
= 0 ;
23218 PyObject
* obj3
= 0 ;
23219 char * kwnames
[] = {
23220 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23225 if (!SWIG_IsOK(res1
)) {
23226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= result
;
23245 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
= 0;
23247 wxDC
*arg1
= (wxDC
*) 0 ;
23248 PyObject
*arg2
= (PyObject
*) 0 ;
23249 PyObject
*arg3
= (PyObject
*) 0 ;
23250 PyObject
*arg4
= (PyObject
*) 0 ;
23251 PyObject
*arg5
= (PyObject
*) 0 ;
23252 PyObject
*result
= 0 ;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 PyObject
* obj2
= 0 ;
23258 PyObject
* obj3
= 0 ;
23259 PyObject
* obj4
= 0 ;
23260 char * kwnames
[] = {
23261 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23266 if (!SWIG_IsOK(res1
)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= result
;
23287 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23290 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23291 return SWIG_Py_Void();
23294 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
= 0;
23297 wxColour
*arg2
= 0 ;
23298 wxDCTextColourChanger
*result
= 0 ;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 char * kwnames
[] = {
23305 (char *) "dc",(char *) "col", NULL
23308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23309 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23310 if (!SWIG_IsOK(res1
)) {
23311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23319 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23334 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23335 PyObject
*resultobj
= 0;
23336 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23339 PyObject
*swig_obj
[1] ;
23341 if (!args
) SWIG_fail
;
23342 swig_obj
[0] = args
;
23343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23344 if (!SWIG_IsOK(res1
)) {
23345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23347 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= SWIG_Py_Void();
23362 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23365 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23366 return SWIG_Py_Void();
23369 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23370 return SWIG_Python_InitShadowInstance(args
);
23373 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
= 0;
23377 wxDCPenChanger
*result
= 0 ;
23382 PyObject
* obj0
= 0 ;
23383 PyObject
* obj1
= 0 ;
23384 char * kwnames
[] = {
23385 (char *) "dc",(char *) "pen", NULL
23388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23389 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23390 if (!SWIG_IsOK(res1
)) {
23391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23398 if (!SWIG_IsOK(res2
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23404 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23418 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23419 PyObject
*resultobj
= 0;
23420 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23423 PyObject
*swig_obj
[1] ;
23425 if (!args
) SWIG_fail
;
23426 swig_obj
[0] = args
;
23427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23428 if (!SWIG_IsOK(res1
)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23431 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= SWIG_Py_Void();
23446 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23449 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23450 return SWIG_Py_Void();
23453 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23454 return SWIG_Python_InitShadowInstance(args
);
23457 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
= 0;
23460 wxBrush
*arg2
= 0 ;
23461 wxDCBrushChanger
*result
= 0 ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 char * kwnames
[] = {
23469 (char *) "dc",(char *) "brush", NULL
23472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23473 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23474 if (!SWIG_IsOK(res1
)) {
23475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23482 if (!SWIG_IsOK(res2
)) {
23483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23488 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23502 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23503 PyObject
*resultobj
= 0;
23504 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23507 PyObject
*swig_obj
[1] ;
23509 if (!args
) SWIG_fail
;
23510 swig_obj
[0] = args
;
23511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23512 if (!SWIG_IsOK(res1
)) {
23513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23515 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_Py_Void();
23530 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23533 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23534 return SWIG_Py_Void();
23537 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23538 return SWIG_Python_InitShadowInstance(args
);
23541 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23542 PyObject
*resultobj
= 0;
23544 wxRegion
*arg2
= 0 ;
23545 wxDCClipper
*result
= 0 ;
23551 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23553 if (!SWIG_IsOK(res1
)) {
23554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23560 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23561 if (!SWIG_IsOK(res2
)) {
23562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23567 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23581 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23582 PyObject
*resultobj
= 0;
23585 wxDCClipper
*result
= 0 ;
23590 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23592 if (!SWIG_IsOK(res1
)) {
23593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23601 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23616 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23617 PyObject
*resultobj
= 0;
23623 wxDCClipper
*result
= 0 ;
23635 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23637 if (!SWIG_IsOK(res1
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23644 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23645 if (!SWIG_IsOK(ecode2
)) {
23646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23648 arg2
= static_cast< int >(val2
);
23649 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23650 if (!SWIG_IsOK(ecode3
)) {
23651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23653 arg3
= static_cast< int >(val3
);
23654 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23655 if (!SWIG_IsOK(ecode4
)) {
23656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23658 arg4
= static_cast< int >(val4
);
23659 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23660 if (!SWIG_IsOK(ecode5
)) {
23661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23663 arg5
= static_cast< int >(val5
);
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23677 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23681 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23686 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23687 _v
= SWIG_CheckState(res
);
23689 if (!_v
) goto check_1
;
23690 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23695 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23698 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23702 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23707 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23708 PyObject
*resultobj
= 0;
23709 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23712 PyObject
*swig_obj
[1] ;
23714 if (!args
) SWIG_fail
;
23715 swig_obj
[0] = args
;
23716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23717 if (!SWIG_IsOK(res1
)) {
23718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23720 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 resultobj
= SWIG_Py_Void();
23735 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23738 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23739 return SWIG_Py_Void();
23742 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23743 return SWIG_Python_InitShadowInstance(args
);
23746 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
= 0;
23748 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23749 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23750 wxMemoryDC
*result
= 0 ;
23753 PyObject
* obj0
= 0 ;
23754 char * kwnames
[] = {
23755 (char *) "bitmap", NULL
23758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23760 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23761 if (!SWIG_IsOK(res1
)) {
23762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23767 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23770 if (!wxPyCheckForApp()) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23783 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
= 0;
23785 wxDC
*arg1
= (wxDC
*) 0 ;
23786 wxMemoryDC
*result
= 0 ;
23789 PyObject
* obj0
= 0 ;
23790 char * kwnames
[] = {
23791 (char *) "oldDC", NULL
23794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23796 if (!SWIG_IsOK(res1
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23801 if (!wxPyCheckForApp()) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23814 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
= 0;
23816 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23817 wxBitmap
*arg2
= 0 ;
23822 PyObject
* obj0
= 0 ;
23823 PyObject
* obj1
= 0 ;
23824 char * kwnames
[] = {
23825 (char *) "self",(char *) "bitmap", NULL
23828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23830 if (!SWIG_IsOK(res1
)) {
23831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23833 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23835 if (!SWIG_IsOK(res2
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23841 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_Py_Void();
23855 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23858 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23859 return SWIG_Py_Void();
23862 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23863 return SWIG_Python_InitShadowInstance(args
);
23866 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23867 PyObject
*resultobj
= 0;
23868 wxScreenDC
*result
= 0 ;
23870 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23872 if (!wxPyCheckForApp()) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (wxScreenDC
*)new wxScreenDC();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23885 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
= 0;
23887 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23888 wxWindow
*arg2
= (wxWindow
*) 0 ;
23894 PyObject
* obj0
= 0 ;
23895 PyObject
* obj1
= 0 ;
23896 char * kwnames
[] = {
23897 (char *) "self",(char *) "window", NULL
23900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23902 if (!SWIG_IsOK(res1
)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23905 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23906 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23907 if (!SWIG_IsOK(res2
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23910 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23926 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
= 0;
23928 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23929 wxRect
*arg2
= (wxRect
*) NULL
;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 char * kwnames
[] = {
23938 (char *) "self",(char *) "rect", NULL
23941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23943 if (!SWIG_IsOK(res1
)) {
23944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23946 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23949 if (!SWIG_IsOK(res2
)) {
23950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23952 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23969 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23970 PyObject
*resultobj
= 0;
23971 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23975 PyObject
*swig_obj
[1] ;
23977 if (!args
) SWIG_fail
;
23978 swig_obj
[0] = args
;
23979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23980 if (!SWIG_IsOK(res1
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23983 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (bool)(arg1
)->EndDrawingOnTop();
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23999 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24002 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24003 return SWIG_Py_Void();
24006 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24007 return SWIG_Python_InitShadowInstance(args
);
24010 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
= 0;
24012 wxWindow
*arg1
= (wxWindow
*) 0 ;
24013 wxWindowDC
*result
= 0 ;
24016 PyObject
* obj0
= 0 ;
24017 char * kwnames
[] = {
24018 (char *) "win", NULL
24021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24023 if (!SWIG_IsOK(res1
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24028 if (!wxPyCheckForApp()) SWIG_fail
;
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24041 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24044 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24045 return SWIG_Py_Void();
24048 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24049 return SWIG_Python_InitShadowInstance(args
);
24052 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
= 0;
24054 wxWindow
*arg1
= (wxWindow
*) 0 ;
24055 wxClientDC
*result
= 0 ;
24058 PyObject
* obj0
= 0 ;
24059 char * kwnames
[] = {
24060 (char *) "win", NULL
24063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24065 if (!SWIG_IsOK(res1
)) {
24066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24070 if (!wxPyCheckForApp()) SWIG_fail
;
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 result
= (wxClientDC
*)new wxClientDC(arg1
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24083 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24086 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24087 return SWIG_Py_Void();
24090 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24091 return SWIG_Python_InitShadowInstance(args
);
24094 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
= 0;
24096 wxWindow
*arg1
= (wxWindow
*) 0 ;
24097 wxPaintDC
*result
= 0 ;
24100 PyObject
* obj0
= 0 ;
24101 char * kwnames
[] = {
24102 (char *) "win", NULL
24105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24107 if (!SWIG_IsOK(res1
)) {
24108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24110 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24112 if (!wxPyCheckForApp()) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24125 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24128 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24129 return SWIG_Py_Void();
24132 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24133 return SWIG_Python_InitShadowInstance(args
);
24136 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24137 PyObject
*resultobj
= 0;
24138 wxDC
*arg1
= (wxDC
*) 0 ;
24139 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24140 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24141 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24142 wxBufferedDC
*result
= 0 ;
24150 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24152 if (!SWIG_IsOK(res1
)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24157 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24158 if (!SWIG_IsOK(res2
)) {
24159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24164 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24167 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24168 if (!SWIG_IsOK(ecode3
)) {
24169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24171 arg3
= static_cast< int >(val3
);
24174 if (!wxPyCheckForApp()) SWIG_fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24187 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24188 PyObject
*resultobj
= 0;
24189 wxDC
*arg1
= (wxDC
*) 0 ;
24191 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24192 wxBufferedDC
*result
= 0 ;
24199 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24201 if (!SWIG_IsOK(res1
)) {
24202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24207 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24210 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24211 if (!SWIG_IsOK(ecode3
)) {
24212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24214 arg3
= static_cast< int >(val3
);
24217 if (!wxPyCheckForApp()) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24230 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24234 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24236 if ((argc
>= 1) && (argc
<= 3)) {
24240 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24241 _v
= SWIG_CheckState(res
);
24243 if (!_v
) goto check_1
;
24245 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24249 if ((argc
>= 2) && (argc
<= 3)) {
24250 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24254 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24259 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24260 PyObject
*resultobj
= 0;
24261 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24264 PyObject
*swig_obj
[1] ;
24266 if (!args
) SWIG_fail
;
24267 swig_obj
[0] = args
;
24268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24269 if (!SWIG_IsOK(res1
)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24272 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 resultobj
= SWIG_Py_Void();
24287 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24288 PyObject
*resultobj
= 0;
24289 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24292 PyObject
*swig_obj
[1] ;
24294 if (!args
) SWIG_fail
;
24295 swig_obj
[0] = args
;
24296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24297 if (!SWIG_IsOK(res1
)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24300 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= SWIG_Py_Void();
24314 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24317 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24318 return SWIG_Py_Void();
24321 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24322 return SWIG_Python_InitShadowInstance(args
);
24325 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
= 0;
24327 wxWindow
*arg1
= (wxWindow
*) 0 ;
24328 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24329 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24330 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24331 wxBufferedPaintDC
*result
= 0 ;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 PyObject
* obj2
= 0 ;
24341 char * kwnames
[] = {
24342 (char *) "window",(char *) "buffer",(char *) "style", NULL
24345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24347 if (!SWIG_IsOK(res1
)) {
24348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24350 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24353 if (!SWIG_IsOK(res2
)) {
24354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24359 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24363 if (!SWIG_IsOK(ecode3
)) {
24364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24366 arg3
= static_cast< int >(val3
);
24369 if (!wxPyCheckForApp()) SWIG_fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24382 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24385 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24386 return SWIG_Py_Void();
24389 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24390 return SWIG_Python_InitShadowInstance(args
);
24393 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
= 0;
24395 wxWindow
*arg1
= (wxWindow
*) 0 ;
24396 wxAutoBufferedPaintDC
*result
= 0 ;
24399 PyObject
* obj0
= 0 ;
24400 char * kwnames
[] = {
24401 (char *) "win", NULL
24404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24406 if (!SWIG_IsOK(res1
)) {
24407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24409 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24423 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24426 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24427 return SWIG_Py_Void();
24430 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24431 return SWIG_Python_InitShadowInstance(args
);
24434 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
= 0;
24436 wxWindow
*arg1
= (wxWindow
*) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 char * kwnames
[] = {
24442 (char *) "window", NULL
24445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24447 if (!SWIG_IsOK(res1
)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24450 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24458 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24466 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
= 0;
24470 wxMirrorDC
*result
= 0 ;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 char * kwnames
[] = {
24478 (char *) "dc",(char *) "mirror", NULL
24481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24482 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24483 if (!SWIG_IsOK(res1
)) {
24484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24490 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24491 if (!SWIG_IsOK(ecode2
)) {
24492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24494 arg2
= static_cast< bool >(val2
);
24496 if (!wxPyCheckForApp()) SWIG_fail
;
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24509 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24512 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24513 return SWIG_Py_Void();
24516 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24517 return SWIG_Python_InitShadowInstance(args
);
24520 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
= 0;
24522 wxPrintData
*arg1
= 0 ;
24523 wxPostScriptDC
*result
= 0 ;
24526 PyObject
* obj0
= 0 ;
24527 char * kwnames
[] = {
24528 (char *) "printData", NULL
24531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24532 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24533 if (!SWIG_IsOK(res1
)) {
24534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24539 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24541 if (!wxPyCheckForApp()) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24554 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24555 PyObject
*resultobj
= 0;
24556 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24557 wxPrintData
*result
= 0 ;
24560 PyObject
*swig_obj
[1] ;
24562 if (!args
) SWIG_fail
;
24563 swig_obj
[0] = args
;
24564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24565 if (!SWIG_IsOK(res1
)) {
24566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24568 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24573 result
= (wxPrintData
*) &_result_ref
;
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24585 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
= 0;
24587 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24588 wxPrintData
*arg2
= 0 ;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 char * kwnames
[] = {
24596 (char *) "self",(char *) "data", NULL
24599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24601 if (!SWIG_IsOK(res1
)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24604 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24606 if (!SWIG_IsOK(res2
)) {
24607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24612 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 resultobj
= SWIG_Py_Void();
24626 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
= 0;
24631 PyObject
* obj0
= 0 ;
24632 char * kwnames
[] = {
24633 (char *) "ppi", NULL
24636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24637 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24638 if (!SWIG_IsOK(ecode1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24641 arg1
= static_cast< int >(val1
);
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 wxPostScriptDC::SetResolution(arg1
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= SWIG_Py_Void();
24655 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24656 PyObject
*resultobj
= 0;
24659 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 result
= (int)wxPostScriptDC::GetResolution();
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= SWIG_From_int(static_cast< int >(result
));
24673 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24676 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24677 return SWIG_Py_Void();
24680 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24681 return SWIG_Python_InitShadowInstance(args
);
24684 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
= 0;
24686 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24687 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24688 wxMetaFile
*result
= 0 ;
24689 bool temp1
= false ;
24690 PyObject
* obj0
= 0 ;
24691 char * kwnames
[] = {
24692 (char *) "filename", NULL
24695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24698 arg1
= wxString_in_helper(obj0
);
24699 if (arg1
== NULL
) SWIG_fail
;
24704 if (!wxPyCheckForApp()) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24725 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24728 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24729 return SWIG_Py_Void();
24732 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24733 return SWIG_Python_InitShadowInstance(args
);
24736 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
= 0;
24738 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24739 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24740 int arg2
= (int) 0 ;
24741 int arg3
= (int) 0 ;
24742 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24743 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24744 wxMetaFileDC
*result
= 0 ;
24745 bool temp1
= false ;
24750 bool temp4
= false ;
24751 PyObject
* obj0
= 0 ;
24752 PyObject
* obj1
= 0 ;
24753 PyObject
* obj2
= 0 ;
24754 PyObject
* obj3
= 0 ;
24755 char * kwnames
[] = {
24756 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24762 arg1
= wxString_in_helper(obj0
);
24763 if (arg1
== NULL
) SWIG_fail
;
24768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24769 if (!SWIG_IsOK(ecode2
)) {
24770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24772 arg2
= static_cast< int >(val2
);
24775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24776 if (!SWIG_IsOK(ecode3
)) {
24777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24779 arg3
= static_cast< int >(val3
);
24783 arg4
= wxString_in_helper(obj3
);
24784 if (arg4
== NULL
) SWIG_fail
;
24789 if (!wxPyCheckForApp()) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24818 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24821 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24822 return SWIG_Py_Void();
24825 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24826 return SWIG_Python_InitShadowInstance(args
);
24829 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
= 0;
24831 wxPrintData
*arg1
= 0 ;
24832 wxPrinterDC
*result
= 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char * kwnames
[] = {
24837 (char *) "printData", NULL
24840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24841 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24842 if (!SWIG_IsOK(res1
)) {
24843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24848 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24850 if (!wxPyCheckForApp()) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24863 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24866 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24867 return SWIG_Py_Void();
24870 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24871 return SWIG_Python_InitShadowInstance(args
);
24874 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
= 0;
24876 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
24877 wxGraphicsObject
*result
= 0 ;
24880 PyObject
* obj0
= 0 ;
24881 char * kwnames
[] = {
24882 (char *) "renderer", NULL
24885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
24887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
24888 if (!SWIG_IsOK(res1
)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
24891 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
24894 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
24904 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24905 PyObject
*resultobj
= 0;
24906 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
24909 PyObject
*swig_obj
[1] ;
24911 if (!args
) SWIG_fail
;
24912 swig_obj
[0] = args
;
24913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
24914 if (!SWIG_IsOK(res1
)) {
24915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
24917 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= SWIG_Py_Void();
24930 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24931 PyObject
*resultobj
= 0;
24932 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
24936 PyObject
*swig_obj
[1] ;
24938 if (!args
) SWIG_fail
;
24939 swig_obj
[0] = args
;
24940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
24944 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
24946 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
24947 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24958 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24959 PyObject
*resultobj
= 0;
24960 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
24961 wxGraphicsRenderer
*result
= 0 ;
24964 PyObject
*swig_obj
[1] ;
24966 if (!args
) SWIG_fail
;
24967 swig_obj
[0] = args
;
24968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
24969 if (!SWIG_IsOK(res1
)) {
24970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
24972 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
24974 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
24975 if (PyErr_Occurred()) SWIG_fail
;
24977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
24984 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24987 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
24988 return SWIG_Py_Void();
24991 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24992 return SWIG_Python_InitShadowInstance(args
);
24995 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24996 PyObject
*resultobj
= 0;
24997 wxGraphicsPen
*result
= 0 ;
24999 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25001 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25011 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25012 PyObject
*resultobj
= 0;
25013 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25016 PyObject
*swig_obj
[1] ;
25018 if (!args
) SWIG_fail
;
25019 swig_obj
[0] = args
;
25020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25021 if (!SWIG_IsOK(res1
)) {
25022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25024 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= SWIG_Py_Void();
25037 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25040 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25041 return SWIG_Py_Void();
25044 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25045 return SWIG_Python_InitShadowInstance(args
);
25048 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25049 PyObject
*resultobj
= 0;
25050 wxGraphicsBrush
*result
= 0 ;
25052 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25054 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25064 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25065 PyObject
*resultobj
= 0;
25066 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25069 PyObject
*swig_obj
[1] ;
25071 if (!args
) SWIG_fail
;
25072 swig_obj
[0] = args
;
25073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25074 if (!SWIG_IsOK(res1
)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25077 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= SWIG_Py_Void();
25090 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25093 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25094 return SWIG_Py_Void();
25097 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25098 return SWIG_Python_InitShadowInstance(args
);
25101 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25102 PyObject
*resultobj
= 0;
25103 wxGraphicsFont
*result
= 0 ;
25105 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25107 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25117 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25118 PyObject
*resultobj
= 0;
25119 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25122 PyObject
*swig_obj
[1] ;
25124 if (!args
) SWIG_fail
;
25125 swig_obj
[0] = args
;
25126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25127 if (!SWIG_IsOK(res1
)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25130 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_Py_Void();
25143 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25146 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25147 return SWIG_Py_Void();
25150 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25151 return SWIG_Python_InitShadowInstance(args
);
25154 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25155 PyObject
*resultobj
= 0;
25156 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25159 PyObject
*swig_obj
[1] ;
25161 if (!args
) SWIG_fail
;
25162 swig_obj
[0] = args
;
25163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25164 if (!SWIG_IsOK(res1
)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25167 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25171 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= SWIG_Py_Void();
25180 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25181 PyObject
*resultobj
= 0;
25182 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25183 wxGraphicsMatrix
*arg2
= 0 ;
25188 PyObject
* obj0
= 0 ;
25189 PyObject
* obj1
= 0 ;
25190 char * kwnames
[] = {
25191 (char *) "self",(char *) "t", NULL
25194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25196 if (!SWIG_IsOK(res1
)) {
25197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25199 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25201 if (!SWIG_IsOK(res2
)) {
25202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25207 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25209 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25212 resultobj
= SWIG_Py_Void();
25219 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25220 PyObject
*resultobj
= 0;
25221 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25222 wxGraphicsMatrix
*arg2
= 0 ;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 char * kwnames
[] = {
25230 (char *) "self",(char *) "t", NULL
25233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25235 if (!SWIG_IsOK(res1
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25238 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25240 if (!SWIG_IsOK(res2
)) {
25241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25246 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25248 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 resultobj
= SWIG_Py_Void();
25258 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
= 0;
25260 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25261 wxDouble arg2
= (wxDouble
) 1.0 ;
25262 wxDouble arg3
= (wxDouble
) 0.0 ;
25263 wxDouble arg4
= (wxDouble
) 0.0 ;
25264 wxDouble arg5
= (wxDouble
) 1.0 ;
25265 wxDouble arg6
= (wxDouble
) 0.0 ;
25266 wxDouble arg7
= (wxDouble
) 0.0 ;
25281 PyObject
* obj0
= 0 ;
25282 PyObject
* obj1
= 0 ;
25283 PyObject
* obj2
= 0 ;
25284 PyObject
* obj3
= 0 ;
25285 PyObject
* obj4
= 0 ;
25286 PyObject
* obj5
= 0 ;
25287 PyObject
* obj6
= 0 ;
25288 char * kwnames
[] = {
25289 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25294 if (!SWIG_IsOK(res1
)) {
25295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25297 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25299 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25300 if (!SWIG_IsOK(ecode2
)) {
25301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25303 arg2
= static_cast< wxDouble
>(val2
);
25306 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25307 if (!SWIG_IsOK(ecode3
)) {
25308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25310 arg3
= static_cast< wxDouble
>(val3
);
25313 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25314 if (!SWIG_IsOK(ecode4
)) {
25315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25317 arg4
= static_cast< wxDouble
>(val4
);
25320 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25321 if (!SWIG_IsOK(ecode5
)) {
25322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25324 arg5
= static_cast< wxDouble
>(val5
);
25327 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25328 if (!SWIG_IsOK(ecode6
)) {
25329 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25331 arg6
= static_cast< wxDouble
>(val6
);
25334 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25335 if (!SWIG_IsOK(ecode7
)) {
25336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25338 arg7
= static_cast< wxDouble
>(val7
);
25341 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= SWIG_Py_Void();
25351 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25352 PyObject
*resultobj
= 0;
25353 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25356 PyObject
*swig_obj
[1] ;
25358 if (!args
) SWIG_fail
;
25359 swig_obj
[0] = args
;
25360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25361 if (!SWIG_IsOK(res1
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25364 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= SWIG_Py_Void();
25376 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
= 0;
25378 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25379 wxGraphicsMatrix
*arg2
= 0 ;
25385 PyObject
* obj0
= 0 ;
25386 PyObject
* obj1
= 0 ;
25387 char * kwnames
[] = {
25388 (char *) "self",(char *) "t", NULL
25391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25396 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25398 if (!SWIG_IsOK(res2
)) {
25399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25404 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25406 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25418 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25419 PyObject
*resultobj
= 0;
25420 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25424 PyObject
*swig_obj
[1] ;
25426 if (!args
) SWIG_fail
;
25427 swig_obj
[0] = args
;
25428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25429 if (!SWIG_IsOK(res1
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25432 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25434 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25435 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25446 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
= 0;
25448 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25457 PyObject
* obj0
= 0 ;
25458 PyObject
* obj1
= 0 ;
25459 PyObject
* obj2
= 0 ;
25460 char * kwnames
[] = {
25461 (char *) "self",(char *) "dx",(char *) "dy", NULL
25464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25469 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25470 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25471 if (!SWIG_IsOK(ecode2
)) {
25472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25474 arg2
= static_cast< wxDouble
>(val2
);
25475 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25476 if (!SWIG_IsOK(ecode3
)) {
25477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25479 arg3
= static_cast< wxDouble
>(val3
);
25481 (arg1
)->Translate(arg2
,arg3
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_Py_Void();
25491 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
= 0;
25493 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25502 PyObject
* obj0
= 0 ;
25503 PyObject
* obj1
= 0 ;
25504 PyObject
* obj2
= 0 ;
25505 char * kwnames
[] = {
25506 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25511 if (!SWIG_IsOK(res1
)) {
25512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25514 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25515 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25516 if (!SWIG_IsOK(ecode2
)) {
25517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25519 arg2
= static_cast< wxDouble
>(val2
);
25520 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25521 if (!SWIG_IsOK(ecode3
)) {
25522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25524 arg3
= static_cast< wxDouble
>(val3
);
25526 (arg1
)->Scale(arg2
,arg3
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= SWIG_Py_Void();
25536 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
= 0;
25538 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25544 PyObject
* obj0
= 0 ;
25545 PyObject
* obj1
= 0 ;
25546 char * kwnames
[] = {
25547 (char *) "self",(char *) "angle", NULL
25550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25555 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25556 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25557 if (!SWIG_IsOK(ecode2
)) {
25558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25560 arg2
= static_cast< wxDouble
>(val2
);
25562 (arg1
)->Rotate(arg2
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_Py_Void();
25572 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
= 0;
25574 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25575 wxDouble
*arg2
= (wxDouble
*) 0 ;
25576 wxDouble
*arg3
= (wxDouble
*) 0 ;
25583 PyObject
* obj0
= 0 ;
25584 PyObject
* obj1
= 0 ;
25585 PyObject
* obj2
= 0 ;
25586 char * kwnames
[] = {
25587 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25592 if (!SWIG_IsOK(res1
)) {
25593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25595 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25596 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25598 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25599 if (!SWIG_IsOK(ecode
)) {
25600 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25602 temp2
= static_cast< wxDouble
>(val
);
25604 res2
= SWIG_AddTmpMask(ecode
);
25606 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25608 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25609 if (!SWIG_IsOK(ecode
)) {
25610 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25612 temp3
= static_cast< wxDouble
>(val
);
25614 res3
= SWIG_AddTmpMask(ecode
);
25617 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_Py_Void();
25621 if (SWIG_IsTmpObj(res2
)) {
25622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25624 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25627 if (SWIG_IsTmpObj(res3
)) {
25628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25630 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25639 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
= 0;
25641 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25642 wxDouble
*arg2
= (wxDouble
*) 0 ;
25643 wxDouble
*arg3
= (wxDouble
*) 0 ;
25650 PyObject
* obj0
= 0 ;
25651 PyObject
* obj1
= 0 ;
25652 PyObject
* obj2
= 0 ;
25653 char * kwnames
[] = {
25654 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25659 if (!SWIG_IsOK(res1
)) {
25660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25662 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25663 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25665 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25666 if (!SWIG_IsOK(ecode
)) {
25667 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
25669 temp2
= static_cast< wxDouble
>(val
);
25671 res2
= SWIG_AddTmpMask(ecode
);
25673 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25675 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25676 if (!SWIG_IsOK(ecode
)) {
25677 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
25679 temp3
= static_cast< wxDouble
>(val
);
25681 res3
= SWIG_AddTmpMask(ecode
);
25684 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= SWIG_Py_Void();
25688 if (SWIG_IsTmpObj(res2
)) {
25689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25691 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25694 if (SWIG_IsTmpObj(res3
)) {
25695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25697 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25706 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25707 PyObject
*resultobj
= 0;
25708 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25712 PyObject
*swig_obj
[1] ;
25714 if (!args
) SWIG_fail
;
25715 swig_obj
[0] = args
;
25716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25717 if (!SWIG_IsOK(res1
)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25720 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25722 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
25723 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25732 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25735 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
25736 return SWIG_Py_Void();
25739 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25740 PyObject
*resultobj
= 0;
25741 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25744 PyObject
*swig_obj
[1] ;
25746 if (!args
) SWIG_fail
;
25747 swig_obj
[0] = args
;
25748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25749 if (!SWIG_IsOK(res1
)) {
25750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25752 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_Py_Void();
25765 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25766 PyObject
*resultobj
= 0;
25767 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25777 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
25778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25779 if (!SWIG_IsOK(res1
)) {
25780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25782 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25783 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
25784 if (!SWIG_IsOK(ecode2
)) {
25785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25787 arg2
= static_cast< wxDouble
>(val2
);
25788 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25789 if (!SWIG_IsOK(ecode3
)) {
25790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25792 arg3
= static_cast< wxDouble
>(val3
);
25794 (arg1
)->MoveToPoint(arg2
,arg3
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 resultobj
= SWIG_Py_Void();
25804 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25805 PyObject
*resultobj
= 0;
25806 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25807 wxPoint2D
*arg2
= 0 ;
25812 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
25813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25814 if (!SWIG_IsOK(res1
)) {
25815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25817 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25820 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25823 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= SWIG_Py_Void();
25833 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
25837 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
25840 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
25843 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
25847 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
25852 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25853 PyObject
*resultobj
= 0;
25854 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25864 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
25865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25866 if (!SWIG_IsOK(res1
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25869 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25870 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
25871 if (!SWIG_IsOK(ecode2
)) {
25872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25874 arg2
= static_cast< wxDouble
>(val2
);
25875 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25876 if (!SWIG_IsOK(ecode3
)) {
25877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25879 arg3
= static_cast< wxDouble
>(val3
);
25881 (arg1
)->AddLineToPoint(arg2
,arg3
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 resultobj
= SWIG_Py_Void();
25891 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25892 PyObject
*resultobj
= 0;
25893 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25894 wxPoint2D
*arg2
= 0 ;
25899 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
25900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25901 if (!SWIG_IsOK(res1
)) {
25902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25904 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25907 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25910 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= SWIG_Py_Void();
25920 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
25924 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
25927 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
25930 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
25934 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
25939 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25940 PyObject
*resultobj
= 0;
25941 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25963 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
25964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25965 if (!SWIG_IsOK(res1
)) {
25966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25968 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25969 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
25970 if (!SWIG_IsOK(ecode2
)) {
25971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25973 arg2
= static_cast< wxDouble
>(val2
);
25974 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25975 if (!SWIG_IsOK(ecode3
)) {
25976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25978 arg3
= static_cast< wxDouble
>(val3
);
25979 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
25980 if (!SWIG_IsOK(ecode4
)) {
25981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25983 arg4
= static_cast< wxDouble
>(val4
);
25984 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
25985 if (!SWIG_IsOK(ecode5
)) {
25986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25988 arg5
= static_cast< wxDouble
>(val5
);
25989 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
25990 if (!SWIG_IsOK(ecode6
)) {
25991 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25993 arg6
= static_cast< wxDouble
>(val6
);
25994 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
25995 if (!SWIG_IsOK(ecode7
)) {
25996 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
25998 arg7
= static_cast< wxDouble
>(val7
);
26000 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= SWIG_Py_Void();
26010 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26011 PyObject
*resultobj
= 0;
26012 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26013 wxPoint2D
*arg2
= 0 ;
26014 wxPoint2D
*arg3
= 0 ;
26015 wxPoint2D
*arg4
= 0 ;
26022 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26024 if (!SWIG_IsOK(res1
)) {
26025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26027 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26030 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26034 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26038 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26041 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 resultobj
= SWIG_Py_Void();
26051 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26055 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26058 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26061 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26065 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26070 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
= 0;
26072 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26073 wxGraphicsPath
*arg2
= 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 char * kwnames
[] = {
26081 (char *) "self",(char *) "path", NULL
26084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26086 if (!SWIG_IsOK(res1
)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26089 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26091 if (!SWIG_IsOK(res2
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26097 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26099 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_Py_Void();
26109 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26110 PyObject
*resultobj
= 0;
26111 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26114 PyObject
*swig_obj
[1] ;
26116 if (!args
) SWIG_fail
;
26117 swig_obj
[0] = args
;
26118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26119 if (!SWIG_IsOK(res1
)) {
26120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26122 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26124 (arg1
)->CloseSubpath();
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_Py_Void();
26134 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26135 PyObject
*resultobj
= 0;
26136 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26140 PyObject
*swig_obj
[1] ;
26142 if (!args
) SWIG_fail
;
26143 swig_obj
[0] = args
;
26144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26145 if (!SWIG_IsOK(res1
)) {
26146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26148 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26150 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26160 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26161 PyObject
*resultobj
= 0;
26162 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26184 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26186 if (!SWIG_IsOK(res1
)) {
26187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26189 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26190 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26191 if (!SWIG_IsOK(ecode2
)) {
26192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26194 arg2
= static_cast< wxDouble
>(val2
);
26195 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26196 if (!SWIG_IsOK(ecode3
)) {
26197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26199 arg3
= static_cast< wxDouble
>(val3
);
26200 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26201 if (!SWIG_IsOK(ecode4
)) {
26202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26204 arg4
= static_cast< wxDouble
>(val4
);
26205 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26206 if (!SWIG_IsOK(ecode5
)) {
26207 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26209 arg5
= static_cast< wxDouble
>(val5
);
26210 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26211 if (!SWIG_IsOK(ecode6
)) {
26212 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26214 arg6
= static_cast< wxDouble
>(val6
);
26215 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26216 if (!SWIG_IsOK(ecode7
)) {
26217 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26219 arg7
= static_cast< bool >(val7
);
26221 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26224 resultobj
= SWIG_Py_Void();
26231 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26232 PyObject
*resultobj
= 0;
26233 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26234 wxPoint2D
*arg2
= 0 ;
26251 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26256 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26259 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26261 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26262 if (!SWIG_IsOK(ecode3
)) {
26263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26265 arg3
= static_cast< wxDouble
>(val3
);
26266 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26267 if (!SWIG_IsOK(ecode4
)) {
26268 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26270 arg4
= static_cast< wxDouble
>(val4
);
26271 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26272 if (!SWIG_IsOK(ecode5
)) {
26273 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26275 arg5
= static_cast< wxDouble
>(val5
);
26276 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26277 if (!SWIG_IsOK(ecode6
)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26280 arg6
= static_cast< bool >(val6
);
26282 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_Py_Void();
26292 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26296 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26299 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26302 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26306 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26311 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
= 0;
26313 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26328 PyObject
* obj0
= 0 ;
26329 PyObject
* obj1
= 0 ;
26330 PyObject
* obj2
= 0 ;
26331 PyObject
* obj3
= 0 ;
26332 PyObject
* obj4
= 0 ;
26333 char * kwnames
[] = {
26334 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26339 if (!SWIG_IsOK(res1
)) {
26340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26342 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26343 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26344 if (!SWIG_IsOK(ecode2
)) {
26345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26347 arg2
= static_cast< wxDouble
>(val2
);
26348 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26349 if (!SWIG_IsOK(ecode3
)) {
26350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26352 arg3
= static_cast< wxDouble
>(val3
);
26353 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26354 if (!SWIG_IsOK(ecode4
)) {
26355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26357 arg4
= static_cast< wxDouble
>(val4
);
26358 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26359 if (!SWIG_IsOK(ecode5
)) {
26360 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26362 arg5
= static_cast< wxDouble
>(val5
);
26364 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_Py_Void();
26374 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
= 0;
26376 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26391 PyObject
* obj0
= 0 ;
26392 PyObject
* obj1
= 0 ;
26393 PyObject
* obj2
= 0 ;
26394 PyObject
* obj3
= 0 ;
26395 PyObject
* obj4
= 0 ;
26396 char * kwnames
[] = {
26397 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26402 if (!SWIG_IsOK(res1
)) {
26403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26405 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26406 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26407 if (!SWIG_IsOK(ecode2
)) {
26408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26410 arg2
= static_cast< wxDouble
>(val2
);
26411 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26412 if (!SWIG_IsOK(ecode3
)) {
26413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26415 arg3
= static_cast< wxDouble
>(val3
);
26416 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26417 if (!SWIG_IsOK(ecode4
)) {
26418 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26420 arg4
= static_cast< wxDouble
>(val4
);
26421 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26422 if (!SWIG_IsOK(ecode5
)) {
26423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26425 arg5
= static_cast< wxDouble
>(val5
);
26427 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 resultobj
= SWIG_Py_Void();
26437 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
= 0;
26439 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26451 PyObject
* obj0
= 0 ;
26452 PyObject
* obj1
= 0 ;
26453 PyObject
* obj2
= 0 ;
26454 PyObject
* obj3
= 0 ;
26455 char * kwnames
[] = {
26456 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26461 if (!SWIG_IsOK(res1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26464 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26465 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26466 if (!SWIG_IsOK(ecode2
)) {
26467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26469 arg2
= static_cast< wxDouble
>(val2
);
26470 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26471 if (!SWIG_IsOK(ecode3
)) {
26472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26474 arg3
= static_cast< wxDouble
>(val3
);
26475 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26476 if (!SWIG_IsOK(ecode4
)) {
26477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26479 arg4
= static_cast< wxDouble
>(val4
);
26481 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_Py_Void();
26491 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
= 0;
26493 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26511 PyObject
* obj0
= 0 ;
26512 PyObject
* obj1
= 0 ;
26513 PyObject
* obj2
= 0 ;
26514 PyObject
* obj3
= 0 ;
26515 PyObject
* obj4
= 0 ;
26516 PyObject
* obj5
= 0 ;
26517 char * kwnames
[] = {
26518 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26523 if (!SWIG_IsOK(res1
)) {
26524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26526 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26527 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26528 if (!SWIG_IsOK(ecode2
)) {
26529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26531 arg2
= static_cast< wxDouble
>(val2
);
26532 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26533 if (!SWIG_IsOK(ecode3
)) {
26534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26536 arg3
= static_cast< wxDouble
>(val3
);
26537 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26538 if (!SWIG_IsOK(ecode4
)) {
26539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26541 arg4
= static_cast< wxDouble
>(val4
);
26542 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26543 if (!SWIG_IsOK(ecode5
)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26546 arg5
= static_cast< wxDouble
>(val5
);
26547 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26548 if (!SWIG_IsOK(ecode6
)) {
26549 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26551 arg6
= static_cast< wxDouble
>(val6
);
26553 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= SWIG_Py_Void();
26563 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
= 0;
26565 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 PyObject
* obj2
= 0 ;
26583 PyObject
* obj3
= 0 ;
26584 PyObject
* obj4
= 0 ;
26585 char * kwnames
[] = {
26586 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26591 if (!SWIG_IsOK(res1
)) {
26592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26594 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26595 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26596 if (!SWIG_IsOK(ecode2
)) {
26597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26599 arg2
= static_cast< wxDouble
>(val2
);
26600 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26601 if (!SWIG_IsOK(ecode3
)) {
26602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26604 arg3
= static_cast< wxDouble
>(val3
);
26605 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26606 if (!SWIG_IsOK(ecode4
)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26609 arg4
= static_cast< wxDouble
>(val4
);
26610 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26611 if (!SWIG_IsOK(ecode5
)) {
26612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26614 arg5
= static_cast< wxDouble
>(val5
);
26616 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_Py_Void();
26626 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26627 PyObject
*resultobj
= 0;
26628 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 PyObject
* obj2
= 0 ;
26649 PyObject
* obj3
= 0 ;
26650 PyObject
* obj4
= 0 ;
26651 PyObject
* obj5
= 0 ;
26652 char * kwnames
[] = {
26653 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26658 if (!SWIG_IsOK(res1
)) {
26659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26661 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26662 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26663 if (!SWIG_IsOK(ecode2
)) {
26664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26666 arg2
= static_cast< wxDouble
>(val2
);
26667 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26668 if (!SWIG_IsOK(ecode3
)) {
26669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26671 arg3
= static_cast< wxDouble
>(val3
);
26672 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26673 if (!SWIG_IsOK(ecode4
)) {
26674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26676 arg4
= static_cast< wxDouble
>(val4
);
26677 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26678 if (!SWIG_IsOK(ecode5
)) {
26679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26681 arg5
= static_cast< wxDouble
>(val5
);
26682 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26683 if (!SWIG_IsOK(ecode6
)) {
26684 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26686 arg6
= static_cast< wxDouble
>(val6
);
26688 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_Py_Void();
26698 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26699 PyObject
*resultobj
= 0;
26700 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26704 PyObject
*swig_obj
[1] ;
26706 if (!args
) SWIG_fail
;
26707 swig_obj
[0] = args
;
26708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26709 if (!SWIG_IsOK(res1
)) {
26710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26712 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26714 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26724 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26725 PyObject
*resultobj
= 0;
26726 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26727 void *arg2
= (void *) 0 ;
26731 PyObject
* obj0
= 0 ;
26732 PyObject
* obj1
= 0 ;
26733 char * kwnames
[] = {
26734 (char *) "self",(char *) "p", NULL
26737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26739 if (!SWIG_IsOK(res1
)) {
26740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26742 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26743 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
26744 if (!SWIG_IsOK(res2
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
26748 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 resultobj
= SWIG_Py_Void();
26758 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
= 0;
26760 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26761 wxGraphicsMatrix
*arg2
= 0 ;
26766 PyObject
* obj0
= 0 ;
26767 PyObject
* obj1
= 0 ;
26768 char * kwnames
[] = {
26769 (char *) "self",(char *) "matrix", NULL
26772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26777 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26779 if (!SWIG_IsOK(res2
)) {
26780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26785 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26787 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= SWIG_Py_Void();
26797 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26798 PyObject
*resultobj
= 0;
26799 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26800 wxRect2DDouble result
;
26803 PyObject
*swig_obj
[1] ;
26805 if (!args
) SWIG_fail
;
26806 swig_obj
[0] = args
;
26807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26808 if (!SWIG_IsOK(res1
)) {
26809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26811 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26813 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
26823 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26824 PyObject
*resultobj
= 0;
26825 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26828 int arg4
= (int) wxODDEVEN_RULE
;
26839 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
26840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26841 if (!SWIG_IsOK(res1
)) {
26842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26844 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26845 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26846 if (!SWIG_IsOK(ecode2
)) {
26847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
26849 arg2
= static_cast< wxDouble
>(val2
);
26850 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26851 if (!SWIG_IsOK(ecode3
)) {
26852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
26854 arg3
= static_cast< wxDouble
>(val3
);
26856 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26857 if (!SWIG_IsOK(ecode4
)) {
26858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
26860 arg4
= static_cast< int >(val4
);
26863 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26875 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26876 PyObject
*resultobj
= 0;
26877 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26878 wxPoint2DDouble
*arg2
= 0 ;
26879 int arg3
= (int) wxODDEVEN_RULE
;
26888 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
26889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26890 if (!SWIG_IsOK(res1
)) {
26891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26893 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26894 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
26895 if (!SWIG_IsOK(res2
)) {
26896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
26899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
26901 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
26903 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26904 if (!SWIG_IsOK(ecode3
)) {
26905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
26907 arg3
= static_cast< int >(val3
);
26910 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26922 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
26926 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
26928 if ((argc
>= 2) && (argc
<= 3)) {
26931 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
26932 _v
= SWIG_CheckState(res
);
26934 if (!_v
) goto check_1
;
26938 int res
= SWIG_AsVal_int(argv
[2], NULL
);
26939 _v
= SWIG_CheckState(res
);
26942 if (!_v
) goto check_1
;
26944 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
26948 if ((argc
>= 3) && (argc
<= 4)) {
26949 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
26953 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
26958 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26961 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
26962 return SWIG_Py_Void();
26965 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
26966 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
26971 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
26972 PyObject
*pyobj
= 0;
26974 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
26979 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
26980 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
26985 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
26986 PyObject
*pyobj
= 0;
26988 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
26993 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
26994 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
26999 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27000 PyObject
*pyobj
= 0;
27002 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27007 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27008 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27013 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27014 PyObject
*pyobj
= 0;
27016 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27021 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27022 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27027 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27028 PyObject
*pyobj
= 0;
27030 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27035 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27036 PyObject
*resultobj
= 0;
27037 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27040 PyObject
*swig_obj
[1] ;
27042 if (!args
) SWIG_fail
;
27043 swig_obj
[0] = args
;
27044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27045 if (!SWIG_IsOK(res1
)) {
27046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27048 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= SWIG_Py_Void();
27061 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27062 PyObject
*resultobj
= 0;
27063 wxWindowDC
*arg1
= 0 ;
27064 wxGraphicsContext
*result
= 0 ;
27068 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27070 if (!SWIG_IsOK(res1
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27076 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27078 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27088 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27089 PyObject
*resultobj
= 0;
27090 wxWindow
*arg1
= (wxWindow
*) 0 ;
27091 wxGraphicsContext
*result
= 0 ;
27095 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27097 if (!SWIG_IsOK(res1
)) {
27098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27100 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27102 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27112 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27116 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27121 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27122 _v
= SWIG_CheckState(res
);
27124 if (!_v
) goto check_1
;
27125 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27130 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27134 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27139 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
= 0;
27141 void *arg1
= (void *) 0 ;
27142 wxGraphicsContext
*result
= 0 ;
27144 PyObject
* obj0
= 0 ;
27145 char * kwnames
[] = {
27146 (char *) "context", NULL
27149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27150 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27151 if (!SWIG_IsOK(res1
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27155 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27165 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
= 0;
27167 void *arg1
= (void *) 0 ;
27168 wxGraphicsContext
*result
= 0 ;
27170 PyObject
* obj0
= 0 ;
27171 char * kwnames
[] = {
27172 (char *) "window", NULL
27175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27176 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27177 if (!SWIG_IsOK(res1
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27181 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27191 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27192 PyObject
*resultobj
= 0;
27193 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27194 wxGraphicsPath result
;
27197 PyObject
*swig_obj
[1] ;
27199 if (!args
) SWIG_fail
;
27200 swig_obj
[0] = args
;
27201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27202 if (!SWIG_IsOK(res1
)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27205 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27207 result
= (arg1
)->CreatePath();
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27217 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
= 0;
27219 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27221 wxGraphicsPen result
;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 char * kwnames
[] = {
27229 (char *) "self",(char *) "pen", NULL
27232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27234 if (!SWIG_IsOK(res1
)) {
27235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27237 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27239 if (!SWIG_IsOK(res2
)) {
27240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27245 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27247 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27257 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
= 0;
27259 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27260 wxBrush
*arg2
= 0 ;
27261 wxGraphicsBrush result
;
27266 PyObject
* obj0
= 0 ;
27267 PyObject
* obj1
= 0 ;
27268 char * kwnames
[] = {
27269 (char *) "self",(char *) "brush", NULL
27272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27274 if (!SWIG_IsOK(res1
)) {
27275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27277 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27279 if (!SWIG_IsOK(res2
)) {
27280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27285 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27287 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27297 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
= 0;
27299 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27304 wxColour
*arg6
= 0 ;
27305 wxColour
*arg7
= 0 ;
27306 wxGraphicsBrush result
;
27319 PyObject
* obj0
= 0 ;
27320 PyObject
* obj1
= 0 ;
27321 PyObject
* obj2
= 0 ;
27322 PyObject
* obj3
= 0 ;
27323 PyObject
* obj4
= 0 ;
27324 PyObject
* obj5
= 0 ;
27325 PyObject
* obj6
= 0 ;
27326 char * kwnames
[] = {
27327 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27332 if (!SWIG_IsOK(res1
)) {
27333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27335 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27336 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27337 if (!SWIG_IsOK(ecode2
)) {
27338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27340 arg2
= static_cast< wxDouble
>(val2
);
27341 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27342 if (!SWIG_IsOK(ecode3
)) {
27343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27345 arg3
= static_cast< wxDouble
>(val3
);
27346 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27347 if (!SWIG_IsOK(ecode4
)) {
27348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27350 arg4
= static_cast< wxDouble
>(val4
);
27351 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27352 if (!SWIG_IsOK(ecode5
)) {
27353 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27355 arg5
= static_cast< wxDouble
>(val5
);
27358 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27362 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27365 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27368 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27375 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27376 PyObject
*resultobj
= 0;
27377 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27383 wxColour
*arg7
= 0 ;
27384 wxColour
*arg8
= 0 ;
27385 wxGraphicsBrush result
;
27400 PyObject
* obj0
= 0 ;
27401 PyObject
* obj1
= 0 ;
27402 PyObject
* obj2
= 0 ;
27403 PyObject
* obj3
= 0 ;
27404 PyObject
* obj4
= 0 ;
27405 PyObject
* obj5
= 0 ;
27406 PyObject
* obj6
= 0 ;
27407 PyObject
* obj7
= 0 ;
27408 char * kwnames
[] = {
27409 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27414 if (!SWIG_IsOK(res1
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27417 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27418 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27419 if (!SWIG_IsOK(ecode2
)) {
27420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27422 arg2
= static_cast< wxDouble
>(val2
);
27423 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27424 if (!SWIG_IsOK(ecode3
)) {
27425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27427 arg3
= static_cast< wxDouble
>(val3
);
27428 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27429 if (!SWIG_IsOK(ecode4
)) {
27430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27432 arg4
= static_cast< wxDouble
>(val4
);
27433 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27434 if (!SWIG_IsOK(ecode5
)) {
27435 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27437 arg5
= static_cast< wxDouble
>(val5
);
27438 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27439 if (!SWIG_IsOK(ecode6
)) {
27440 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27442 arg6
= static_cast< wxDouble
>(val6
);
27445 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27449 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27452 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27462 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
= 0;
27464 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27466 wxColour
const &arg3_defvalue
= *wxBLACK
;
27467 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27468 wxGraphicsFont result
;
27474 PyObject
* obj0
= 0 ;
27475 PyObject
* obj1
= 0 ;
27476 PyObject
* obj2
= 0 ;
27477 char * kwnames
[] = {
27478 (char *) "self",(char *) "font",(char *) "col", NULL
27481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27483 if (!SWIG_IsOK(res1
)) {
27484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27486 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27488 if (!SWIG_IsOK(res2
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27494 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27498 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27502 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27512 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
= 0;
27514 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27515 wxDouble arg2
= (wxDouble
) 1.0 ;
27516 wxDouble arg3
= (wxDouble
) 0.0 ;
27517 wxDouble arg4
= (wxDouble
) 0.0 ;
27518 wxDouble arg5
= (wxDouble
) 1.0 ;
27519 wxDouble arg6
= (wxDouble
) 0.0 ;
27520 wxDouble arg7
= (wxDouble
) 0.0 ;
27521 wxGraphicsMatrix result
;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 PyObject
* obj2
= 0 ;
27539 PyObject
* obj3
= 0 ;
27540 PyObject
* obj4
= 0 ;
27541 PyObject
* obj5
= 0 ;
27542 PyObject
* obj6
= 0 ;
27543 char * kwnames
[] = {
27544 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27549 if (!SWIG_IsOK(res1
)) {
27550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27552 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27554 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27555 if (!SWIG_IsOK(ecode2
)) {
27556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27558 arg2
= static_cast< wxDouble
>(val2
);
27561 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27562 if (!SWIG_IsOK(ecode3
)) {
27563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27565 arg3
= static_cast< wxDouble
>(val3
);
27568 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27569 if (!SWIG_IsOK(ecode4
)) {
27570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27572 arg4
= static_cast< wxDouble
>(val4
);
27575 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27576 if (!SWIG_IsOK(ecode5
)) {
27577 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27579 arg5
= static_cast< wxDouble
>(val5
);
27582 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27583 if (!SWIG_IsOK(ecode6
)) {
27584 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27586 arg6
= static_cast< wxDouble
>(val6
);
27589 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27590 if (!SWIG_IsOK(ecode7
)) {
27591 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27593 arg7
= static_cast< wxDouble
>(val7
);
27596 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27606 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27607 PyObject
*resultobj
= 0;
27608 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27611 PyObject
*swig_obj
[1] ;
27613 if (!args
) SWIG_fail
;
27614 swig_obj
[0] = args
;
27615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27616 if (!SWIG_IsOK(res1
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27619 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27621 (arg1
)->PushState();
27622 if (PyErr_Occurred()) SWIG_fail
;
27624 resultobj
= SWIG_Py_Void();
27631 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27632 PyObject
*resultobj
= 0;
27633 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27636 PyObject
*swig_obj
[1] ;
27638 if (!args
) SWIG_fail
;
27639 swig_obj
[0] = args
;
27640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27641 if (!SWIG_IsOK(res1
)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27644 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27646 (arg1
)->PopState();
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 resultobj
= SWIG_Py_Void();
27656 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
= 0;
27658 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27659 wxRegion
*arg2
= 0 ;
27664 PyObject
* obj0
= 0 ;
27665 PyObject
* obj1
= 0 ;
27666 char * kwnames
[] = {
27667 (char *) "self",(char *) "region", NULL
27670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27672 if (!SWIG_IsOK(res1
)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27675 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
27677 if (!SWIG_IsOK(res2
)) {
27678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27683 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
27685 (arg1
)->Clip((wxRegion
const &)*arg2
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= SWIG_Py_Void();
27695 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
= 0;
27697 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 PyObject
* obj2
= 0 ;
27715 PyObject
* obj3
= 0 ;
27716 PyObject
* obj4
= 0 ;
27717 char * kwnames
[] = {
27718 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27723 if (!SWIG_IsOK(res1
)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27726 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27727 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27728 if (!SWIG_IsOK(ecode2
)) {
27729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
27731 arg2
= static_cast< wxDouble
>(val2
);
27732 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27733 if (!SWIG_IsOK(ecode3
)) {
27734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
27736 arg3
= static_cast< wxDouble
>(val3
);
27737 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27738 if (!SWIG_IsOK(ecode4
)) {
27739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
27741 arg4
= static_cast< wxDouble
>(val4
);
27742 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27743 if (!SWIG_IsOK(ecode5
)) {
27744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
27746 arg5
= static_cast< wxDouble
>(val5
);
27748 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 resultobj
= SWIG_Py_Void();
27758 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27759 PyObject
*resultobj
= 0;
27760 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27763 PyObject
*swig_obj
[1] ;
27765 if (!args
) SWIG_fail
;
27766 swig_obj
[0] = args
;
27767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27768 if (!SWIG_IsOK(res1
)) {
27769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27771 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27773 (arg1
)->ResetClip();
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= SWIG_Py_Void();
27783 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27784 PyObject
*resultobj
= 0;
27785 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27789 PyObject
*swig_obj
[1] ;
27791 if (!args
) SWIG_fail
;
27792 swig_obj
[0] = args
;
27793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27794 if (!SWIG_IsOK(res1
)) {
27795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27797 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27799 result
= (void *)(arg1
)->GetNativeContext();
27800 if (PyErr_Occurred()) SWIG_fail
;
27802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27809 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
= 0;
27811 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 PyObject
* obj2
= 0 ;
27823 char * kwnames
[] = {
27824 (char *) "self",(char *) "dx",(char *) "dy", NULL
27827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27829 if (!SWIG_IsOK(res1
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27832 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27833 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27834 if (!SWIG_IsOK(ecode2
)) {
27835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
27837 arg2
= static_cast< wxDouble
>(val2
);
27838 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27839 if (!SWIG_IsOK(ecode3
)) {
27840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
27842 arg3
= static_cast< wxDouble
>(val3
);
27844 (arg1
)->Translate(arg2
,arg3
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= SWIG_Py_Void();
27854 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
= 0;
27856 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27865 PyObject
* obj0
= 0 ;
27866 PyObject
* obj1
= 0 ;
27867 PyObject
* obj2
= 0 ;
27868 char * kwnames
[] = {
27869 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
27872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27874 if (!SWIG_IsOK(res1
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27877 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27878 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27879 if (!SWIG_IsOK(ecode2
)) {
27880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
27882 arg2
= static_cast< wxDouble
>(val2
);
27883 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27884 if (!SWIG_IsOK(ecode3
)) {
27885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
27887 arg3
= static_cast< wxDouble
>(val3
);
27889 (arg1
)->Scale(arg2
,arg3
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27892 resultobj
= SWIG_Py_Void();
27899 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27900 PyObject
*resultobj
= 0;
27901 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27907 PyObject
* obj0
= 0 ;
27908 PyObject
* obj1
= 0 ;
27909 char * kwnames
[] = {
27910 (char *) "self",(char *) "angle", NULL
27913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27918 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27919 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27920 if (!SWIG_IsOK(ecode2
)) {
27921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
27923 arg2
= static_cast< wxDouble
>(val2
);
27925 (arg1
)->Rotate(arg2
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 resultobj
= SWIG_Py_Void();
27935 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
= 0;
27937 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27938 wxGraphicsMatrix
*arg2
= 0 ;
27943 PyObject
* obj0
= 0 ;
27944 PyObject
* obj1
= 0 ;
27945 char * kwnames
[] = {
27946 (char *) "self",(char *) "matrix", NULL
27949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27951 if (!SWIG_IsOK(res1
)) {
27952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27954 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27955 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27956 if (!SWIG_IsOK(res2
)) {
27957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27962 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27964 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 resultobj
= SWIG_Py_Void();
27974 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
= 0;
27976 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27977 wxGraphicsMatrix
*arg2
= 0 ;
27982 PyObject
* obj0
= 0 ;
27983 PyObject
* obj1
= 0 ;
27984 char * kwnames
[] = {
27985 (char *) "self",(char *) "matrix", NULL
27988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27990 if (!SWIG_IsOK(res1
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27993 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27995 if (!SWIG_IsOK(res2
)) {
27996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28001 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28003 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28006 resultobj
= SWIG_Py_Void();
28013 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28014 PyObject
*resultobj
= 0;
28015 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28016 wxGraphicsMatrix result
;
28019 PyObject
*swig_obj
[1] ;
28021 if (!args
) SWIG_fail
;
28022 swig_obj
[0] = args
;
28023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28024 if (!SWIG_IsOK(res1
)) {
28025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28027 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28029 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28039 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28040 PyObject
*resultobj
= 0;
28041 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28042 wxGraphicsPen
*arg2
= 0 ;
28048 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28050 if (!SWIG_IsOK(res1
)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28053 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28054 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28055 if (!SWIG_IsOK(res2
)) {
28056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28061 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28063 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_Py_Void();
28073 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28074 PyObject
*resultobj
= 0;
28075 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28082 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28084 if (!SWIG_IsOK(res1
)) {
28085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28087 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28088 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28089 if (!SWIG_IsOK(res2
)) {
28090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28095 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28097 (arg1
)->SetPen((wxPen
const &)*arg2
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= SWIG_Py_Void();
28107 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28111 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28116 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28117 _v
= SWIG_CheckState(res
);
28119 if (!_v
) goto check_1
;
28120 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28125 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28129 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28134 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28135 PyObject
*resultobj
= 0;
28136 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28137 wxGraphicsBrush
*arg2
= 0 ;
28143 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28145 if (!SWIG_IsOK(res1
)) {
28146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28148 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28149 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28150 if (!SWIG_IsOK(res2
)) {
28151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28156 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28158 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28161 resultobj
= SWIG_Py_Void();
28168 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28169 PyObject
*resultobj
= 0;
28170 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28171 wxBrush
*arg2
= 0 ;
28177 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28179 if (!SWIG_IsOK(res1
)) {
28180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28182 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28183 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28184 if (!SWIG_IsOK(res2
)) {
28185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28190 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28192 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= SWIG_Py_Void();
28202 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28206 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28211 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28212 _v
= SWIG_CheckState(res
);
28214 if (!_v
) goto check_1
;
28215 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28220 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28224 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28229 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28230 PyObject
*resultobj
= 0;
28231 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28232 wxGraphicsFont
*arg2
= 0 ;
28238 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28243 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28244 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28245 if (!SWIG_IsOK(res2
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28251 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28253 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_Py_Void();
28263 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28264 PyObject
*resultobj
= 0;
28265 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28267 wxColour
const &arg3_defvalue
= *wxBLACK
;
28268 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28275 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28280 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28281 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28282 if (!SWIG_IsOK(res2
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28288 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28292 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28296 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28299 resultobj
= SWIG_Py_Void();
28306 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28310 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28315 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28316 _v
= SWIG_CheckState(res
);
28318 if (!_v
) goto check_1
;
28319 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28323 if ((argc
>= 2) && (argc
<= 3)) {
28324 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28328 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28333 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
= 0;
28335 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28336 wxGraphicsPath
*arg2
= 0 ;
28341 PyObject
* obj0
= 0 ;
28342 PyObject
* obj1
= 0 ;
28343 char * kwnames
[] = {
28344 (char *) "self",(char *) "path", NULL
28347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28349 if (!SWIG_IsOK(res1
)) {
28350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28352 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28354 if (!SWIG_IsOK(res2
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28360 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28362 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28365 resultobj
= SWIG_Py_Void();
28372 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28373 PyObject
*resultobj
= 0;
28374 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28375 wxGraphicsPath
*arg2
= 0 ;
28376 int arg3
= (int) wxODDEVEN_RULE
;
28383 PyObject
* obj0
= 0 ;
28384 PyObject
* obj1
= 0 ;
28385 PyObject
* obj2
= 0 ;
28386 char * kwnames
[] = {
28387 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28392 if (!SWIG_IsOK(res1
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28395 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28397 if (!SWIG_IsOK(res2
)) {
28398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28403 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28405 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28406 if (!SWIG_IsOK(ecode3
)) {
28407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28409 arg3
= static_cast< int >(val3
);
28412 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_Py_Void();
28422 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
= 0;
28424 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28425 wxGraphicsPath
*arg2
= 0 ;
28426 int arg3
= (int) wxODDEVEN_RULE
;
28433 PyObject
* obj0
= 0 ;
28434 PyObject
* obj1
= 0 ;
28435 PyObject
* obj2
= 0 ;
28436 char * kwnames
[] = {
28437 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28442 if (!SWIG_IsOK(res1
)) {
28443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28445 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28447 if (!SWIG_IsOK(res2
)) {
28448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28453 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28456 if (!SWIG_IsOK(ecode3
)) {
28457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28459 arg3
= static_cast< int >(val3
);
28462 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 resultobj
= SWIG_Py_Void();
28472 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
= 0;
28474 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28475 wxString
*arg2
= 0 ;
28480 bool temp2
= false ;
28485 PyObject
* obj0
= 0 ;
28486 PyObject
* obj1
= 0 ;
28487 PyObject
* obj2
= 0 ;
28488 PyObject
* obj3
= 0 ;
28489 char * kwnames
[] = {
28490 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
28493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28495 if (!SWIG_IsOK(res1
)) {
28496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28498 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28500 arg2
= wxString_in_helper(obj1
);
28501 if (arg2
== NULL
) SWIG_fail
;
28504 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28505 if (!SWIG_IsOK(ecode3
)) {
28506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28508 arg3
= static_cast< wxDouble
>(val3
);
28509 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28510 if (!SWIG_IsOK(ecode4
)) {
28511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28513 arg4
= static_cast< wxDouble
>(val4
);
28515 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28518 resultobj
= SWIG_Py_Void();
28533 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28534 PyObject
*resultobj
= 0;
28535 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28536 wxString
*arg2
= 0 ;
28542 bool temp2
= false ;
28549 PyObject
* obj0
= 0 ;
28550 PyObject
* obj1
= 0 ;
28551 PyObject
* obj2
= 0 ;
28552 PyObject
* obj3
= 0 ;
28553 PyObject
* obj4
= 0 ;
28554 char * kwnames
[] = {
28555 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
28558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28560 if (!SWIG_IsOK(res1
)) {
28561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28563 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28565 arg2
= wxString_in_helper(obj1
);
28566 if (arg2
== NULL
) SWIG_fail
;
28569 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28570 if (!SWIG_IsOK(ecode3
)) {
28571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28573 arg3
= static_cast< wxDouble
>(val3
);
28574 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28575 if (!SWIG_IsOK(ecode4
)) {
28576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28578 arg4
= static_cast< wxDouble
>(val4
);
28579 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28580 if (!SWIG_IsOK(ecode5
)) {
28581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28583 arg5
= static_cast< wxDouble
>(val5
);
28585 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= SWIG_Py_Void();
28603 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28604 PyObject
*resultobj
= 0;
28605 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28606 wxString
*arg2
= 0 ;
28607 wxDouble
*arg3
= (wxDouble
*) 0 ;
28608 wxDouble
*arg4
= (wxDouble
*) 0 ;
28609 wxDouble
*arg5
= (wxDouble
*) 0 ;
28610 wxDouble
*arg6
= (wxDouble
*) 0 ;
28613 bool temp2
= false ;
28615 int res3
= SWIG_TMPOBJ
;
28617 int res4
= SWIG_TMPOBJ
;
28619 int res5
= SWIG_TMPOBJ
;
28621 int res6
= SWIG_TMPOBJ
;
28622 PyObject
* obj0
= 0 ;
28623 PyObject
* obj1
= 0 ;
28624 char * kwnames
[] = {
28625 (char *) "self",(char *) "text", NULL
28632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28634 if (!SWIG_IsOK(res1
)) {
28635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28637 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28639 arg2
= wxString_in_helper(obj1
);
28640 if (arg2
== NULL
) SWIG_fail
;
28644 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= SWIG_Py_Void();
28648 if (SWIG_IsTmpObj(res3
)) {
28649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
28651 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
28654 if (SWIG_IsTmpObj(res4
)) {
28655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
28657 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
28660 if (SWIG_IsTmpObj(res5
)) {
28661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
28663 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
28666 if (SWIG_IsTmpObj(res6
)) {
28667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
28669 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
28686 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28687 PyObject
*resultobj
= 0;
28688 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28689 wxString
*arg2
= 0 ;
28690 PyObject
*result
= 0 ;
28693 bool temp2
= false ;
28694 PyObject
* obj0
= 0 ;
28695 PyObject
* obj1
= 0 ;
28696 char * kwnames
[] = {
28697 (char *) "self",(char *) "text", NULL
28700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28702 if (!SWIG_IsOK(res1
)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28705 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28707 arg2
= wxString_in_helper(obj1
);
28708 if (arg2
== NULL
) SWIG_fail
;
28712 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= result
;
28730 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
= 0;
28732 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28733 wxString
*arg2
= 0 ;
28734 wxArrayDouble result
;
28737 bool temp2
= false ;
28738 PyObject
* obj0
= 0 ;
28739 PyObject
* obj1
= 0 ;
28740 char * kwnames
[] = {
28741 (char *) "self",(char *) "text", NULL
28744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28746 if (!SWIG_IsOK(res1
)) {
28747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28749 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28751 arg2
= wxString_in_helper(obj1
);
28752 if (arg2
== NULL
) SWIG_fail
;
28756 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28760 resultobj
= wxArrayDouble2PyList_helper(result
);
28776 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
= 0;
28778 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28779 wxBitmap
*arg2
= 0 ;
28796 PyObject
* obj0
= 0 ;
28797 PyObject
* obj1
= 0 ;
28798 PyObject
* obj2
= 0 ;
28799 PyObject
* obj3
= 0 ;
28800 PyObject
* obj4
= 0 ;
28801 PyObject
* obj5
= 0 ;
28802 char * kwnames
[] = {
28803 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28808 if (!SWIG_IsOK(res1
)) {
28809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28811 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28813 if (!SWIG_IsOK(res2
)) {
28814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28819 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
28820 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28821 if (!SWIG_IsOK(ecode3
)) {
28822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
28824 arg3
= static_cast< wxDouble
>(val3
);
28825 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28826 if (!SWIG_IsOK(ecode4
)) {
28827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
28829 arg4
= static_cast< wxDouble
>(val4
);
28830 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28831 if (!SWIG_IsOK(ecode5
)) {
28832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
28834 arg5
= static_cast< wxDouble
>(val5
);
28835 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28836 if (!SWIG_IsOK(ecode6
)) {
28837 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
28839 arg6
= static_cast< wxDouble
>(val6
);
28841 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 resultobj
= SWIG_Py_Void();
28851 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
= 0;
28853 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28871 PyObject
* obj0
= 0 ;
28872 PyObject
* obj1
= 0 ;
28873 PyObject
* obj2
= 0 ;
28874 PyObject
* obj3
= 0 ;
28875 PyObject
* obj4
= 0 ;
28876 PyObject
* obj5
= 0 ;
28877 char * kwnames
[] = {
28878 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28883 if (!SWIG_IsOK(res1
)) {
28884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28886 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
28888 if (!SWIG_IsOK(res2
)) {
28889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28894 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
28895 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28896 if (!SWIG_IsOK(ecode3
)) {
28897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
28899 arg3
= static_cast< wxDouble
>(val3
);
28900 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28901 if (!SWIG_IsOK(ecode4
)) {
28902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
28904 arg4
= static_cast< wxDouble
>(val4
);
28905 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28906 if (!SWIG_IsOK(ecode5
)) {
28907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
28909 arg5
= static_cast< wxDouble
>(val5
);
28910 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28911 if (!SWIG_IsOK(ecode6
)) {
28912 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
28914 arg6
= static_cast< wxDouble
>(val6
);
28916 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_Py_Void();
28926 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
= 0;
28928 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28943 PyObject
* obj0
= 0 ;
28944 PyObject
* obj1
= 0 ;
28945 PyObject
* obj2
= 0 ;
28946 PyObject
* obj3
= 0 ;
28947 PyObject
* obj4
= 0 ;
28948 char * kwnames
[] = {
28949 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28954 if (!SWIG_IsOK(res1
)) {
28955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28957 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28958 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28959 if (!SWIG_IsOK(ecode2
)) {
28960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
28962 arg2
= static_cast< wxDouble
>(val2
);
28963 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28964 if (!SWIG_IsOK(ecode3
)) {
28965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
28967 arg3
= static_cast< wxDouble
>(val3
);
28968 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28969 if (!SWIG_IsOK(ecode4
)) {
28970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
28972 arg4
= static_cast< wxDouble
>(val4
);
28973 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28974 if (!SWIG_IsOK(ecode5
)) {
28975 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
28977 arg5
= static_cast< wxDouble
>(val5
);
28979 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= SWIG_Py_Void();
28989 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
= 0;
28991 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28993 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
28996 PyObject
* obj0
= 0 ;
28997 PyObject
* obj1
= 0 ;
28998 char * kwnames
[] = {
28999 (char *) "self",(char *) "points", NULL
29002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29004 if (!SWIG_IsOK(res1
)) {
29005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29007 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29009 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29010 if (arg3
== NULL
) SWIG_fail
;
29013 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_Py_Void();
29018 if (arg3
) delete [] arg3
;
29023 if (arg3
) delete [] arg3
;
29029 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
= 0;
29031 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29032 PyObject
*arg2
= (PyObject
*) 0 ;
29033 PyObject
*arg3
= (PyObject
*) 0 ;
29036 PyObject
* obj0
= 0 ;
29037 PyObject
* obj1
= 0 ;
29038 PyObject
* obj2
= 0 ;
29039 char * kwnames
[] = {
29040 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29045 if (!SWIG_IsOK(res1
)) {
29046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29048 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29052 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= SWIG_Py_Void();
29062 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
= 0;
29064 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29066 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29067 int arg4
= (int) wxODDEVEN_RULE
;
29072 PyObject
* obj0
= 0 ;
29073 PyObject
* obj1
= 0 ;
29074 PyObject
* obj2
= 0 ;
29075 char * kwnames
[] = {
29076 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29081 if (!SWIG_IsOK(res1
)) {
29082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29084 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29086 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29087 if (arg3
== NULL
) SWIG_fail
;
29090 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29091 if (!SWIG_IsOK(ecode4
)) {
29092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29094 arg4
= static_cast< int >(val4
);
29097 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29098 if (PyErr_Occurred()) SWIG_fail
;
29100 resultobj
= SWIG_Py_Void();
29102 if (arg3
) delete [] arg3
;
29107 if (arg3
) delete [] arg3
;
29113 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29114 PyObject
*resultobj
= 0;
29115 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29130 PyObject
* obj0
= 0 ;
29131 PyObject
* obj1
= 0 ;
29132 PyObject
* obj2
= 0 ;
29133 PyObject
* obj3
= 0 ;
29134 PyObject
* obj4
= 0 ;
29135 char * kwnames
[] = {
29136 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29141 if (!SWIG_IsOK(res1
)) {
29142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29144 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29145 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29146 if (!SWIG_IsOK(ecode2
)) {
29147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29149 arg2
= static_cast< wxDouble
>(val2
);
29150 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29151 if (!SWIG_IsOK(ecode3
)) {
29152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29154 arg3
= static_cast< wxDouble
>(val3
);
29155 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29156 if (!SWIG_IsOK(ecode4
)) {
29157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29159 arg4
= static_cast< wxDouble
>(val4
);
29160 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29161 if (!SWIG_IsOK(ecode5
)) {
29162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29164 arg5
= static_cast< wxDouble
>(val5
);
29166 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= SWIG_Py_Void();
29176 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
= 0;
29178 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29193 PyObject
* obj0
= 0 ;
29194 PyObject
* obj1
= 0 ;
29195 PyObject
* obj2
= 0 ;
29196 PyObject
* obj3
= 0 ;
29197 PyObject
* obj4
= 0 ;
29198 char * kwnames
[] = {
29199 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29204 if (!SWIG_IsOK(res1
)) {
29205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29207 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29208 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29209 if (!SWIG_IsOK(ecode2
)) {
29210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29212 arg2
= static_cast< wxDouble
>(val2
);
29213 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29214 if (!SWIG_IsOK(ecode3
)) {
29215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29217 arg3
= static_cast< wxDouble
>(val3
);
29218 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29219 if (!SWIG_IsOK(ecode4
)) {
29220 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29222 arg4
= static_cast< wxDouble
>(val4
);
29223 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29224 if (!SWIG_IsOK(ecode5
)) {
29225 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29227 arg5
= static_cast< wxDouble
>(val5
);
29229 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29232 resultobj
= SWIG_Py_Void();
29239 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
= 0;
29241 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29259 PyObject
* obj0
= 0 ;
29260 PyObject
* obj1
= 0 ;
29261 PyObject
* obj2
= 0 ;
29262 PyObject
* obj3
= 0 ;
29263 PyObject
* obj4
= 0 ;
29264 PyObject
* obj5
= 0 ;
29265 char * kwnames
[] = {
29266 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29271 if (!SWIG_IsOK(res1
)) {
29272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29274 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29275 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29276 if (!SWIG_IsOK(ecode2
)) {
29277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29279 arg2
= static_cast< wxDouble
>(val2
);
29280 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29281 if (!SWIG_IsOK(ecode3
)) {
29282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29284 arg3
= static_cast< wxDouble
>(val3
);
29285 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29286 if (!SWIG_IsOK(ecode4
)) {
29287 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29289 arg4
= static_cast< wxDouble
>(val4
);
29290 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29291 if (!SWIG_IsOK(ecode5
)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29294 arg5
= static_cast< wxDouble
>(val5
);
29295 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29296 if (!SWIG_IsOK(ecode6
)) {
29297 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29299 arg6
= static_cast< wxDouble
>(val6
);
29301 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29304 resultobj
= SWIG_Py_Void();
29311 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29312 PyObject
*resultobj
= 0;
29313 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29317 PyObject
*swig_obj
[1] ;
29319 if (!args
) SWIG_fail
;
29320 swig_obj
[0] = args
;
29321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29322 if (!SWIG_IsOK(res1
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29325 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29327 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29328 if (PyErr_Occurred()) SWIG_fail
;
29331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29339 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29342 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29343 return SWIG_Py_Void();
29346 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29347 PyObject
*resultobj
= 0;
29348 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29351 PyObject
*swig_obj
[1] ;
29353 if (!args
) SWIG_fail
;
29354 swig_obj
[0] = args
;
29355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29356 if (!SWIG_IsOK(res1
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29359 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29365 resultobj
= SWIG_Py_Void();
29372 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29373 PyObject
*resultobj
= 0;
29374 wxGraphicsRenderer
*result
= 0 ;
29376 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29378 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29388 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29389 PyObject
*resultobj
= 0;
29390 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29391 wxWindowDC
*arg2
= 0 ;
29392 wxGraphicsContext
*result
= 0 ;
29398 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29400 if (!SWIG_IsOK(res1
)) {
29401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29403 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29404 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29405 if (!SWIG_IsOK(res2
)) {
29406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29411 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29413 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29423 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29424 PyObject
*resultobj
= 0;
29425 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29426 wxWindow
*arg2
= (wxWindow
*) 0 ;
29427 wxGraphicsContext
*result
= 0 ;
29433 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29435 if (!SWIG_IsOK(res1
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29438 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29439 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29440 if (!SWIG_IsOK(res2
)) {
29441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29443 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29445 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29455 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29459 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29464 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29465 _v
= SWIG_CheckState(res
);
29467 if (!_v
) goto check_1
;
29468 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29473 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29477 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29482 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
= 0;
29484 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29485 void *arg2
= (void *) 0 ;
29486 wxGraphicsContext
*result
= 0 ;
29490 PyObject
* obj0
= 0 ;
29491 PyObject
* obj1
= 0 ;
29492 char * kwnames
[] = {
29493 (char *) "self",(char *) "context", NULL
29496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29498 if (!SWIG_IsOK(res1
)) {
29499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29501 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29502 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29503 if (!SWIG_IsOK(res2
)) {
29504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29507 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29517 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29518 PyObject
*resultobj
= 0;
29519 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29520 void *arg2
= (void *) 0 ;
29521 wxGraphicsContext
*result
= 0 ;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 char * kwnames
[] = {
29528 (char *) "self",(char *) "window", NULL
29531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29533 if (!SWIG_IsOK(res1
)) {
29534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29536 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29537 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29538 if (!SWIG_IsOK(res2
)) {
29539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29542 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29552 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29553 PyObject
*resultobj
= 0;
29554 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29555 wxGraphicsPath result
;
29558 PyObject
*swig_obj
[1] ;
29560 if (!args
) SWIG_fail
;
29561 swig_obj
[0] = args
;
29562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29563 if (!SWIG_IsOK(res1
)) {
29564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29566 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29568 result
= (arg1
)->CreatePath();
29569 if (PyErr_Occurred()) SWIG_fail
;
29571 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29578 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29579 PyObject
*resultobj
= 0;
29580 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29581 wxDouble arg2
= (wxDouble
) 1.0 ;
29582 wxDouble arg3
= (wxDouble
) 0.0 ;
29583 wxDouble arg4
= (wxDouble
) 0.0 ;
29584 wxDouble arg5
= (wxDouble
) 1.0 ;
29585 wxDouble arg6
= (wxDouble
) 0.0 ;
29586 wxDouble arg7
= (wxDouble
) 0.0 ;
29587 wxGraphicsMatrix result
;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 PyObject
* obj2
= 0 ;
29605 PyObject
* obj3
= 0 ;
29606 PyObject
* obj4
= 0 ;
29607 PyObject
* obj5
= 0 ;
29608 PyObject
* obj6
= 0 ;
29609 char * kwnames
[] = {
29610 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29615 if (!SWIG_IsOK(res1
)) {
29616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29618 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29620 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29621 if (!SWIG_IsOK(ecode2
)) {
29622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29624 arg2
= static_cast< wxDouble
>(val2
);
29627 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29628 if (!SWIG_IsOK(ecode3
)) {
29629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29631 arg3
= static_cast< wxDouble
>(val3
);
29634 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29635 if (!SWIG_IsOK(ecode4
)) {
29636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
29638 arg4
= static_cast< wxDouble
>(val4
);
29641 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29642 if (!SWIG_IsOK(ecode5
)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
29645 arg5
= static_cast< wxDouble
>(val5
);
29648 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29649 if (!SWIG_IsOK(ecode6
)) {
29650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
29652 arg6
= static_cast< wxDouble
>(val6
);
29655 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29656 if (!SWIG_IsOK(ecode7
)) {
29657 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
29659 arg7
= static_cast< wxDouble
>(val7
);
29662 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29672 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
= 0;
29674 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29676 wxGraphicsPen result
;
29681 PyObject
* obj0
= 0 ;
29682 PyObject
* obj1
= 0 ;
29683 char * kwnames
[] = {
29684 (char *) "self",(char *) "pen", NULL
29687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29689 if (!SWIG_IsOK(res1
)) {
29690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29692 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29694 if (!SWIG_IsOK(res2
)) {
29695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29700 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29702 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29705 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
29712 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29713 PyObject
*resultobj
= 0;
29714 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29715 wxBrush
*arg2
= 0 ;
29716 wxGraphicsBrush result
;
29721 PyObject
* obj0
= 0 ;
29722 PyObject
* obj1
= 0 ;
29723 char * kwnames
[] = {
29724 (char *) "self",(char *) "brush", NULL
29727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29729 if (!SWIG_IsOK(res1
)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29732 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29734 if (!SWIG_IsOK(res2
)) {
29735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29740 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29742 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29752 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
= 0;
29754 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29759 wxColour
*arg6
= 0 ;
29760 wxColour
*arg7
= 0 ;
29761 wxGraphicsBrush result
;
29774 PyObject
* obj0
= 0 ;
29775 PyObject
* obj1
= 0 ;
29776 PyObject
* obj2
= 0 ;
29777 PyObject
* obj3
= 0 ;
29778 PyObject
* obj4
= 0 ;
29779 PyObject
* obj5
= 0 ;
29780 PyObject
* obj6
= 0 ;
29781 char * kwnames
[] = {
29782 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
29785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29787 if (!SWIG_IsOK(res1
)) {
29788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29790 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29791 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29792 if (!SWIG_IsOK(ecode2
)) {
29793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
29795 arg2
= static_cast< wxDouble
>(val2
);
29796 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29797 if (!SWIG_IsOK(ecode3
)) {
29798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
29800 arg3
= static_cast< wxDouble
>(val3
);
29801 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29802 if (!SWIG_IsOK(ecode4
)) {
29803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
29805 arg4
= static_cast< wxDouble
>(val4
);
29806 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29807 if (!SWIG_IsOK(ecode5
)) {
29808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
29810 arg5
= static_cast< wxDouble
>(val5
);
29813 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29817 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
29820 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29823 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29830 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29831 PyObject
*resultobj
= 0;
29832 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29838 wxColour
*arg7
= 0 ;
29839 wxColour
*arg8
= 0 ;
29840 wxGraphicsBrush result
;
29855 PyObject
* obj0
= 0 ;
29856 PyObject
* obj1
= 0 ;
29857 PyObject
* obj2
= 0 ;
29858 PyObject
* obj3
= 0 ;
29859 PyObject
* obj4
= 0 ;
29860 PyObject
* obj5
= 0 ;
29861 PyObject
* obj6
= 0 ;
29862 PyObject
* obj7
= 0 ;
29863 char * kwnames
[] = {
29864 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
29867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29872 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29873 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29874 if (!SWIG_IsOK(ecode2
)) {
29875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
29877 arg2
= static_cast< wxDouble
>(val2
);
29878 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29879 if (!SWIG_IsOK(ecode3
)) {
29880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
29882 arg3
= static_cast< wxDouble
>(val3
);
29883 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29884 if (!SWIG_IsOK(ecode4
)) {
29885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
29887 arg4
= static_cast< wxDouble
>(val4
);
29888 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29889 if (!SWIG_IsOK(ecode5
)) {
29890 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
29892 arg5
= static_cast< wxDouble
>(val5
);
29893 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29894 if (!SWIG_IsOK(ecode6
)) {
29895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
29897 arg6
= static_cast< wxDouble
>(val6
);
29900 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
29904 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
29907 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29917 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29918 PyObject
*resultobj
= 0;
29919 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29921 wxColour
const &arg3_defvalue
= *wxBLACK
;
29922 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29923 wxGraphicsFont result
;
29929 PyObject
* obj0
= 0 ;
29930 PyObject
* obj1
= 0 ;
29931 PyObject
* obj2
= 0 ;
29932 char * kwnames
[] = {
29933 (char *) "self",(char *) "font",(char *) "col", NULL
29936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29938 if (!SWIG_IsOK(res1
)) {
29939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29941 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29943 if (!SWIG_IsOK(res2
)) {
29944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29949 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29953 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29957 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
29967 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29970 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
29971 return SWIG_Py_Void();
29974 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29975 PyObject
*resultobj
= 0;
29976 wxWindowDC
*arg1
= 0 ;
29977 wxGCDC
*result
= 0 ;
29980 PyObject
* obj0
= 0 ;
29981 char * kwnames
[] = {
29982 (char *) "dc", NULL
29985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
29986 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29987 if (!SWIG_IsOK(res1
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
29991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
29993 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
29995 if (!wxPyCheckForApp()) SWIG_fail
;
29996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29997 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30008 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30009 PyObject
*resultobj
= 0;
30010 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30013 PyObject
*swig_obj
[1] ;
30015 if (!args
) SWIG_fail
;
30016 swig_obj
[0] = args
;
30017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30018 if (!SWIG_IsOK(res1
)) {
30019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30021 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30027 resultobj
= SWIG_Py_Void();
30034 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30035 PyObject
*resultobj
= 0;
30036 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30037 wxGraphicsContext
*result
= 0 ;
30040 PyObject
*swig_obj
[1] ;
30042 if (!args
) SWIG_fail
;
30043 swig_obj
[0] = args
;
30044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30045 if (!SWIG_IsOK(res1
)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30048 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30050 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30051 if (PyErr_Occurred()) SWIG_fail
;
30053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30060 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
= 0;
30062 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30063 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 char * kwnames
[] = {
30071 (char *) "self",(char *) "ctx", NULL
30074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30076 if (!SWIG_IsOK(res1
)) {
30077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30079 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30081 if (!SWIG_IsOK(res2
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30084 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30086 (arg1
)->SetGraphicsContext(arg2
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30089 resultobj
= SWIG_Py_Void();
30096 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30099 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30100 return SWIG_Py_Void();
30103 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30104 return SWIG_Python_InitShadowInstance(args
);
30107 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30108 PyObject
*resultobj
= 0;
30109 wxOverlay
*result
= 0 ;
30111 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30114 result
= (wxOverlay
*)new wxOverlay();
30115 wxPyEndAllowThreads(__tstate
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30125 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30126 PyObject
*resultobj
= 0;
30127 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30130 PyObject
*swig_obj
[1] ;
30132 if (!args
) SWIG_fail
;
30133 swig_obj
[0] = args
;
30134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30135 if (!SWIG_IsOK(res1
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30138 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 wxPyEndAllowThreads(__tstate
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30146 resultobj
= SWIG_Py_Void();
30153 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30154 PyObject
*resultobj
= 0;
30155 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30158 PyObject
*swig_obj
[1] ;
30160 if (!args
) SWIG_fail
;
30161 swig_obj
[0] = args
;
30162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30163 if (!SWIG_IsOK(res1
)) {
30164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30166 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30173 resultobj
= SWIG_Py_Void();
30180 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30183 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30184 return SWIG_Py_Void();
30187 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30188 return SWIG_Python_InitShadowInstance(args
);
30191 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30192 PyObject
*resultobj
= 0;
30193 wxOverlay
*arg1
= 0 ;
30194 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30199 wxDCOverlay
*result
= 0 ;
30213 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30215 if (!SWIG_IsOK(res1
)) {
30216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30221 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30222 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30223 if (!SWIG_IsOK(res2
)) {
30224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30226 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30227 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30228 if (!SWIG_IsOK(ecode3
)) {
30229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30231 arg3
= static_cast< int >(val3
);
30232 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30233 if (!SWIG_IsOK(ecode4
)) {
30234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30236 arg4
= static_cast< int >(val4
);
30237 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30238 if (!SWIG_IsOK(ecode5
)) {
30239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30241 arg5
= static_cast< int >(val5
);
30242 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30243 if (!SWIG_IsOK(ecode6
)) {
30244 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30246 arg6
= static_cast< int >(val6
);
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30250 wxPyEndAllowThreads(__tstate
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30260 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30261 PyObject
*resultobj
= 0;
30262 wxOverlay
*arg1
= 0 ;
30263 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30264 wxDCOverlay
*result
= 0 ;
30270 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30272 if (!SWIG_IsOK(res1
)) {
30273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30278 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30279 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30280 if (!SWIG_IsOK(res2
)) {
30281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30283 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30297 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30301 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30304 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30307 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30311 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30316 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30317 PyObject
*resultobj
= 0;
30318 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30321 PyObject
*swig_obj
[1] ;
30323 if (!args
) SWIG_fail
;
30324 swig_obj
[0] = args
;
30325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30326 if (!SWIG_IsOK(res1
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30329 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30337 resultobj
= SWIG_Py_Void();
30344 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30345 PyObject
*resultobj
= 0;
30346 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30349 PyObject
*swig_obj
[1] ;
30351 if (!args
) SWIG_fail
;
30352 swig_obj
[0] = args
;
30353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30354 if (!SWIG_IsOK(res1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30357 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30364 resultobj
= SWIG_Py_Void();
30371 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30374 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30375 return SWIG_Py_Void();
30378 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30379 return SWIG_Python_InitShadowInstance(args
);
30382 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
= 0;
30386 int arg3
= (int) true ;
30387 int arg4
= (int) 1 ;
30388 wxImageList
*result
= 0 ;
30397 PyObject
* obj0
= 0 ;
30398 PyObject
* obj1
= 0 ;
30399 PyObject
* obj2
= 0 ;
30400 PyObject
* obj3
= 0 ;
30401 char * kwnames
[] = {
30402 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30406 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30407 if (!SWIG_IsOK(ecode1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30410 arg1
= static_cast< int >(val1
);
30411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30412 if (!SWIG_IsOK(ecode2
)) {
30413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30415 arg2
= static_cast< int >(val2
);
30417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30418 if (!SWIG_IsOK(ecode3
)) {
30419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30421 arg3
= static_cast< int >(val3
);
30424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30425 if (!SWIG_IsOK(ecode4
)) {
30426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30428 arg4
= static_cast< int >(val4
);
30431 if (!wxPyCheckForApp()) SWIG_fail
;
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30444 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30445 PyObject
*resultobj
= 0;
30446 wxImageList
*arg1
= (wxImageList
*) 0 ;
30449 PyObject
*swig_obj
[1] ;
30451 if (!args
) SWIG_fail
;
30452 swig_obj
[0] = args
;
30453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30454 if (!SWIG_IsOK(res1
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30457 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30462 wxPyEndAllowThreads(__tstate
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= SWIG_Py_Void();
30472 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30473 PyObject
*resultobj
= 0;
30474 wxImageList
*arg1
= (wxImageList
*) 0 ;
30475 wxBitmap
*arg2
= 0 ;
30476 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30477 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30485 PyObject
* obj0
= 0 ;
30486 PyObject
* obj1
= 0 ;
30487 PyObject
* obj2
= 0 ;
30488 char * kwnames
[] = {
30489 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30494 if (!SWIG_IsOK(res1
)) {
30495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30497 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30499 if (!SWIG_IsOK(res2
)) {
30500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30505 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30507 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30508 if (!SWIG_IsOK(res3
)) {
30509 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30514 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30519 wxPyEndAllowThreads(__tstate
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 resultobj
= SWIG_From_int(static_cast< int >(result
));
30529 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
= 0;
30531 wxImageList
*arg1
= (wxImageList
*) 0 ;
30532 wxBitmap
*arg2
= 0 ;
30533 wxColour
*arg3
= 0 ;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 PyObject
* obj2
= 0 ;
30543 char * kwnames
[] = {
30544 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30549 if (!SWIG_IsOK(res1
)) {
30550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30552 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30554 if (!SWIG_IsOK(res2
)) {
30555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30560 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30563 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30567 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30571 resultobj
= SWIG_From_int(static_cast< int >(result
));
30578 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
= 0;
30580 wxImageList
*arg1
= (wxImageList
*) 0 ;
30587 PyObject
* obj0
= 0 ;
30588 PyObject
* obj1
= 0 ;
30589 char * kwnames
[] = {
30590 (char *) "self",(char *) "icon", NULL
30593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30595 if (!SWIG_IsOK(res1
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
30598 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30600 if (!SWIG_IsOK(res2
)) {
30601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30606 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
30610 wxPyEndAllowThreads(__tstate
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30613 resultobj
= SWIG_From_int(static_cast< int >(result
));
30620 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30621 PyObject
*resultobj
= 0;
30622 wxImageList
*arg1
= (wxImageList
*) 0 ;
30624 SwigValueWrapper
<wxBitmap
> result
;
30629 PyObject
* obj0
= 0 ;
30630 PyObject
* obj1
= 0 ;
30631 char * kwnames
[] = {
30632 (char *) "self",(char *) "index", NULL
30635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30637 if (!SWIG_IsOK(res1
)) {
30638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
30640 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30642 if (!SWIG_IsOK(ecode2
)) {
30643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
30645 arg2
= static_cast< int >(val2
);
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
30649 wxPyEndAllowThreads(__tstate
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30652 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
30659 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30660 PyObject
*resultobj
= 0;
30661 wxImageList
*arg1
= (wxImageList
*) 0 ;
30668 PyObject
* obj0
= 0 ;
30669 PyObject
* obj1
= 0 ;
30670 char * kwnames
[] = {
30671 (char *) "self",(char *) "index", NULL
30674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30676 if (!SWIG_IsOK(res1
)) {
30677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
30679 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30681 if (!SWIG_IsOK(ecode2
)) {
30682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
30684 arg2
= static_cast< int >(val2
);
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
30698 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30699 PyObject
*resultobj
= 0;
30700 wxImageList
*arg1
= (wxImageList
*) 0 ;
30702 wxBitmap
*arg3
= 0 ;
30703 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
30704 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
30714 PyObject
* obj0
= 0 ;
30715 PyObject
* obj1
= 0 ;
30716 PyObject
* obj2
= 0 ;
30717 PyObject
* obj3
= 0 ;
30718 char * kwnames
[] = {
30719 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
30722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30724 if (!SWIG_IsOK(res1
)) {
30725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
30727 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30729 if (!SWIG_IsOK(ecode2
)) {
30730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
30732 arg2
= static_cast< int >(val2
);
30733 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30734 if (!SWIG_IsOK(res3
)) {
30735 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30740 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30742 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30743 if (!SWIG_IsOK(res4
)) {
30744 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
30747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
30749 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30766 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
= 0;
30768 wxImageList
*arg1
= (wxImageList
*) 0 ;
30773 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
30774 bool arg7
= (bool) (bool)false ;
30790 PyObject
* obj0
= 0 ;
30791 PyObject
* obj1
= 0 ;
30792 PyObject
* obj2
= 0 ;
30793 PyObject
* obj3
= 0 ;
30794 PyObject
* obj4
= 0 ;
30795 PyObject
* obj5
= 0 ;
30796 PyObject
* obj6
= 0 ;
30797 char * kwnames
[] = {
30798 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
30801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30803 if (!SWIG_IsOK(res1
)) {
30804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
30806 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30808 if (!SWIG_IsOK(ecode2
)) {
30809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
30811 arg2
= static_cast< int >(val2
);
30812 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30813 if (!SWIG_IsOK(res3
)) {
30814 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
30817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
30819 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30820 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30821 if (!SWIG_IsOK(ecode4
)) {
30822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
30824 arg4
= static_cast< int >(val4
);
30825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30826 if (!SWIG_IsOK(ecode5
)) {
30827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
30829 arg5
= static_cast< int >(val5
);
30831 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30832 if (!SWIG_IsOK(ecode6
)) {
30833 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
30835 arg6
= static_cast< int >(val6
);
30838 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
30839 if (!SWIG_IsOK(ecode7
)) {
30840 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
30842 arg7
= static_cast< bool >(val7
);
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30859 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30860 PyObject
*resultobj
= 0;
30861 wxImageList
*arg1
= (wxImageList
*) 0 ;
30865 PyObject
*swig_obj
[1] ;
30867 if (!args
) SWIG_fail
;
30868 swig_obj
[0] = args
;
30869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30870 if (!SWIG_IsOK(res1
)) {
30871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
30873 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30876 result
= (int)(arg1
)->GetImageCount();
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30880 resultobj
= SWIG_From_int(static_cast< int >(result
));
30887 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
= 0;
30889 wxImageList
*arg1
= (wxImageList
*) 0 ;
30896 PyObject
* obj0
= 0 ;
30897 PyObject
* obj1
= 0 ;
30898 char * kwnames
[] = {
30899 (char *) "self",(char *) "index", NULL
30902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30904 if (!SWIG_IsOK(res1
)) {
30905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
30907 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30909 if (!SWIG_IsOK(ecode2
)) {
30910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
30912 arg2
= static_cast< int >(val2
);
30914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30915 result
= (bool)(arg1
)->Remove(arg2
);
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30928 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30929 PyObject
*resultobj
= 0;
30930 wxImageList
*arg1
= (wxImageList
*) 0 ;
30934 PyObject
*swig_obj
[1] ;
30936 if (!args
) SWIG_fail
;
30937 swig_obj
[0] = args
;
30938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30939 if (!SWIG_IsOK(res1
)) {
30940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
30942 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 result
= (bool)(arg1
)->RemoveAll();
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30958 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30959 PyObject
*resultobj
= 0;
30960 wxImageList
*arg1
= (wxImageList
*) 0 ;
30969 int res3
= SWIG_TMPOBJ
;
30971 int res4
= SWIG_TMPOBJ
;
30972 PyObject
* obj0
= 0 ;
30973 PyObject
* obj1
= 0 ;
30974 char * kwnames
[] = {
30975 (char *) "self",(char *) "index", NULL
30980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30982 if (!SWIG_IsOK(res1
)) {
30983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
30985 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30987 if (!SWIG_IsOK(ecode2
)) {
30988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
30990 arg2
= static_cast< int >(val2
);
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 resultobj
= SWIG_Py_Void();
30998 if (SWIG_IsTmpObj(res3
)) {
30999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31001 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31004 if (SWIG_IsTmpObj(res4
)) {
31005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31007 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31016 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31019 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31020 return SWIG_Py_Void();
31023 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31024 return SWIG_Python_InitShadowInstance(args
);
31027 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31028 PyObject
*resultobj
= 0;
31029 wxStockGDI
*result
= 0 ;
31031 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 result
= (wxStockGDI
*)new wxStockGDI();
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31045 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31046 PyObject
*resultobj
= 0;
31047 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31050 PyObject
*swig_obj
[1] ;
31052 if (!args
) SWIG_fail
;
31053 swig_obj
[0] = args
;
31054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31055 if (!SWIG_IsOK(res1
)) {
31056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31058 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 wxPyEndAllowThreads(__tstate
);
31064 if (PyErr_Occurred()) SWIG_fail
;
31066 resultobj
= SWIG_Py_Void();
31073 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31074 PyObject
*resultobj
= 0;
31076 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31079 wxStockGDI::DeleteAll();
31080 wxPyEndAllowThreads(__tstate
);
31081 if (PyErr_Occurred()) SWIG_fail
;
31083 resultobj
= SWIG_Py_Void();
31090 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31091 PyObject
*resultobj
= 0;
31092 wxStockGDI
*result
= 0 ;
31094 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31099 result
= (wxStockGDI
*) &_result_ref
;
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31111 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
= 0;
31113 wxStockGDI::Item arg1
;
31114 wxBrush
*result
= 0 ;
31117 PyObject
* obj0
= 0 ;
31118 char * kwnames
[] = {
31119 (char *) "item", NULL
31122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31123 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31124 if (!SWIG_IsOK(ecode1
)) {
31125 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31127 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31130 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31141 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
= 0;
31143 wxStockGDI::Item arg1
;
31144 wxColour
*result
= 0 ;
31147 PyObject
* obj0
= 0 ;
31148 char * kwnames
[] = {
31149 (char *) "item", NULL
31152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31153 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31154 if (!SWIG_IsOK(ecode1
)) {
31155 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31157 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31160 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31171 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
= 0;
31173 wxStockGDI::Item arg1
;
31174 wxCursor
*result
= 0 ;
31177 PyObject
* obj0
= 0 ;
31178 char * kwnames
[] = {
31179 (char *) "item", NULL
31182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31183 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31184 if (!SWIG_IsOK(ecode1
)) {
31185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31187 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31190 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31191 wxPyEndAllowThreads(__tstate
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31201 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31202 PyObject
*resultobj
= 0;
31203 wxStockGDI::Item arg1
;
31204 wxPen
*result
= 0 ;
31207 PyObject
* obj0
= 0 ;
31208 char * kwnames
[] = {
31209 (char *) "item", NULL
31212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31213 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31214 if (!SWIG_IsOK(ecode1
)) {
31215 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31217 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31221 wxPyEndAllowThreads(__tstate
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31231 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
= 0;
31233 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31234 wxStockGDI::Item arg2
;
31235 wxFont
*result
= 0 ;
31240 PyObject
* obj0
= 0 ;
31241 PyObject
* obj1
= 0 ;
31242 char * kwnames
[] = {
31243 (char *) "self",(char *) "item", NULL
31246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31248 if (!SWIG_IsOK(res1
)) {
31249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31251 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31253 if (!SWIG_IsOK(ecode2
)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31256 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31270 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31273 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31274 return SWIG_Py_Void();
31277 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31278 return SWIG_Python_InitShadowInstance(args
);
31281 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31282 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31287 SWIGINTERN PyObject
*NullBitmap_get(void) {
31288 PyObject
*pyobj
= 0;
31290 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31295 SWIGINTERN
int NullIcon_set(PyObject
*) {
31296 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31301 SWIGINTERN PyObject
*NullIcon_get(void) {
31302 PyObject
*pyobj
= 0;
31304 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31309 SWIGINTERN
int NullCursor_set(PyObject
*) {
31310 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31315 SWIGINTERN PyObject
*NullCursor_get(void) {
31316 PyObject
*pyobj
= 0;
31318 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31323 SWIGINTERN
int NullPen_set(PyObject
*) {
31324 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31329 SWIGINTERN PyObject
*NullPen_get(void) {
31330 PyObject
*pyobj
= 0;
31332 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31337 SWIGINTERN
int NullBrush_set(PyObject
*) {
31338 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31343 SWIGINTERN PyObject
*NullBrush_get(void) {
31344 PyObject
*pyobj
= 0;
31346 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31351 SWIGINTERN
int NullPalette_set(PyObject
*) {
31352 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31357 SWIGINTERN PyObject
*NullPalette_get(void) {
31358 PyObject
*pyobj
= 0;
31360 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31365 SWIGINTERN
int NullFont_set(PyObject
*) {
31366 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31371 SWIGINTERN PyObject
*NullFont_get(void) {
31372 PyObject
*pyobj
= 0;
31374 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31379 SWIGINTERN
int NullColour_set(PyObject
*) {
31380 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31385 SWIGINTERN PyObject
*NullColour_get(void) {
31386 PyObject
*pyobj
= 0;
31388 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31393 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31394 PyObject
*resultobj
= 0;
31395 wxGDIObjListBase
*result
= 0 ;
31397 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31400 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31411 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31412 PyObject
*resultobj
= 0;
31413 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31416 PyObject
*swig_obj
[1] ;
31418 if (!args
) SWIG_fail
;
31419 swig_obj
[0] = args
;
31420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31421 if (!SWIG_IsOK(res1
)) {
31422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31424 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 resultobj
= SWIG_Py_Void();
31439 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31442 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31443 return SWIG_Py_Void();
31446 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31447 return SWIG_Python_InitShadowInstance(args
);
31450 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31451 PyObject
*resultobj
= 0;
31452 wxPenList
*arg1
= (wxPenList
*) 0 ;
31453 wxColour
*arg2
= 0 ;
31456 wxPen
*result
= 0 ;
31464 PyObject
* obj0
= 0 ;
31465 PyObject
* obj1
= 0 ;
31466 PyObject
* obj2
= 0 ;
31467 PyObject
* obj3
= 0 ;
31468 char * kwnames
[] = {
31469 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31474 if (!SWIG_IsOK(res1
)) {
31475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31477 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31480 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31483 if (!SWIG_IsOK(ecode3
)) {
31484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31486 arg3
= static_cast< int >(val3
);
31487 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31488 if (!SWIG_IsOK(ecode4
)) {
31489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31491 arg4
= static_cast< int >(val4
);
31493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31495 wxPyEndAllowThreads(__tstate
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31505 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31506 PyObject
*resultobj
= 0;
31507 wxPenList
*arg1
= (wxPenList
*) 0 ;
31508 wxPen
*arg2
= (wxPen
*) 0 ;
31513 PyObject
* obj0
= 0 ;
31514 PyObject
* obj1
= 0 ;
31515 char * kwnames
[] = {
31516 (char *) "self",(char *) "pen", NULL
31519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31521 if (!SWIG_IsOK(res1
)) {
31522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31524 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31525 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31526 if (!SWIG_IsOK(res2
)) {
31527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31529 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31532 (arg1
)->AddPen(arg2
);
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= SWIG_Py_Void();
31543 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31544 PyObject
*resultobj
= 0;
31545 wxPenList
*arg1
= (wxPenList
*) 0 ;
31546 wxPen
*arg2
= (wxPen
*) 0 ;
31551 PyObject
* obj0
= 0 ;
31552 PyObject
* obj1
= 0 ;
31553 char * kwnames
[] = {
31554 (char *) "self",(char *) "pen", NULL
31557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31559 if (!SWIG_IsOK(res1
)) {
31560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31562 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31564 if (!SWIG_IsOK(res2
)) {
31565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
31567 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31570 (arg1
)->RemovePen(arg2
);
31571 wxPyEndAllowThreads(__tstate
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= SWIG_Py_Void();
31581 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31584 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
31585 return SWIG_Py_Void();
31588 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
= 0;
31590 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31591 wxColour
*arg2
= 0 ;
31592 int arg3
= (int) wxSOLID
;
31593 wxBrush
*result
= 0 ;
31599 PyObject
* obj0
= 0 ;
31600 PyObject
* obj1
= 0 ;
31601 PyObject
* obj2
= 0 ;
31602 char * kwnames
[] = {
31603 (char *) "self",(char *) "colour",(char *) "style", NULL
31606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31608 if (!SWIG_IsOK(res1
)) {
31609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31611 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31614 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31618 if (!SWIG_IsOK(ecode3
)) {
31619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
31621 arg3
= static_cast< int >(val3
);
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31636 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31637 PyObject
*resultobj
= 0;
31638 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31639 wxBrush
*arg2
= (wxBrush
*) 0 ;
31644 PyObject
* obj0
= 0 ;
31645 PyObject
* obj1
= 0 ;
31646 char * kwnames
[] = {
31647 (char *) "self",(char *) "brush", NULL
31650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31652 if (!SWIG_IsOK(res1
)) {
31653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31655 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31657 if (!SWIG_IsOK(res2
)) {
31658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31660 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31663 (arg1
)->AddBrush(arg2
);
31664 wxPyEndAllowThreads(__tstate
);
31665 if (PyErr_Occurred()) SWIG_fail
;
31667 resultobj
= SWIG_Py_Void();
31674 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31675 PyObject
*resultobj
= 0;
31676 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31677 wxBrush
*arg2
= (wxBrush
*) 0 ;
31682 PyObject
* obj0
= 0 ;
31683 PyObject
* obj1
= 0 ;
31684 char * kwnames
[] = {
31685 (char *) "self",(char *) "brush", NULL
31688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31690 if (!SWIG_IsOK(res1
)) {
31691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31693 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31695 if (!SWIG_IsOK(res2
)) {
31696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31698 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 (arg1
)->RemoveBrush(arg2
);
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= SWIG_Py_Void();
31712 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31715 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
31716 return SWIG_Py_Void();
31719 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
= 0;
31721 wxFontList
*arg1
= (wxFontList
*) 0 ;
31726 bool arg6
= (bool) false ;
31727 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31728 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31729 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
31730 wxFont
*result
= 0 ;
31743 bool temp7
= false ;
31746 PyObject
* obj0
= 0 ;
31747 PyObject
* obj1
= 0 ;
31748 PyObject
* obj2
= 0 ;
31749 PyObject
* obj3
= 0 ;
31750 PyObject
* obj4
= 0 ;
31751 PyObject
* obj5
= 0 ;
31752 PyObject
* obj6
= 0 ;
31753 PyObject
* obj7
= 0 ;
31754 char * kwnames
[] = {
31755 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
31758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
31760 if (!SWIG_IsOK(res1
)) {
31761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
31763 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
31764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31765 if (!SWIG_IsOK(ecode2
)) {
31766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
31768 arg2
= static_cast< int >(val2
);
31769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31770 if (!SWIG_IsOK(ecode3
)) {
31771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
31773 arg3
= static_cast< int >(val3
);
31774 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31775 if (!SWIG_IsOK(ecode4
)) {
31776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
31778 arg4
= static_cast< int >(val4
);
31779 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31780 if (!SWIG_IsOK(ecode5
)) {
31781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
31783 arg5
= static_cast< int >(val5
);
31785 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
31786 if (!SWIG_IsOK(ecode6
)) {
31787 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
31789 arg6
= static_cast< bool >(val6
);
31793 arg7
= wxString_in_helper(obj6
);
31794 if (arg7
== NULL
) SWIG_fail
;
31799 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
31800 if (!SWIG_IsOK(ecode8
)) {
31801 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
31803 arg8
= static_cast< wxFontEncoding
>(val8
);
31806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31807 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
31808 wxPyEndAllowThreads(__tstate
);
31809 if (PyErr_Occurred()) SWIG_fail
;
31811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31826 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
= 0;
31828 wxFontList
*arg1
= (wxFontList
*) 0 ;
31829 wxFont
*arg2
= (wxFont
*) 0 ;
31834 PyObject
* obj0
= 0 ;
31835 PyObject
* obj1
= 0 ;
31836 char * kwnames
[] = {
31837 (char *) "self",(char *) "font", NULL
31840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
31842 if (!SWIG_IsOK(res1
)) {
31843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
31845 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
31846 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
31847 if (!SWIG_IsOK(res2
)) {
31848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
31850 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 (arg1
)->AddFont(arg2
);
31854 wxPyEndAllowThreads(__tstate
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31857 resultobj
= SWIG_Py_Void();
31864 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
= 0;
31866 wxFontList
*arg1
= (wxFontList
*) 0 ;
31867 wxFont
*arg2
= (wxFont
*) 0 ;
31872 PyObject
* obj0
= 0 ;
31873 PyObject
* obj1
= 0 ;
31874 char * kwnames
[] = {
31875 (char *) "self",(char *) "font", NULL
31878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
31880 if (!SWIG_IsOK(res1
)) {
31881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
31883 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
31884 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
31885 if (!SWIG_IsOK(res2
)) {
31886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
31888 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31891 (arg1
)->RemoveFont(arg2
);
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31895 resultobj
= SWIG_Py_Void();
31902 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31905 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
31906 return SWIG_Py_Void();
31909 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31910 PyObject
*resultobj
= 0;
31911 wxColourDatabase
*result
= 0 ;
31913 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
31915 if (!wxPyCheckForApp()) SWIG_fail
;
31916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31917 result
= (wxColourDatabase
*)new wxColourDatabase();
31918 wxPyEndAllowThreads(__tstate
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
31928 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31929 PyObject
*resultobj
= 0;
31930 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
31933 PyObject
*swig_obj
[1] ;
31935 if (!args
) SWIG_fail
;
31936 swig_obj
[0] = args
;
31937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
31938 if (!SWIG_IsOK(res1
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
31941 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
31943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 wxPyEndAllowThreads(__tstate
);
31947 if (PyErr_Occurred()) SWIG_fail
;
31949 resultobj
= SWIG_Py_Void();
31956 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31957 PyObject
*resultobj
= 0;
31958 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
31959 wxString
*arg2
= 0 ;
31963 bool temp2
= false ;
31964 PyObject
* obj0
= 0 ;
31965 PyObject
* obj1
= 0 ;
31966 char * kwnames
[] = {
31967 (char *) "self",(char *) "name", NULL
31970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
31972 if (!SWIG_IsOK(res1
)) {
31973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
31975 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
31977 arg2
= wxString_in_helper(obj1
);
31978 if (arg2
== NULL
) SWIG_fail
;
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31983 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32002 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32003 PyObject
*resultobj
= 0;
32004 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32005 wxColour
*arg2
= 0 ;
32010 PyObject
* obj0
= 0 ;
32011 PyObject
* obj1
= 0 ;
32012 char * kwnames
[] = {
32013 (char *) "self",(char *) "colour", NULL
32016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32018 if (!SWIG_IsOK(res1
)) {
32019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32021 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32029 wxPyEndAllowThreads(__tstate
);
32030 if (PyErr_Occurred()) SWIG_fail
;
32034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32045 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32046 PyObject
*resultobj
= 0;
32047 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32048 wxString
*arg2
= 0 ;
32049 wxColour
*arg3
= 0 ;
32052 bool temp2
= false ;
32054 PyObject
* obj0
= 0 ;
32055 PyObject
* obj1
= 0 ;
32056 PyObject
* obj2
= 0 ;
32057 char * kwnames
[] = {
32058 (char *) "self",(char *) "name",(char *) "colour", NULL
32061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32063 if (!SWIG_IsOK(res1
)) {
32064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32066 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32068 arg2
= wxString_in_helper(obj1
);
32069 if (arg2
== NULL
) SWIG_fail
;
32074 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32078 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32079 wxPyEndAllowThreads(__tstate
);
32080 if (PyErr_Occurred()) SWIG_fail
;
32082 resultobj
= SWIG_Py_Void();
32097 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32098 PyObject
*resultobj
= 0;
32099 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32100 wxString
*arg2
= 0 ;
32106 bool temp2
= false ;
32113 PyObject
* obj0
= 0 ;
32114 PyObject
* obj1
= 0 ;
32115 PyObject
* obj2
= 0 ;
32116 PyObject
* obj3
= 0 ;
32117 PyObject
* obj4
= 0 ;
32118 char * kwnames
[] = {
32119 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32124 if (!SWIG_IsOK(res1
)) {
32125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32127 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32129 arg2
= wxString_in_helper(obj1
);
32130 if (arg2
== NULL
) SWIG_fail
;
32133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32134 if (!SWIG_IsOK(ecode3
)) {
32135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32137 arg3
= static_cast< int >(val3
);
32138 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32139 if (!SWIG_IsOK(ecode4
)) {
32140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32142 arg4
= static_cast< int >(val4
);
32143 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32144 if (!SWIG_IsOK(ecode5
)) {
32145 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32147 arg5
= static_cast< int >(val5
);
32149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32150 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32151 wxPyEndAllowThreads(__tstate
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32154 resultobj
= SWIG_Py_Void();
32169 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32171 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32172 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32173 return SWIG_Py_Void();
32176 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32177 return SWIG_Python_InitShadowInstance(args
);
32180 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32181 PyObject
*resultobj
= 0;
32182 wxFontList
*result
= 0 ;
32184 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32187 result
= (wxFontList
*)_wxPyInitTheFontList();
32188 wxPyEndAllowThreads(__tstate
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32198 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32199 PyObject
*resultobj
= 0;
32200 wxPenList
*result
= 0 ;
32202 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32205 result
= (wxPenList
*)_wxPyInitThePenList();
32206 wxPyEndAllowThreads(__tstate
);
32207 if (PyErr_Occurred()) SWIG_fail
;
32209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32216 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32217 PyObject
*resultobj
= 0;
32218 wxBrushList
*result
= 0 ;
32220 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32224 wxPyEndAllowThreads(__tstate
);
32225 if (PyErr_Occurred()) SWIG_fail
;
32227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32234 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32235 PyObject
*resultobj
= 0;
32236 wxColourDatabase
*result
= 0 ;
32238 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32241 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32242 wxPyEndAllowThreads(__tstate
);
32243 if (PyErr_Occurred()) SWIG_fail
;
32245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32252 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32253 PyObject
*resultobj
= 0;
32254 wxEffects
*result
= 0 ;
32256 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32259 result
= (wxEffects
*)new wxEffects();
32260 wxPyEndAllowThreads(__tstate
);
32261 if (PyErr_Occurred()) SWIG_fail
;
32263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32270 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32271 PyObject
*resultobj
= 0;
32272 wxEffects
*arg1
= (wxEffects
*) 0 ;
32276 PyObject
*swig_obj
[1] ;
32278 if (!args
) SWIG_fail
;
32279 swig_obj
[0] = args
;
32280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32281 if (!SWIG_IsOK(res1
)) {
32282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32284 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32287 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32298 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32299 PyObject
*resultobj
= 0;
32300 wxEffects
*arg1
= (wxEffects
*) 0 ;
32304 PyObject
*swig_obj
[1] ;
32306 if (!args
) SWIG_fail
;
32307 swig_obj
[0] = args
;
32308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32309 if (!SWIG_IsOK(res1
)) {
32310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32312 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32316 wxPyEndAllowThreads(__tstate
);
32317 if (PyErr_Occurred()) SWIG_fail
;
32319 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32326 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32327 PyObject
*resultobj
= 0;
32328 wxEffects
*arg1
= (wxEffects
*) 0 ;
32332 PyObject
*swig_obj
[1] ;
32334 if (!args
) SWIG_fail
;
32335 swig_obj
[0] = args
;
32336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32337 if (!SWIG_IsOK(res1
)) {
32338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32340 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32344 wxPyEndAllowThreads(__tstate
);
32345 if (PyErr_Occurred()) SWIG_fail
;
32347 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32354 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32355 PyObject
*resultobj
= 0;
32356 wxEffects
*arg1
= (wxEffects
*) 0 ;
32360 PyObject
*swig_obj
[1] ;
32362 if (!args
) SWIG_fail
;
32363 swig_obj
[0] = args
;
32364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32365 if (!SWIG_IsOK(res1
)) {
32366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32368 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32372 wxPyEndAllowThreads(__tstate
);
32373 if (PyErr_Occurred()) SWIG_fail
;
32375 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32382 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32383 PyObject
*resultobj
= 0;
32384 wxEffects
*arg1
= (wxEffects
*) 0 ;
32388 PyObject
*swig_obj
[1] ;
32390 if (!args
) SWIG_fail
;
32391 swig_obj
[0] = args
;
32392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32393 if (!SWIG_IsOK(res1
)) {
32394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32396 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32399 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32400 wxPyEndAllowThreads(__tstate
);
32401 if (PyErr_Occurred()) SWIG_fail
;
32403 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32410 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32411 PyObject
*resultobj
= 0;
32412 wxEffects
*arg1
= (wxEffects
*) 0 ;
32413 wxColour
*arg2
= 0 ;
32417 PyObject
* obj0
= 0 ;
32418 PyObject
* obj1
= 0 ;
32419 char * kwnames
[] = {
32420 (char *) "self",(char *) "c", NULL
32423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32425 if (!SWIG_IsOK(res1
)) {
32426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32428 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32431 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32439 resultobj
= SWIG_Py_Void();
32446 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
= 0;
32448 wxEffects
*arg1
= (wxEffects
*) 0 ;
32449 wxColour
*arg2
= 0 ;
32453 PyObject
* obj0
= 0 ;
32454 PyObject
* obj1
= 0 ;
32455 char * kwnames
[] = {
32456 (char *) "self",(char *) "c", NULL
32459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32461 if (!SWIG_IsOK(res1
)) {
32462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32464 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32467 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32471 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32472 wxPyEndAllowThreads(__tstate
);
32473 if (PyErr_Occurred()) SWIG_fail
;
32475 resultobj
= SWIG_Py_Void();
32482 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32483 PyObject
*resultobj
= 0;
32484 wxEffects
*arg1
= (wxEffects
*) 0 ;
32485 wxColour
*arg2
= 0 ;
32489 PyObject
* obj0
= 0 ;
32490 PyObject
* obj1
= 0 ;
32491 char * kwnames
[] = {
32492 (char *) "self",(char *) "c", NULL
32495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32497 if (!SWIG_IsOK(res1
)) {
32498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32500 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32503 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32508 wxPyEndAllowThreads(__tstate
);
32509 if (PyErr_Occurred()) SWIG_fail
;
32511 resultobj
= SWIG_Py_Void();
32518 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32519 PyObject
*resultobj
= 0;
32520 wxEffects
*arg1
= (wxEffects
*) 0 ;
32521 wxColour
*arg2
= 0 ;
32525 PyObject
* obj0
= 0 ;
32526 PyObject
* obj1
= 0 ;
32527 char * kwnames
[] = {
32528 (char *) "self",(char *) "c", NULL
32531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32533 if (!SWIG_IsOK(res1
)) {
32534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32536 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32543 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32544 wxPyEndAllowThreads(__tstate
);
32545 if (PyErr_Occurred()) SWIG_fail
;
32547 resultobj
= SWIG_Py_Void();
32554 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32555 PyObject
*resultobj
= 0;
32556 wxEffects
*arg1
= (wxEffects
*) 0 ;
32557 wxColour
*arg2
= 0 ;
32561 PyObject
* obj0
= 0 ;
32562 PyObject
* obj1
= 0 ;
32563 char * kwnames
[] = {
32564 (char *) "self",(char *) "c", NULL
32567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32569 if (!SWIG_IsOK(res1
)) {
32570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32572 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32579 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
32580 wxPyEndAllowThreads(__tstate
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32583 resultobj
= SWIG_Py_Void();
32590 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32591 PyObject
*resultobj
= 0;
32592 wxEffects
*arg1
= (wxEffects
*) 0 ;
32593 wxColour
*arg2
= 0 ;
32594 wxColour
*arg3
= 0 ;
32595 wxColour
*arg4
= 0 ;
32596 wxColour
*arg5
= 0 ;
32597 wxColour
*arg6
= 0 ;
32605 PyObject
* obj0
= 0 ;
32606 PyObject
* obj1
= 0 ;
32607 PyObject
* obj2
= 0 ;
32608 PyObject
* obj3
= 0 ;
32609 PyObject
* obj4
= 0 ;
32610 PyObject
* obj5
= 0 ;
32611 char * kwnames
[] = {
32612 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
32615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32617 if (!SWIG_IsOK(res1
)) {
32618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
32620 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32623 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32627 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32631 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32635 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
32639 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
32642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32643 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
32644 wxPyEndAllowThreads(__tstate
);
32645 if (PyErr_Occurred()) SWIG_fail
;
32647 resultobj
= SWIG_Py_Void();
32654 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32655 PyObject
*resultobj
= 0;
32656 wxEffects
*arg1
= (wxEffects
*) 0 ;
32659 int arg4
= (int) 1 ;
32667 PyObject
* obj0
= 0 ;
32668 PyObject
* obj1
= 0 ;
32669 PyObject
* obj2
= 0 ;
32670 PyObject
* obj3
= 0 ;
32671 char * kwnames
[] = {
32672 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
32675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32677 if (!SWIG_IsOK(res1
)) {
32678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
32680 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
32682 if (!SWIG_IsOK(res2
)) {
32683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32688 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32691 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32695 if (!SWIG_IsOK(ecode4
)) {
32696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
32698 arg4
= static_cast< int >(val4
);
32701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32702 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
32703 wxPyEndAllowThreads(__tstate
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32706 resultobj
= SWIG_Py_Void();
32713 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
= 0;
32715 wxEffects
*arg1
= (wxEffects
*) 0 ;
32718 wxBitmap
*arg4
= 0 ;
32727 PyObject
* obj0
= 0 ;
32728 PyObject
* obj1
= 0 ;
32729 PyObject
* obj2
= 0 ;
32730 PyObject
* obj3
= 0 ;
32731 char * kwnames
[] = {
32732 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
32735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32737 if (!SWIG_IsOK(res1
)) {
32738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
32740 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32743 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32745 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32746 if (!SWIG_IsOK(res3
)) {
32747 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
32750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
32752 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32753 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
32754 if (!SWIG_IsOK(res4
)) {
32755 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
32758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
32760 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32776 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32779 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
32780 return SWIG_Py_Void();
32783 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32784 return SWIG_Python_InitShadowInstance(args
);
32787 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32788 PyObject
*resultobj
= 0;
32792 wxSplitterRenderParams
*result
= 0 ;
32799 PyObject
* obj0
= 0 ;
32800 PyObject
* obj1
= 0 ;
32801 PyObject
* obj2
= 0 ;
32802 char * kwnames
[] = {
32803 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
32806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32807 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32808 if (!SWIG_IsOK(ecode1
)) {
32809 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
32811 arg1
= static_cast< int >(val1
);
32812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32813 if (!SWIG_IsOK(ecode2
)) {
32814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
32816 arg2
= static_cast< int >(val2
);
32817 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32818 if (!SWIG_IsOK(ecode3
)) {
32819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
32821 arg3
= static_cast< bool >(val3
);
32823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32824 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
32825 wxPyEndAllowThreads(__tstate
);
32826 if (PyErr_Occurred()) SWIG_fail
;
32828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
32835 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32836 PyObject
*resultobj
= 0;
32837 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
32840 PyObject
*swig_obj
[1] ;
32842 if (!args
) SWIG_fail
;
32843 swig_obj
[0] = args
;
32844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
32845 if (!SWIG_IsOK(res1
)) {
32846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
32848 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
32850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32856 resultobj
= SWIG_Py_Void();
32863 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32864 PyObject
*resultobj
= 0;
32865 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
32869 PyObject
*swig_obj
[1] ;
32871 if (!args
) SWIG_fail
;
32872 swig_obj
[0] = args
;
32873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
32874 if (!SWIG_IsOK(res1
)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
32877 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
32878 result
= (int)(int) ((arg1
)->widthSash
);
32879 resultobj
= SWIG_From_int(static_cast< int >(result
));
32886 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32887 PyObject
*resultobj
= 0;
32888 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
32892 PyObject
*swig_obj
[1] ;
32894 if (!args
) SWIG_fail
;
32895 swig_obj
[0] = args
;
32896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
32897 if (!SWIG_IsOK(res1
)) {
32898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
32900 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
32901 result
= (int)(int) ((arg1
)->border
);
32902 resultobj
= SWIG_From_int(static_cast< int >(result
));
32909 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32910 PyObject
*resultobj
= 0;
32911 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
32915 PyObject
*swig_obj
[1] ;
32917 if (!args
) SWIG_fail
;
32918 swig_obj
[0] = args
;
32919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
32920 if (!SWIG_IsOK(res1
)) {
32921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
32923 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
32924 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
32925 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
32932 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32934 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32935 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
32936 return SWIG_Py_Void();
32939 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32940 return SWIG_Python_InitShadowInstance(args
);
32943 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32944 PyObject
*resultobj
= 0;
32945 wxHeaderButtonParams
*result
= 0 ;
32947 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
32949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32950 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
32961 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32962 PyObject
*resultobj
= 0;
32963 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
32966 PyObject
*swig_obj
[1] ;
32968 if (!args
) SWIG_fail
;
32969 swig_obj
[0] = args
;
32970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
32971 if (!SWIG_IsOK(res1
)) {
32972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
32974 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
32976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= SWIG_Py_Void();
32989 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32990 PyObject
*resultobj
= 0;
32991 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
32992 wxColour
*arg2
= (wxColour
*) 0 ;
32996 PyObject
*swig_obj
[2] ;
32998 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
32999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33000 if (!SWIG_IsOK(res1
)) {
33001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33003 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33006 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33008 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33010 resultobj
= SWIG_Py_Void();
33017 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33018 PyObject
*resultobj
= 0;
33019 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33020 wxColour
*result
= 0 ;
33023 PyObject
*swig_obj
[1] ;
33025 if (!args
) SWIG_fail
;
33026 swig_obj
[0] = args
;
33027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33028 if (!SWIG_IsOK(res1
)) {
33029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33031 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33032 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33040 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33041 PyObject
*resultobj
= 0;
33042 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33043 wxColour
*arg2
= (wxColour
*) 0 ;
33047 PyObject
*swig_obj
[2] ;
33049 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33051 if (!SWIG_IsOK(res1
)) {
33052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33054 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33057 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33059 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33061 resultobj
= SWIG_Py_Void();
33068 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33069 PyObject
*resultobj
= 0;
33070 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33071 wxColour
*result
= 0 ;
33074 PyObject
*swig_obj
[1] ;
33076 if (!args
) SWIG_fail
;
33077 swig_obj
[0] = args
;
33078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33079 if (!SWIG_IsOK(res1
)) {
33080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33082 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33083 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33091 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33092 PyObject
*resultobj
= 0;
33093 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33094 wxString
*arg2
= (wxString
*) 0 ;
33097 bool temp2
= false ;
33098 PyObject
*swig_obj
[2] ;
33100 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33102 if (!SWIG_IsOK(res1
)) {
33103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33105 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33107 arg2
= wxString_in_helper(swig_obj
[1]);
33108 if (arg2
== NULL
) SWIG_fail
;
33111 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33113 resultobj
= SWIG_Py_Void();
33128 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33129 PyObject
*resultobj
= 0;
33130 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33131 wxString
*result
= 0 ;
33134 PyObject
*swig_obj
[1] ;
33136 if (!args
) SWIG_fail
;
33137 swig_obj
[0] = args
;
33138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33139 if (!SWIG_IsOK(res1
)) {
33140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33142 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33143 result
= (wxString
*)& ((arg1
)->m_labelText
);
33146 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33148 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33157 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33158 PyObject
*resultobj
= 0;
33159 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33160 wxFont
*arg2
= (wxFont
*) 0 ;
33165 PyObject
*swig_obj
[2] ;
33167 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33169 if (!SWIG_IsOK(res1
)) {
33170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33172 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33173 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33174 if (!SWIG_IsOK(res2
)) {
33175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33177 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33178 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33180 resultobj
= SWIG_Py_Void();
33187 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33188 PyObject
*resultobj
= 0;
33189 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33190 wxFont
*result
= 0 ;
33193 PyObject
*swig_obj
[1] ;
33195 if (!args
) SWIG_fail
;
33196 swig_obj
[0] = args
;
33197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33198 if (!SWIG_IsOK(res1
)) {
33199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33201 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33202 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33210 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33211 PyObject
*resultobj
= 0;
33212 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33213 wxColour
*arg2
= (wxColour
*) 0 ;
33217 PyObject
*swig_obj
[2] ;
33219 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33221 if (!SWIG_IsOK(res1
)) {
33222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33224 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33227 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33229 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33231 resultobj
= SWIG_Py_Void();
33238 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33239 PyObject
*resultobj
= 0;
33240 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33241 wxColour
*result
= 0 ;
33244 PyObject
*swig_obj
[1] ;
33246 if (!args
) SWIG_fail
;
33247 swig_obj
[0] = args
;
33248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33249 if (!SWIG_IsOK(res1
)) {
33250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33252 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33253 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33261 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33262 PyObject
*resultobj
= 0;
33263 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33264 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33269 PyObject
*swig_obj
[2] ;
33271 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33273 if (!SWIG_IsOK(res1
)) {
33274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33276 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33277 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33278 if (!SWIG_IsOK(res2
)) {
33279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33281 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33282 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33284 resultobj
= SWIG_Py_Void();
33291 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33292 PyObject
*resultobj
= 0;
33293 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33294 wxBitmap
*result
= 0 ;
33297 PyObject
*swig_obj
[1] ;
33299 if (!args
) SWIG_fail
;
33300 swig_obj
[0] = args
;
33301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33302 if (!SWIG_IsOK(res1
)) {
33303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33305 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33306 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33314 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33315 PyObject
*resultobj
= 0;
33316 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33322 PyObject
*swig_obj
[2] ;
33324 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33326 if (!SWIG_IsOK(res1
)) {
33327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33329 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33330 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33331 if (!SWIG_IsOK(ecode2
)) {
33332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33334 arg2
= static_cast< int >(val2
);
33335 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33337 resultobj
= SWIG_Py_Void();
33344 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33345 PyObject
*resultobj
= 0;
33346 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33350 PyObject
*swig_obj
[1] ;
33352 if (!args
) SWIG_fail
;
33353 swig_obj
[0] = args
;
33354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33355 if (!SWIG_IsOK(res1
)) {
33356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33358 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33359 result
= (int) ((arg1
)->m_labelAlignment
);
33360 resultobj
= SWIG_From_int(static_cast< int >(result
));
33367 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33370 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33371 return SWIG_Py_Void();
33374 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33375 return SWIG_Python_InitShadowInstance(args
);
33378 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
= 0;
33382 wxRendererVersion
*result
= 0 ;
33387 PyObject
* obj0
= 0 ;
33388 PyObject
* obj1
= 0 ;
33389 char * kwnames
[] = {
33390 (char *) "version_",(char *) "age_", NULL
33393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33394 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33395 if (!SWIG_IsOK(ecode1
)) {
33396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33398 arg1
= static_cast< int >(val1
);
33399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33400 if (!SWIG_IsOK(ecode2
)) {
33401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33403 arg2
= static_cast< int >(val2
);
33405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33406 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33407 wxPyEndAllowThreads(__tstate
);
33408 if (PyErr_Occurred()) SWIG_fail
;
33410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33417 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33418 PyObject
*resultobj
= 0;
33419 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33422 PyObject
*swig_obj
[1] ;
33424 if (!args
) SWIG_fail
;
33425 swig_obj
[0] = args
;
33426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33427 if (!SWIG_IsOK(res1
)) {
33428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33430 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33435 wxPyEndAllowThreads(__tstate
);
33436 if (PyErr_Occurred()) SWIG_fail
;
33438 resultobj
= SWIG_Py_Void();
33445 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33446 PyObject
*resultobj
= 0;
33447 wxRendererVersion
*arg1
= 0 ;
33451 PyObject
* obj0
= 0 ;
33452 char * kwnames
[] = {
33453 (char *) "ver", NULL
33456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33457 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33458 if (!SWIG_IsOK(res1
)) {
33459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33464 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33467 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33468 wxPyEndAllowThreads(__tstate
);
33469 if (PyErr_Occurred()) SWIG_fail
;
33472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33480 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33481 PyObject
*resultobj
= 0;
33482 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33486 PyObject
*swig_obj
[1] ;
33488 if (!args
) SWIG_fail
;
33489 swig_obj
[0] = args
;
33490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33491 if (!SWIG_IsOK(res1
)) {
33492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33494 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33495 result
= (int)(int) ((arg1
)->version
);
33496 resultobj
= SWIG_From_int(static_cast< int >(result
));
33503 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33504 PyObject
*resultobj
= 0;
33505 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33509 PyObject
*swig_obj
[1] ;
33511 if (!args
) SWIG_fail
;
33512 swig_obj
[0] = args
;
33513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33514 if (!SWIG_IsOK(res1
)) {
33515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33517 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33518 result
= (int)(int) ((arg1
)->age
);
33519 resultobj
= SWIG_From_int(static_cast< int >(result
));
33526 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33529 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33530 return SWIG_Py_Void();
33533 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33534 return SWIG_Python_InitShadowInstance(args
);
33537 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
= 0;
33539 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33540 wxWindow
*arg2
= (wxWindow
*) 0 ;
33543 int arg5
= (int) 0 ;
33544 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33545 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33559 PyObject
* obj0
= 0 ;
33560 PyObject
* obj1
= 0 ;
33561 PyObject
* obj2
= 0 ;
33562 PyObject
* obj3
= 0 ;
33563 PyObject
* obj4
= 0 ;
33564 PyObject
* obj5
= 0 ;
33565 PyObject
* obj6
= 0 ;
33566 char * kwnames
[] = {
33567 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33572 if (!SWIG_IsOK(res1
)) {
33573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33575 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33577 if (!SWIG_IsOK(res2
)) {
33578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33581 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33582 if (!SWIG_IsOK(res3
)) {
33583 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33588 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33591 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33594 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33595 if (!SWIG_IsOK(ecode5
)) {
33596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
33598 arg5
= static_cast< int >(val5
);
33601 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33602 if (!SWIG_IsOK(ecode6
)) {
33603 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33605 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33608 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33609 if (!SWIG_IsOK(res7
)) {
33610 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33612 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33616 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33617 wxPyEndAllowThreads(__tstate
);
33618 if (PyErr_Occurred()) SWIG_fail
;
33620 resultobj
= SWIG_Py_Void();
33627 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33628 PyObject
*resultobj
= 0;
33629 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33630 wxWindow
*arg2
= (wxWindow
*) 0 ;
33633 int arg5
= (int) 0 ;
33634 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33635 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33649 PyObject
* obj0
= 0 ;
33650 PyObject
* obj1
= 0 ;
33651 PyObject
* obj2
= 0 ;
33652 PyObject
* obj3
= 0 ;
33653 PyObject
* obj4
= 0 ;
33654 PyObject
* obj5
= 0 ;
33655 PyObject
* obj6
= 0 ;
33656 char * kwnames
[] = {
33657 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33662 if (!SWIG_IsOK(res1
)) {
33663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33665 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33667 if (!SWIG_IsOK(res2
)) {
33668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
33670 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33671 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33672 if (!SWIG_IsOK(res3
)) {
33673 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33678 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33681 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33684 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33685 if (!SWIG_IsOK(ecode5
)) {
33686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
33688 arg5
= static_cast< int >(val5
);
33691 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33692 if (!SWIG_IsOK(ecode6
)) {
33693 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33695 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33698 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33699 if (!SWIG_IsOK(res7
)) {
33700 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33702 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= SWIG_Py_Void();
33717 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
= 0;
33719 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33720 wxWindow
*arg2
= (wxWindow
*) 0 ;
33726 PyObject
* obj0
= 0 ;
33727 PyObject
* obj1
= 0 ;
33728 char * kwnames
[] = {
33729 (char *) "self",(char *) "win", NULL
33732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33734 if (!SWIG_IsOK(res1
)) {
33735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33737 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33739 if (!SWIG_IsOK(res2
)) {
33740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
33742 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
33746 wxPyEndAllowThreads(__tstate
);
33747 if (PyErr_Occurred()) SWIG_fail
;
33749 resultobj
= SWIG_From_int(static_cast< int >(result
));
33756 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33757 PyObject
*resultobj
= 0;
33758 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33759 wxWindow
*arg2
= (wxWindow
*) 0 ;
33762 int arg5
= (int) 0 ;
33772 PyObject
* obj0
= 0 ;
33773 PyObject
* obj1
= 0 ;
33774 PyObject
* obj2
= 0 ;
33775 PyObject
* obj3
= 0 ;
33776 PyObject
* obj4
= 0 ;
33777 char * kwnames
[] = {
33778 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
33781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33783 if (!SWIG_IsOK(res1
)) {
33784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33786 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33788 if (!SWIG_IsOK(res2
)) {
33789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33791 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33792 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33793 if (!SWIG_IsOK(res3
)) {
33794 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
33797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
33799 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33802 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33805 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33806 if (!SWIG_IsOK(ecode5
)) {
33807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
33809 arg5
= static_cast< int >(val5
);
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33813 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
33814 wxPyEndAllowThreads(__tstate
);
33815 if (PyErr_Occurred()) SWIG_fail
;
33817 resultobj
= SWIG_Py_Void();
33824 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33825 PyObject
*resultobj
= 0;
33826 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33827 wxWindow
*arg2
= (wxWindow
*) 0 ;
33830 int arg5
= (int) 0 ;
33840 PyObject
* obj0
= 0 ;
33841 PyObject
* obj1
= 0 ;
33842 PyObject
* obj2
= 0 ;
33843 PyObject
* obj3
= 0 ;
33844 PyObject
* obj4
= 0 ;
33845 char * kwnames
[] = {
33846 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
33849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33851 if (!SWIG_IsOK(res1
)) {
33852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33854 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33856 if (!SWIG_IsOK(res2
)) {
33857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
33859 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33860 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33861 if (!SWIG_IsOK(res3
)) {
33862 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
33865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
33867 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33870 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33873 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33874 if (!SWIG_IsOK(ecode5
)) {
33875 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
33877 arg5
= static_cast< int >(val5
);
33880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33881 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
33882 wxPyEndAllowThreads(__tstate
);
33883 if (PyErr_Occurred()) SWIG_fail
;
33885 resultobj
= SWIG_Py_Void();
33892 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33893 PyObject
*resultobj
= 0;
33894 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33895 wxWindow
*arg2
= (wxWindow
*) 0 ;
33899 wxOrientation arg6
;
33900 int arg7
= (int) 0 ;
33914 PyObject
* obj0
= 0 ;
33915 PyObject
* obj1
= 0 ;
33916 PyObject
* obj2
= 0 ;
33917 PyObject
* obj3
= 0 ;
33918 PyObject
* obj4
= 0 ;
33919 PyObject
* obj5
= 0 ;
33920 PyObject
* obj6
= 0 ;
33921 char * kwnames
[] = {
33922 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
33925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33927 if (!SWIG_IsOK(res1
)) {
33928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33930 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33932 if (!SWIG_IsOK(res2
)) {
33933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
33935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33936 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33937 if (!SWIG_IsOK(res3
)) {
33938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
33941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
33943 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33946 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33948 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33949 if (!SWIG_IsOK(ecode5
)) {
33950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
33952 arg5
= static_cast< int >(val5
);
33953 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33954 if (!SWIG_IsOK(ecode6
)) {
33955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
33957 arg6
= static_cast< wxOrientation
>(val6
);
33959 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
33960 if (!SWIG_IsOK(ecode7
)) {
33961 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
33963 arg7
= static_cast< int >(val7
);
33966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33967 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33971 resultobj
= SWIG_Py_Void();
33978 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33979 PyObject
*resultobj
= 0;
33980 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33981 wxWindow
*arg2
= (wxWindow
*) 0 ;
33984 int arg5
= (int) 0 ;
33994 PyObject
* obj0
= 0 ;
33995 PyObject
* obj1
= 0 ;
33996 PyObject
* obj2
= 0 ;
33997 PyObject
* obj3
= 0 ;
33998 PyObject
* obj4
= 0 ;
33999 char * kwnames
[] = {
34000 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34005 if (!SWIG_IsOK(res1
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34008 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34009 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34010 if (!SWIG_IsOK(res2
)) {
34011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34013 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34014 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34015 if (!SWIG_IsOK(res3
)) {
34016 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34021 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34024 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34027 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34028 if (!SWIG_IsOK(ecode5
)) {
34029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34031 arg5
= static_cast< int >(val5
);
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34039 resultobj
= SWIG_Py_Void();
34046 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34047 PyObject
*resultobj
= 0;
34048 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34049 wxWindow
*arg2
= (wxWindow
*) 0 ;
34052 int arg5
= (int) 0 ;
34062 PyObject
* obj0
= 0 ;
34063 PyObject
* obj1
= 0 ;
34064 PyObject
* obj2
= 0 ;
34065 PyObject
* obj3
= 0 ;
34066 PyObject
* obj4
= 0 ;
34067 char * kwnames
[] = {
34068 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34073 if (!SWIG_IsOK(res1
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34076 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34078 if (!SWIG_IsOK(res2
)) {
34079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34081 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34082 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34083 if (!SWIG_IsOK(res3
)) {
34084 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34089 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34092 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34095 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34096 if (!SWIG_IsOK(ecode5
)) {
34097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34099 arg5
= static_cast< int >(val5
);
34102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34103 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34104 wxPyEndAllowThreads(__tstate
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34107 resultobj
= SWIG_Py_Void();
34114 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34115 PyObject
*resultobj
= 0;
34116 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34117 wxWindow
*arg2
= (wxWindow
*) 0 ;
34120 int arg5
= (int) 0 ;
34130 PyObject
* obj0
= 0 ;
34131 PyObject
* obj1
= 0 ;
34132 PyObject
* obj2
= 0 ;
34133 PyObject
* obj3
= 0 ;
34134 PyObject
* obj4
= 0 ;
34135 char * kwnames
[] = {
34136 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34141 if (!SWIG_IsOK(res1
)) {
34142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34144 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34146 if (!SWIG_IsOK(res2
)) {
34147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34150 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34151 if (!SWIG_IsOK(res3
)) {
34152 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34157 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34160 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34163 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34164 if (!SWIG_IsOK(ecode5
)) {
34165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34167 arg5
= static_cast< int >(val5
);
34170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34171 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34172 wxPyEndAllowThreads(__tstate
);
34173 if (PyErr_Occurred()) SWIG_fail
;
34175 resultobj
= SWIG_Py_Void();
34182 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34183 PyObject
*resultobj
= 0;
34184 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34185 wxWindow
*arg2
= (wxWindow
*) 0 ;
34188 int arg5
= (int) 0 ;
34198 PyObject
* obj0
= 0 ;
34199 PyObject
* obj1
= 0 ;
34200 PyObject
* obj2
= 0 ;
34201 PyObject
* obj3
= 0 ;
34202 PyObject
* obj4
= 0 ;
34203 char * kwnames
[] = {
34204 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34209 if (!SWIG_IsOK(res1
)) {
34210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34212 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34214 if (!SWIG_IsOK(res2
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34217 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34218 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34219 if (!SWIG_IsOK(res3
)) {
34220 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34225 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34228 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34231 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34232 if (!SWIG_IsOK(ecode5
)) {
34233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34235 arg5
= static_cast< int >(val5
);
34238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34239 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34240 wxPyEndAllowThreads(__tstate
);
34241 if (PyErr_Occurred()) SWIG_fail
;
34243 resultobj
= SWIG_Py_Void();
34250 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34251 PyObject
*resultobj
= 0;
34252 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34253 wxWindow
*arg2
= (wxWindow
*) 0 ;
34256 int arg5
= (int) 0 ;
34266 PyObject
* obj0
= 0 ;
34267 PyObject
* obj1
= 0 ;
34268 PyObject
* obj2
= 0 ;
34269 PyObject
* obj3
= 0 ;
34270 PyObject
* obj4
= 0 ;
34271 char * kwnames
[] = {
34272 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34277 if (!SWIG_IsOK(res1
)) {
34278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34280 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34282 if (!SWIG_IsOK(res2
)) {
34283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34286 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34287 if (!SWIG_IsOK(res3
)) {
34288 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34293 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34296 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34300 if (!SWIG_IsOK(ecode5
)) {
34301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34303 arg5
= static_cast< int >(val5
);
34306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34307 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34308 wxPyEndAllowThreads(__tstate
);
34309 if (PyErr_Occurred()) SWIG_fail
;
34311 resultobj
= SWIG_Py_Void();
34318 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34319 PyObject
*resultobj
= 0;
34320 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34321 wxWindow
*arg2
= (wxWindow
*) 0 ;
34322 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34327 PyObject
* obj0
= 0 ;
34328 PyObject
* obj1
= 0 ;
34329 char * kwnames
[] = {
34330 (char *) "self",(char *) "win", NULL
34333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34335 if (!SWIG_IsOK(res1
)) {
34336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34338 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34340 if (!SWIG_IsOK(res2
)) {
34341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34343 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34346 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34347 wxPyEndAllowThreads(__tstate
);
34348 if (PyErr_Occurred()) SWIG_fail
;
34350 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34357 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34358 PyObject
*resultobj
= 0;
34359 wxRendererNative
*result
= 0 ;
34361 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34363 if (!wxPyCheckForApp()) SWIG_fail
;
34364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34367 result
= (wxRendererNative
*) &_result_ref
;
34369 wxPyEndAllowThreads(__tstate
);
34370 if (PyErr_Occurred()) SWIG_fail
;
34372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34379 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34380 PyObject
*resultobj
= 0;
34381 wxRendererNative
*result
= 0 ;
34383 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34385 if (!wxPyCheckForApp()) SWIG_fail
;
34386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34388 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34389 result
= (wxRendererNative
*) &_result_ref
;
34391 wxPyEndAllowThreads(__tstate
);
34392 if (PyErr_Occurred()) SWIG_fail
;
34394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34401 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34402 PyObject
*resultobj
= 0;
34403 wxRendererNative
*result
= 0 ;
34405 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34407 if (!wxPyCheckForApp()) SWIG_fail
;
34408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34411 result
= (wxRendererNative
*) &_result_ref
;
34413 wxPyEndAllowThreads(__tstate
);
34414 if (PyErr_Occurred()) SWIG_fail
;
34416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34423 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34424 PyObject
*resultobj
= 0;
34425 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34426 wxRendererNative
*result
= 0 ;
34429 PyObject
* obj0
= 0 ;
34430 char * kwnames
[] = {
34431 (char *) "renderer", NULL
34434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34436 if (!SWIG_IsOK(res1
)) {
34437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34439 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34441 if (!wxPyCheckForApp()) SWIG_fail
;
34442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34443 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34444 wxPyEndAllowThreads(__tstate
);
34445 if (PyErr_Occurred()) SWIG_fail
;
34447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34454 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34455 PyObject
*resultobj
= 0;
34456 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34457 SwigValueWrapper
<wxRendererVersion
> result
;
34460 PyObject
*swig_obj
[1] ;
34462 if (!args
) SWIG_fail
;
34463 swig_obj
[0] = args
;
34464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34465 if (!SWIG_IsOK(res1
)) {
34466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34468 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34471 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34472 wxPyEndAllowThreads(__tstate
);
34473 if (PyErr_Occurred()) SWIG_fail
;
34475 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34482 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34485 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34486 return SWIG_Py_Void();
34489 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34490 PyObject
*resultobj
= 0;
34491 wxPseudoDC
*result
= 0 ;
34493 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= (wxPseudoDC
*)new wxPseudoDC();
34497 wxPyEndAllowThreads(__tstate
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34507 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34508 PyObject
*resultobj
= 0;
34509 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34512 PyObject
*swig_obj
[1] ;
34514 if (!args
) SWIG_fail
;
34515 swig_obj
[0] = args
;
34516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34517 if (!SWIG_IsOK(res1
)) {
34518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34520 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 (arg1
)->BeginDrawing();
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34527 resultobj
= SWIG_Py_Void();
34534 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34535 PyObject
*resultobj
= 0;
34536 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34539 PyObject
*swig_obj
[1] ;
34541 if (!args
) SWIG_fail
;
34542 swig_obj
[0] = args
;
34543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34544 if (!SWIG_IsOK(res1
)) {
34545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34547 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34550 (arg1
)->EndDrawing();
34551 wxPyEndAllowThreads(__tstate
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34554 resultobj
= SWIG_Py_Void();
34561 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34562 PyObject
*resultobj
= 0;
34563 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34566 PyObject
*swig_obj
[1] ;
34568 if (!args
) SWIG_fail
;
34569 swig_obj
[0] = args
;
34570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
34571 if (!SWIG_IsOK(res1
)) {
34572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34574 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34579 wxPyEndAllowThreads(__tstate
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34582 resultobj
= SWIG_Py_Void();
34589 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34590 PyObject
*resultobj
= 0;
34591 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34594 PyObject
*swig_obj
[1] ;
34596 if (!args
) SWIG_fail
;
34597 swig_obj
[0] = args
;
34598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34599 if (!SWIG_IsOK(res1
)) {
34600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34602 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34605 (arg1
)->RemoveAll();
34606 wxPyEndAllowThreads(__tstate
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34609 resultobj
= SWIG_Py_Void();
34616 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34617 PyObject
*resultobj
= 0;
34618 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34622 PyObject
*swig_obj
[1] ;
34624 if (!args
) SWIG_fail
;
34625 swig_obj
[0] = args
;
34626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34627 if (!SWIG_IsOK(res1
)) {
34628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34630 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34633 result
= (int)(arg1
)->GetLen();
34634 wxPyEndAllowThreads(__tstate
);
34635 if (PyErr_Occurred()) SWIG_fail
;
34637 resultobj
= SWIG_From_int(static_cast< int >(result
));
34644 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34645 PyObject
*resultobj
= 0;
34646 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34652 PyObject
* obj0
= 0 ;
34653 PyObject
* obj1
= 0 ;
34654 char * kwnames
[] = {
34655 (char *) "self",(char *) "id", NULL
34658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34660 if (!SWIG_IsOK(res1
)) {
34661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34663 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34665 if (!SWIG_IsOK(ecode2
)) {
34666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
34668 arg2
= static_cast< int >(val2
);
34670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34671 (arg1
)->SetId(arg2
);
34672 wxPyEndAllowThreads(__tstate
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34675 resultobj
= SWIG_Py_Void();
34682 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34683 PyObject
*resultobj
= 0;
34684 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34690 PyObject
* obj0
= 0 ;
34691 PyObject
* obj1
= 0 ;
34692 char * kwnames
[] = {
34693 (char *) "self",(char *) "id", NULL
34696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34698 if (!SWIG_IsOK(res1
)) {
34699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34701 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34703 if (!SWIG_IsOK(ecode2
)) {
34704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
34706 arg2
= static_cast< int >(val2
);
34708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34709 (arg1
)->ClearId(arg2
);
34710 wxPyEndAllowThreads(__tstate
);
34711 if (PyErr_Occurred()) SWIG_fail
;
34713 resultobj
= SWIG_Py_Void();
34720 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34721 PyObject
*resultobj
= 0;
34722 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34728 PyObject
* obj0
= 0 ;
34729 PyObject
* obj1
= 0 ;
34730 char * kwnames
[] = {
34731 (char *) "self",(char *) "id", NULL
34734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34736 if (!SWIG_IsOK(res1
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34739 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34741 if (!SWIG_IsOK(ecode2
)) {
34742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
34744 arg2
= static_cast< int >(val2
);
34746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34747 (arg1
)->RemoveId(arg2
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34751 resultobj
= SWIG_Py_Void();
34758 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
= 0;
34760 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34772 PyObject
* obj0
= 0 ;
34773 PyObject
* obj1
= 0 ;
34774 PyObject
* obj2
= 0 ;
34775 PyObject
* obj3
= 0 ;
34776 char * kwnames
[] = {
34777 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
34780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34782 if (!SWIG_IsOK(res1
)) {
34783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34785 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34787 if (!SWIG_IsOK(ecode2
)) {
34788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
34790 arg2
= static_cast< int >(val2
);
34791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34792 if (!SWIG_IsOK(ecode3
)) {
34793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
34795 arg3
= static_cast< int >(val3
);
34796 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34797 if (!SWIG_IsOK(ecode4
)) {
34798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
34800 arg4
= static_cast< int >(val4
);
34802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34803 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34807 resultobj
= SWIG_Py_Void();
34814 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34815 PyObject
*resultobj
= 0;
34816 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34818 bool arg3
= (bool) true ;
34825 PyObject
* obj0
= 0 ;
34826 PyObject
* obj1
= 0 ;
34827 PyObject
* obj2
= 0 ;
34828 char * kwnames
[] = {
34829 (char *) "self",(char *) "id",(char *) "greyout", NULL
34832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34834 if (!SWIG_IsOK(res1
)) {
34835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34837 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34839 if (!SWIG_IsOK(ecode2
)) {
34840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
34842 arg2
= static_cast< int >(val2
);
34844 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34845 if (!SWIG_IsOK(ecode3
)) {
34846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
34848 arg3
= static_cast< bool >(val3
);
34851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
34853 wxPyEndAllowThreads(__tstate
);
34854 if (PyErr_Occurred()) SWIG_fail
;
34856 resultobj
= SWIG_Py_Void();
34863 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34864 PyObject
*resultobj
= 0;
34865 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34872 PyObject
* obj0
= 0 ;
34873 PyObject
* obj1
= 0 ;
34874 char * kwnames
[] = {
34875 (char *) "self",(char *) "id", NULL
34878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34880 if (!SWIG_IsOK(res1
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34883 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34885 if (!SWIG_IsOK(ecode2
)) {
34886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
34888 arg2
= static_cast< int >(val2
);
34890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34891 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34904 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34905 PyObject
*resultobj
= 0;
34906 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34909 int arg4
= (int) 1 ;
34910 wxColor
const &arg5_defvalue
= *wxWHITE
;
34911 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
34912 PyObject
*result
= 0 ;
34923 PyObject
* obj0
= 0 ;
34924 PyObject
* obj1
= 0 ;
34925 PyObject
* obj2
= 0 ;
34926 PyObject
* obj3
= 0 ;
34927 PyObject
* obj4
= 0 ;
34928 char * kwnames
[] = {
34929 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
34932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34934 if (!SWIG_IsOK(res1
)) {
34935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34937 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34939 if (!SWIG_IsOK(ecode2
)) {
34940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
34942 arg2
= static_cast< int >(val2
);
34943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34944 if (!SWIG_IsOK(ecode3
)) {
34945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
34947 arg3
= static_cast< int >(val3
);
34949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34950 if (!SWIG_IsOK(ecode4
)) {
34951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
34953 arg4
= static_cast< int >(val4
);
34956 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
34957 if (!SWIG_IsOK(res5
)) {
34958 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
34961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
34963 arg5
= reinterpret_cast< wxColor
* >(argp5
);
34966 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
34967 if (PyErr_Occurred()) SWIG_fail
;
34969 resultobj
= result
;
34976 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34977 PyObject
*resultobj
= 0;
34978 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34981 PyObject
*result
= 0 ;
34988 PyObject
* obj0
= 0 ;
34989 PyObject
* obj1
= 0 ;
34990 PyObject
* obj2
= 0 ;
34991 char * kwnames
[] = {
34992 (char *) "self",(char *) "x",(char *) "y", NULL
34995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34997 if (!SWIG_IsOK(res1
)) {
34998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35000 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35002 if (!SWIG_IsOK(ecode2
)) {
35003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35005 arg2
= static_cast< int >(val2
);
35006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35007 if (!SWIG_IsOK(ecode3
)) {
35008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35010 arg3
= static_cast< int >(val3
);
35012 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35015 resultobj
= result
;
35022 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35023 PyObject
*resultobj
= 0;
35024 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35026 wxDC
*arg3
= (wxDC
*) 0 ;
35033 PyObject
* obj0
= 0 ;
35034 PyObject
* obj1
= 0 ;
35035 PyObject
* obj2
= 0 ;
35036 char * kwnames
[] = {
35037 (char *) "self",(char *) "id",(char *) "dc", NULL
35040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35042 if (!SWIG_IsOK(res1
)) {
35043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35045 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35047 if (!SWIG_IsOK(ecode2
)) {
35048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35050 arg2
= static_cast< int >(val2
);
35051 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35052 if (!SWIG_IsOK(res3
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35055 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35058 (arg1
)->DrawIdToDC(arg2
,arg3
);
35059 wxPyEndAllowThreads(__tstate
);
35060 if (PyErr_Occurred()) SWIG_fail
;
35062 resultobj
= SWIG_Py_Void();
35069 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35070 PyObject
*resultobj
= 0;
35071 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35079 PyObject
* obj0
= 0 ;
35080 PyObject
* obj1
= 0 ;
35081 PyObject
* obj2
= 0 ;
35082 char * kwnames
[] = {
35083 (char *) "self",(char *) "id",(char *) "rect", NULL
35086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35088 if (!SWIG_IsOK(res1
)) {
35089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35093 if (!SWIG_IsOK(ecode2
)) {
35094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35096 arg2
= static_cast< int >(val2
);
35099 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35103 (arg1
)->SetIdBounds(arg2
,*arg3
);
35104 wxPyEndAllowThreads(__tstate
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35107 resultobj
= SWIG_Py_Void();
35114 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35115 PyObject
*resultobj
= 0;
35116 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35123 PyObject
* obj0
= 0 ;
35124 PyObject
* obj1
= 0 ;
35125 char * kwnames
[] = {
35126 (char *) "self",(char *) "id", NULL
35129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35131 if (!SWIG_IsOK(res1
)) {
35132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35136 if (!SWIG_IsOK(ecode2
)) {
35137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35139 arg2
= static_cast< int >(val2
);
35141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35142 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35143 wxPyEndAllowThreads(__tstate
);
35144 if (PyErr_Occurred()) SWIG_fail
;
35146 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35153 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35154 PyObject
*resultobj
= 0;
35155 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35156 wxDC
*arg2
= (wxDC
*) 0 ;
35163 PyObject
* obj0
= 0 ;
35164 PyObject
* obj1
= 0 ;
35165 PyObject
* obj2
= 0 ;
35166 char * kwnames
[] = {
35167 (char *) "self",(char *) "dc",(char *) "rect", NULL
35170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35172 if (!SWIG_IsOK(res1
)) {
35173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35175 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35177 if (!SWIG_IsOK(res2
)) {
35178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35180 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35183 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35187 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35188 wxPyEndAllowThreads(__tstate
);
35189 if (PyErr_Occurred()) SWIG_fail
;
35191 resultobj
= SWIG_Py_Void();
35198 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35199 PyObject
*resultobj
= 0;
35200 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35201 wxDC
*arg2
= (wxDC
*) 0 ;
35202 wxRegion
*arg3
= 0 ;
35209 PyObject
* obj0
= 0 ;
35210 PyObject
* obj1
= 0 ;
35211 PyObject
* obj2
= 0 ;
35212 char * kwnames
[] = {
35213 (char *) "self",(char *) "dc",(char *) "region", NULL
35216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35218 if (!SWIG_IsOK(res1
)) {
35219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35221 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35223 if (!SWIG_IsOK(res2
)) {
35224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35226 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35227 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35228 if (!SWIG_IsOK(res3
)) {
35229 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35234 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35237 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35238 wxPyEndAllowThreads(__tstate
);
35239 if (PyErr_Occurred()) SWIG_fail
;
35241 resultobj
= SWIG_Py_Void();
35248 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35249 PyObject
*resultobj
= 0;
35250 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35251 wxDC
*arg2
= (wxDC
*) 0 ;
35256 PyObject
* obj0
= 0 ;
35257 PyObject
* obj1
= 0 ;
35258 char * kwnames
[] = {
35259 (char *) "self",(char *) "dc", NULL
35262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35264 if (!SWIG_IsOK(res1
)) {
35265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35267 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35269 if (!SWIG_IsOK(res2
)) {
35270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35272 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35275 (arg1
)->DrawToDC(arg2
);
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35279 resultobj
= SWIG_Py_Void();
35286 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35287 PyObject
*resultobj
= 0;
35288 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35291 wxColour
*arg4
= 0 ;
35292 int arg5
= (int) wxFLOOD_SURFACE
;
35302 PyObject
* obj0
= 0 ;
35303 PyObject
* obj1
= 0 ;
35304 PyObject
* obj2
= 0 ;
35305 PyObject
* obj3
= 0 ;
35306 PyObject
* obj4
= 0 ;
35307 char * kwnames
[] = {
35308 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35313 if (!SWIG_IsOK(res1
)) {
35314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35316 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35318 if (!SWIG_IsOK(ecode2
)) {
35319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35321 arg2
= static_cast< int >(val2
);
35322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35323 if (!SWIG_IsOK(ecode3
)) {
35324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35326 arg3
= static_cast< int >(val3
);
35329 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35332 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35333 if (!SWIG_IsOK(ecode5
)) {
35334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35336 arg5
= static_cast< int >(val5
);
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 resultobj
= SWIG_Py_Void();
35351 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35352 PyObject
*resultobj
= 0;
35353 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35354 wxPoint
*arg2
= 0 ;
35355 wxColour
*arg3
= 0 ;
35356 int arg4
= (int) wxFLOOD_SURFACE
;
35363 PyObject
* obj0
= 0 ;
35364 PyObject
* obj1
= 0 ;
35365 PyObject
* obj2
= 0 ;
35366 PyObject
* obj3
= 0 ;
35367 char * kwnames
[] = {
35368 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35373 if (!SWIG_IsOK(res1
)) {
35374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35376 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35379 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35383 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35387 if (!SWIG_IsOK(ecode4
)) {
35388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35390 arg4
= static_cast< int >(val4
);
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35394 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35395 wxPyEndAllowThreads(__tstate
);
35396 if (PyErr_Occurred()) SWIG_fail
;
35398 resultobj
= SWIG_Py_Void();
35405 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35406 PyObject
*resultobj
= 0;
35407 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35422 PyObject
* obj0
= 0 ;
35423 PyObject
* obj1
= 0 ;
35424 PyObject
* obj2
= 0 ;
35425 PyObject
* obj3
= 0 ;
35426 PyObject
* obj4
= 0 ;
35427 char * kwnames
[] = {
35428 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35433 if (!SWIG_IsOK(res1
)) {
35434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35436 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35438 if (!SWIG_IsOK(ecode2
)) {
35439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35441 arg2
= static_cast< int >(val2
);
35442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35443 if (!SWIG_IsOK(ecode3
)) {
35444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35446 arg3
= static_cast< int >(val3
);
35447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35448 if (!SWIG_IsOK(ecode4
)) {
35449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35451 arg4
= static_cast< int >(val4
);
35452 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35453 if (!SWIG_IsOK(ecode5
)) {
35454 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35456 arg5
= static_cast< int >(val5
);
35458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35459 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35460 wxPyEndAllowThreads(__tstate
);
35461 if (PyErr_Occurred()) SWIG_fail
;
35463 resultobj
= SWIG_Py_Void();
35470 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
= 0;
35472 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35473 wxPoint
*arg2
= 0 ;
35474 wxPoint
*arg3
= 0 ;
35479 PyObject
* obj0
= 0 ;
35480 PyObject
* obj1
= 0 ;
35481 PyObject
* obj2
= 0 ;
35482 char * kwnames
[] = {
35483 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35488 if (!SWIG_IsOK(res1
)) {
35489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35491 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35494 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35498 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35502 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35503 wxPyEndAllowThreads(__tstate
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35506 resultobj
= SWIG_Py_Void();
35513 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35514 PyObject
*resultobj
= 0;
35515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35524 PyObject
* obj0
= 0 ;
35525 PyObject
* obj1
= 0 ;
35526 PyObject
* obj2
= 0 ;
35527 char * kwnames
[] = {
35528 (char *) "self",(char *) "x",(char *) "y", NULL
35531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35533 if (!SWIG_IsOK(res1
)) {
35534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35536 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35538 if (!SWIG_IsOK(ecode2
)) {
35539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35541 arg2
= static_cast< int >(val2
);
35542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35543 if (!SWIG_IsOK(ecode3
)) {
35544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35546 arg3
= static_cast< int >(val3
);
35548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35549 (arg1
)->CrossHair(arg2
,arg3
);
35550 wxPyEndAllowThreads(__tstate
);
35551 if (PyErr_Occurred()) SWIG_fail
;
35553 resultobj
= SWIG_Py_Void();
35560 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35561 PyObject
*resultobj
= 0;
35562 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35563 wxPoint
*arg2
= 0 ;
35567 PyObject
* obj0
= 0 ;
35568 PyObject
* obj1
= 0 ;
35569 char * kwnames
[] = {
35570 (char *) "self",(char *) "pt", NULL
35573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35575 if (!SWIG_IsOK(res1
)) {
35576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35578 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
35586 wxPyEndAllowThreads(__tstate
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35589 resultobj
= SWIG_Py_Void();
35596 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35597 PyObject
*resultobj
= 0;
35598 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35619 PyObject
* obj0
= 0 ;
35620 PyObject
* obj1
= 0 ;
35621 PyObject
* obj2
= 0 ;
35622 PyObject
* obj3
= 0 ;
35623 PyObject
* obj4
= 0 ;
35624 PyObject
* obj5
= 0 ;
35625 PyObject
* obj6
= 0 ;
35626 char * kwnames
[] = {
35627 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
35630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35632 if (!SWIG_IsOK(res1
)) {
35633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35635 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35637 if (!SWIG_IsOK(ecode2
)) {
35638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
35640 arg2
= static_cast< int >(val2
);
35641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35642 if (!SWIG_IsOK(ecode3
)) {
35643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
35645 arg3
= static_cast< int >(val3
);
35646 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35647 if (!SWIG_IsOK(ecode4
)) {
35648 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
35650 arg4
= static_cast< int >(val4
);
35651 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35652 if (!SWIG_IsOK(ecode5
)) {
35653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
35655 arg5
= static_cast< int >(val5
);
35656 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35657 if (!SWIG_IsOK(ecode6
)) {
35658 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
35660 arg6
= static_cast< int >(val6
);
35661 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35662 if (!SWIG_IsOK(ecode7
)) {
35663 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
35665 arg7
= static_cast< int >(val7
);
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 resultobj
= SWIG_Py_Void();
35679 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
= 0;
35681 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35682 wxPoint
*arg2
= 0 ;
35683 wxPoint
*arg3
= 0 ;
35684 wxPoint
*arg4
= 0 ;
35690 PyObject
* obj0
= 0 ;
35691 PyObject
* obj1
= 0 ;
35692 PyObject
* obj2
= 0 ;
35693 PyObject
* obj3
= 0 ;
35694 char * kwnames
[] = {
35695 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
35698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35700 if (!SWIG_IsOK(res1
)) {
35701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35703 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35706 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35710 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35714 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35722 resultobj
= SWIG_Py_Void();
35729 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
= 0;
35731 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35746 PyObject
* obj0
= 0 ;
35747 PyObject
* obj1
= 0 ;
35748 PyObject
* obj2
= 0 ;
35749 PyObject
* obj3
= 0 ;
35750 PyObject
* obj4
= 0 ;
35751 char * kwnames
[] = {
35752 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35757 if (!SWIG_IsOK(res1
)) {
35758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35760 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35762 if (!SWIG_IsOK(ecode2
)) {
35763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
35765 arg2
= static_cast< int >(val2
);
35766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35767 if (!SWIG_IsOK(ecode3
)) {
35768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
35770 arg3
= static_cast< int >(val3
);
35771 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35772 if (!SWIG_IsOK(ecode4
)) {
35773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
35775 arg4
= static_cast< int >(val4
);
35776 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35777 if (!SWIG_IsOK(ecode5
)) {
35778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
35780 arg5
= static_cast< int >(val5
);
35782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35783 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
35784 wxPyEndAllowThreads(__tstate
);
35785 if (PyErr_Occurred()) SWIG_fail
;
35787 resultobj
= SWIG_Py_Void();
35794 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35795 PyObject
*resultobj
= 0;
35796 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35801 PyObject
* obj0
= 0 ;
35802 PyObject
* obj1
= 0 ;
35803 char * kwnames
[] = {
35804 (char *) "self",(char *) "rect", NULL
35807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35809 if (!SWIG_IsOK(res1
)) {
35810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35812 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35815 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
35818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35819 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
35820 wxPyEndAllowThreads(__tstate
);
35821 if (PyErr_Occurred()) SWIG_fail
;
35823 resultobj
= SWIG_Py_Void();
35830 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35831 PyObject
*resultobj
= 0;
35832 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35853 PyObject
* obj0
= 0 ;
35854 PyObject
* obj1
= 0 ;
35855 PyObject
* obj2
= 0 ;
35856 PyObject
* obj3
= 0 ;
35857 PyObject
* obj4
= 0 ;
35858 PyObject
* obj5
= 0 ;
35859 PyObject
* obj6
= 0 ;
35860 char * kwnames
[] = {
35861 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
35864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35866 if (!SWIG_IsOK(res1
)) {
35867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35869 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35871 if (!SWIG_IsOK(ecode2
)) {
35872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
35874 arg2
= static_cast< int >(val2
);
35875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35876 if (!SWIG_IsOK(ecode3
)) {
35877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
35879 arg3
= static_cast< int >(val3
);
35880 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35881 if (!SWIG_IsOK(ecode4
)) {
35882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
35884 arg4
= static_cast< int >(val4
);
35885 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35886 if (!SWIG_IsOK(ecode5
)) {
35887 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
35889 arg5
= static_cast< int >(val5
);
35890 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
35891 if (!SWIG_IsOK(ecode6
)) {
35892 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
35894 arg6
= static_cast< double >(val6
);
35895 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
35896 if (!SWIG_IsOK(ecode7
)) {
35897 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
35899 arg7
= static_cast< double >(val7
);
35901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35902 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35903 wxPyEndAllowThreads(__tstate
);
35904 if (PyErr_Occurred()) SWIG_fail
;
35906 resultobj
= SWIG_Py_Void();
35913 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35914 PyObject
*resultobj
= 0;
35915 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35916 wxPoint
*arg2
= 0 ;
35928 PyObject
* obj0
= 0 ;
35929 PyObject
* obj1
= 0 ;
35930 PyObject
* obj2
= 0 ;
35931 PyObject
* obj3
= 0 ;
35932 PyObject
* obj4
= 0 ;
35933 char * kwnames
[] = {
35934 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
35937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35939 if (!SWIG_IsOK(res1
)) {
35940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35942 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35945 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35949 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35951 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
35952 if (!SWIG_IsOK(ecode4
)) {
35953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
35955 arg4
= static_cast< double >(val4
);
35956 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
35957 if (!SWIG_IsOK(ecode5
)) {
35958 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
35960 arg5
= static_cast< double >(val5
);
35962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35963 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
35964 wxPyEndAllowThreads(__tstate
);
35965 if (PyErr_Occurred()) SWIG_fail
;
35967 resultobj
= SWIG_Py_Void();
35974 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35975 PyObject
*resultobj
= 0;
35976 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35985 PyObject
* obj0
= 0 ;
35986 PyObject
* obj1
= 0 ;
35987 PyObject
* obj2
= 0 ;
35988 char * kwnames
[] = {
35989 (char *) "self",(char *) "x",(char *) "y", NULL
35992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35994 if (!SWIG_IsOK(res1
)) {
35995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35997 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35999 if (!SWIG_IsOK(ecode2
)) {
36000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36002 arg2
= static_cast< int >(val2
);
36003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36004 if (!SWIG_IsOK(ecode3
)) {
36005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36007 arg3
= static_cast< int >(val3
);
36009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36010 (arg1
)->DrawPoint(arg2
,arg3
);
36011 wxPyEndAllowThreads(__tstate
);
36012 if (PyErr_Occurred()) SWIG_fail
;
36014 resultobj
= SWIG_Py_Void();
36021 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36022 PyObject
*resultobj
= 0;
36023 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36024 wxPoint
*arg2
= 0 ;
36028 PyObject
* obj0
= 0 ;
36029 PyObject
* obj1
= 0 ;
36030 char * kwnames
[] = {
36031 (char *) "self",(char *) "pt", NULL
36034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36036 if (!SWIG_IsOK(res1
)) {
36037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36039 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36047 wxPyEndAllowThreads(__tstate
);
36048 if (PyErr_Occurred()) SWIG_fail
;
36050 resultobj
= SWIG_Py_Void();
36057 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36058 PyObject
*resultobj
= 0;
36059 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36074 PyObject
* obj0
= 0 ;
36075 PyObject
* obj1
= 0 ;
36076 PyObject
* obj2
= 0 ;
36077 PyObject
* obj3
= 0 ;
36078 PyObject
* obj4
= 0 ;
36079 char * kwnames
[] = {
36080 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36085 if (!SWIG_IsOK(res1
)) {
36086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36090 if (!SWIG_IsOK(ecode2
)) {
36091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36093 arg2
= static_cast< int >(val2
);
36094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36095 if (!SWIG_IsOK(ecode3
)) {
36096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36098 arg3
= static_cast< int >(val3
);
36099 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36100 if (!SWIG_IsOK(ecode4
)) {
36101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36103 arg4
= static_cast< int >(val4
);
36104 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36105 if (!SWIG_IsOK(ecode5
)) {
36106 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36108 arg5
= static_cast< int >(val5
);
36110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36111 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36112 wxPyEndAllowThreads(__tstate
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36115 resultobj
= SWIG_Py_Void();
36122 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36123 PyObject
*resultobj
= 0;
36124 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36129 PyObject
* obj0
= 0 ;
36130 PyObject
* obj1
= 0 ;
36131 char * kwnames
[] = {
36132 (char *) "self",(char *) "rect", NULL
36135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36137 if (!SWIG_IsOK(res1
)) {
36138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36143 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36147 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36148 wxPyEndAllowThreads(__tstate
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36151 resultobj
= SWIG_Py_Void();
36158 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36159 PyObject
*resultobj
= 0;
36160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36161 wxPoint
*arg2
= 0 ;
36167 PyObject
* obj0
= 0 ;
36168 PyObject
* obj1
= 0 ;
36169 PyObject
* obj2
= 0 ;
36170 char * kwnames
[] = {
36171 (char *) "self",(char *) "pt",(char *) "sz", NULL
36174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36176 if (!SWIG_IsOK(res1
)) {
36177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36179 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36186 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36190 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36191 wxPyEndAllowThreads(__tstate
);
36192 if (PyErr_Occurred()) SWIG_fail
;
36194 resultobj
= SWIG_Py_Void();
36201 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36202 PyObject
*resultobj
= 0;
36203 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36221 PyObject
* obj0
= 0 ;
36222 PyObject
* obj1
= 0 ;
36223 PyObject
* obj2
= 0 ;
36224 PyObject
* obj3
= 0 ;
36225 PyObject
* obj4
= 0 ;
36226 PyObject
* obj5
= 0 ;
36227 char * kwnames
[] = {
36228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36233 if (!SWIG_IsOK(res1
)) {
36234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36236 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36238 if (!SWIG_IsOK(ecode2
)) {
36239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36241 arg2
= static_cast< int >(val2
);
36242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36243 if (!SWIG_IsOK(ecode3
)) {
36244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36246 arg3
= static_cast< int >(val3
);
36247 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36248 if (!SWIG_IsOK(ecode4
)) {
36249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36251 arg4
= static_cast< int >(val4
);
36252 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36253 if (!SWIG_IsOK(ecode5
)) {
36254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36256 arg5
= static_cast< int >(val5
);
36257 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36258 if (!SWIG_IsOK(ecode6
)) {
36259 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36261 arg6
= static_cast< double >(val6
);
36263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36264 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36265 wxPyEndAllowThreads(__tstate
);
36266 if (PyErr_Occurred()) SWIG_fail
;
36268 resultobj
= SWIG_Py_Void();
36275 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36276 PyObject
*resultobj
= 0;
36277 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36285 PyObject
* obj0
= 0 ;
36286 PyObject
* obj1
= 0 ;
36287 PyObject
* obj2
= 0 ;
36288 char * kwnames
[] = {
36289 (char *) "self",(char *) "r",(char *) "radius", NULL
36292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36294 if (!SWIG_IsOK(res1
)) {
36295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36297 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36302 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36303 if (!SWIG_IsOK(ecode3
)) {
36304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36306 arg3
= static_cast< double >(val3
);
36308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36309 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36310 wxPyEndAllowThreads(__tstate
);
36311 if (PyErr_Occurred()) SWIG_fail
;
36313 resultobj
= SWIG_Py_Void();
36320 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36321 PyObject
*resultobj
= 0;
36322 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36323 wxPoint
*arg2
= 0 ;
36332 PyObject
* obj0
= 0 ;
36333 PyObject
* obj1
= 0 ;
36334 PyObject
* obj2
= 0 ;
36335 PyObject
* obj3
= 0 ;
36336 char * kwnames
[] = {
36337 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36342 if (!SWIG_IsOK(res1
)) {
36343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36345 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36352 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36354 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36355 if (!SWIG_IsOK(ecode4
)) {
36356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36358 arg4
= static_cast< double >(val4
);
36360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36361 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36362 wxPyEndAllowThreads(__tstate
);
36363 if (PyErr_Occurred()) SWIG_fail
;
36365 resultobj
= SWIG_Py_Void();
36372 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36373 PyObject
*resultobj
= 0;
36374 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36386 PyObject
* obj0
= 0 ;
36387 PyObject
* obj1
= 0 ;
36388 PyObject
* obj2
= 0 ;
36389 PyObject
* obj3
= 0 ;
36390 char * kwnames
[] = {
36391 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36396 if (!SWIG_IsOK(res1
)) {
36397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36399 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36401 if (!SWIG_IsOK(ecode2
)) {
36402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36404 arg2
= static_cast< int >(val2
);
36405 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36406 if (!SWIG_IsOK(ecode3
)) {
36407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36409 arg3
= static_cast< int >(val3
);
36410 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36411 if (!SWIG_IsOK(ecode4
)) {
36412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36414 arg4
= static_cast< int >(val4
);
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 resultobj
= SWIG_Py_Void();
36428 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36429 PyObject
*resultobj
= 0;
36430 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36431 wxPoint
*arg2
= 0 ;
36438 PyObject
* obj0
= 0 ;
36439 PyObject
* obj1
= 0 ;
36440 PyObject
* obj2
= 0 ;
36441 char * kwnames
[] = {
36442 (char *) "self",(char *) "pt",(char *) "radius", NULL
36445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36447 if (!SWIG_IsOK(res1
)) {
36448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36450 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36453 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36456 if (!SWIG_IsOK(ecode3
)) {
36457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36459 arg3
= static_cast< int >(val3
);
36461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36462 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36463 wxPyEndAllowThreads(__tstate
);
36464 if (PyErr_Occurred()) SWIG_fail
;
36466 resultobj
= SWIG_Py_Void();
36473 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36474 PyObject
*resultobj
= 0;
36475 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36490 PyObject
* obj0
= 0 ;
36491 PyObject
* obj1
= 0 ;
36492 PyObject
* obj2
= 0 ;
36493 PyObject
* obj3
= 0 ;
36494 PyObject
* obj4
= 0 ;
36495 char * kwnames
[] = {
36496 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36501 if (!SWIG_IsOK(res1
)) {
36502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36504 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36506 if (!SWIG_IsOK(ecode2
)) {
36507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36509 arg2
= static_cast< int >(val2
);
36510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36511 if (!SWIG_IsOK(ecode3
)) {
36512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36514 arg3
= static_cast< int >(val3
);
36515 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36516 if (!SWIG_IsOK(ecode4
)) {
36517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36519 arg4
= static_cast< int >(val4
);
36520 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36521 if (!SWIG_IsOK(ecode5
)) {
36522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36524 arg5
= static_cast< int >(val5
);
36526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36527 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36528 wxPyEndAllowThreads(__tstate
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36531 resultobj
= SWIG_Py_Void();
36538 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36539 PyObject
*resultobj
= 0;
36540 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36545 PyObject
* obj0
= 0 ;
36546 PyObject
* obj1
= 0 ;
36547 char * kwnames
[] = {
36548 (char *) "self",(char *) "rect", NULL
36551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36553 if (!SWIG_IsOK(res1
)) {
36554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36556 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36559 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36563 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36567 resultobj
= SWIG_Py_Void();
36574 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36575 PyObject
*resultobj
= 0;
36576 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36577 wxPoint
*arg2
= 0 ;
36583 PyObject
* obj0
= 0 ;
36584 PyObject
* obj1
= 0 ;
36585 PyObject
* obj2
= 0 ;
36586 char * kwnames
[] = {
36587 (char *) "self",(char *) "pt",(char *) "sz", NULL
36590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36595 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36602 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36606 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36607 wxPyEndAllowThreads(__tstate
);
36608 if (PyErr_Occurred()) SWIG_fail
;
36610 resultobj
= SWIG_Py_Void();
36617 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36618 PyObject
*resultobj
= 0;
36619 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36631 PyObject
* obj0
= 0 ;
36632 PyObject
* obj1
= 0 ;
36633 PyObject
* obj2
= 0 ;
36634 PyObject
* obj3
= 0 ;
36635 char * kwnames
[] = {
36636 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
36639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36641 if (!SWIG_IsOK(res1
)) {
36642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36644 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36646 if (!SWIG_IsOK(res2
)) {
36647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36652 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36654 if (!SWIG_IsOK(ecode3
)) {
36655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
36657 arg3
= static_cast< int >(val3
);
36658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36659 if (!SWIG_IsOK(ecode4
)) {
36660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
36662 arg4
= static_cast< int >(val4
);
36664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36665 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
36666 wxPyEndAllowThreads(__tstate
);
36667 if (PyErr_Occurred()) SWIG_fail
;
36669 resultobj
= SWIG_Py_Void();
36676 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36677 PyObject
*resultobj
= 0;
36678 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36680 wxPoint
*arg3
= 0 ;
36686 PyObject
* obj0
= 0 ;
36687 PyObject
* obj1
= 0 ;
36688 PyObject
* obj2
= 0 ;
36689 char * kwnames
[] = {
36690 (char *) "self",(char *) "icon",(char *) "pt", NULL
36693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36695 if (!SWIG_IsOK(res1
)) {
36696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36700 if (!SWIG_IsOK(res2
)) {
36701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36706 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36709 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36713 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
36714 wxPyEndAllowThreads(__tstate
);
36715 if (PyErr_Occurred()) SWIG_fail
;
36717 resultobj
= SWIG_Py_Void();
36724 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36725 PyObject
*resultobj
= 0;
36726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36727 wxBitmap
*arg2
= 0 ;
36730 bool arg5
= (bool) false ;
36741 PyObject
* obj0
= 0 ;
36742 PyObject
* obj1
= 0 ;
36743 PyObject
* obj2
= 0 ;
36744 PyObject
* obj3
= 0 ;
36745 PyObject
* obj4
= 0 ;
36746 char * kwnames
[] = {
36747 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
36750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36752 if (!SWIG_IsOK(res1
)) {
36753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36755 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
36757 if (!SWIG_IsOK(res2
)) {
36758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
36761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
36763 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
36764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36765 if (!SWIG_IsOK(ecode3
)) {
36766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
36768 arg3
= static_cast< int >(val3
);
36769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36770 if (!SWIG_IsOK(ecode4
)) {
36771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
36773 arg4
= static_cast< int >(val4
);
36775 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
36776 if (!SWIG_IsOK(ecode5
)) {
36777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
36779 arg5
= static_cast< bool >(val5
);
36782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36783 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
36784 wxPyEndAllowThreads(__tstate
);
36785 if (PyErr_Occurred()) SWIG_fail
;
36787 resultobj
= SWIG_Py_Void();
36794 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36795 PyObject
*resultobj
= 0;
36796 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36797 wxBitmap
*arg2
= 0 ;
36798 wxPoint
*arg3
= 0 ;
36799 bool arg4
= (bool) false ;
36807 PyObject
* obj0
= 0 ;
36808 PyObject
* obj1
= 0 ;
36809 PyObject
* obj2
= 0 ;
36810 PyObject
* obj3
= 0 ;
36811 char * kwnames
[] = {
36812 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
36815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36817 if (!SWIG_IsOK(res1
)) {
36818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36820 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
36822 if (!SWIG_IsOK(res2
)) {
36823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
36826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
36828 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
36831 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36834 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
36835 if (!SWIG_IsOK(ecode4
)) {
36836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
36838 arg4
= static_cast< bool >(val4
);
36841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36842 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
36843 wxPyEndAllowThreads(__tstate
);
36844 if (PyErr_Occurred()) SWIG_fail
;
36846 resultobj
= SWIG_Py_Void();
36853 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36854 PyObject
*resultobj
= 0;
36855 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36856 wxString
*arg2
= 0 ;
36861 bool temp2
= false ;
36866 PyObject
* obj0
= 0 ;
36867 PyObject
* obj1
= 0 ;
36868 PyObject
* obj2
= 0 ;
36869 PyObject
* obj3
= 0 ;
36870 char * kwnames
[] = {
36871 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
36874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36876 if (!SWIG_IsOK(res1
)) {
36877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36879 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36881 arg2
= wxString_in_helper(obj1
);
36882 if (arg2
== NULL
) SWIG_fail
;
36885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36886 if (!SWIG_IsOK(ecode3
)) {
36887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
36889 arg3
= static_cast< int >(val3
);
36890 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36891 if (!SWIG_IsOK(ecode4
)) {
36892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
36894 arg4
= static_cast< int >(val4
);
36896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36897 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
36898 wxPyEndAllowThreads(__tstate
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36901 resultobj
= SWIG_Py_Void();
36916 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36917 PyObject
*resultobj
= 0;
36918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36919 wxString
*arg2
= 0 ;
36920 wxPoint
*arg3
= 0 ;
36923 bool temp2
= false ;
36925 PyObject
* obj0
= 0 ;
36926 PyObject
* obj1
= 0 ;
36927 PyObject
* obj2
= 0 ;
36928 char * kwnames
[] = {
36929 (char *) "self",(char *) "text",(char *) "pt", NULL
36932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36934 if (!SWIG_IsOK(res1
)) {
36935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36937 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36939 arg2
= wxString_in_helper(obj1
);
36940 if (arg2
== NULL
) SWIG_fail
;
36945 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36949 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
36950 wxPyEndAllowThreads(__tstate
);
36951 if (PyErr_Occurred()) SWIG_fail
;
36953 resultobj
= SWIG_Py_Void();
36968 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36969 PyObject
*resultobj
= 0;
36970 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36971 wxString
*arg2
= 0 ;
36977 bool temp2
= false ;
36984 PyObject
* obj0
= 0 ;
36985 PyObject
* obj1
= 0 ;
36986 PyObject
* obj2
= 0 ;
36987 PyObject
* obj3
= 0 ;
36988 PyObject
* obj4
= 0 ;
36989 char * kwnames
[] = {
36990 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
36993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36995 if (!SWIG_IsOK(res1
)) {
36996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36998 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37000 arg2
= wxString_in_helper(obj1
);
37001 if (arg2
== NULL
) SWIG_fail
;
37004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37005 if (!SWIG_IsOK(ecode3
)) {
37006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37008 arg3
= static_cast< int >(val3
);
37009 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37010 if (!SWIG_IsOK(ecode4
)) {
37011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37013 arg4
= static_cast< int >(val4
);
37014 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37015 if (!SWIG_IsOK(ecode5
)) {
37016 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37018 arg5
= static_cast< double >(val5
);
37020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37021 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37022 wxPyEndAllowThreads(__tstate
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37025 resultobj
= SWIG_Py_Void();
37040 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37041 PyObject
*resultobj
= 0;
37042 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37043 wxString
*arg2
= 0 ;
37044 wxPoint
*arg3
= 0 ;
37048 bool temp2
= false ;
37052 PyObject
* obj0
= 0 ;
37053 PyObject
* obj1
= 0 ;
37054 PyObject
* obj2
= 0 ;
37055 PyObject
* obj3
= 0 ;
37056 char * kwnames
[] = {
37057 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37062 if (!SWIG_IsOK(res1
)) {
37063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37067 arg2
= wxString_in_helper(obj1
);
37068 if (arg2
== NULL
) SWIG_fail
;
37073 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37075 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37076 if (!SWIG_IsOK(ecode4
)) {
37077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37079 arg4
= static_cast< double >(val4
);
37081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37082 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37086 resultobj
= SWIG_Py_Void();
37101 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37102 PyObject
*resultobj
= 0;
37103 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37105 wxPoint
*arg3
= (wxPoint
*) 0 ;
37106 int arg4
= (int) 0 ;
37107 int arg5
= (int) 0 ;
37114 PyObject
* obj0
= 0 ;
37115 PyObject
* obj1
= 0 ;
37116 PyObject
* obj2
= 0 ;
37117 PyObject
* obj3
= 0 ;
37118 char * kwnames
[] = {
37119 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37124 if (!SWIG_IsOK(res1
)) {
37125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37127 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37129 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37130 if (arg3
== NULL
) SWIG_fail
;
37133 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37134 if (!SWIG_IsOK(ecode4
)) {
37135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37137 arg4
= static_cast< int >(val4
);
37140 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37141 if (!SWIG_IsOK(ecode5
)) {
37142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37144 arg5
= static_cast< int >(val5
);
37147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37148 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37149 wxPyEndAllowThreads(__tstate
);
37150 if (PyErr_Occurred()) SWIG_fail
;
37152 resultobj
= SWIG_Py_Void();
37154 if (arg3
) delete [] arg3
;
37159 if (arg3
) delete [] arg3
;
37165 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37166 PyObject
*resultobj
= 0;
37167 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37169 wxPoint
*arg3
= (wxPoint
*) 0 ;
37170 int arg4
= (int) 0 ;
37171 int arg5
= (int) 0 ;
37172 int arg6
= (int) wxODDEVEN_RULE
;
37181 PyObject
* obj0
= 0 ;
37182 PyObject
* obj1
= 0 ;
37183 PyObject
* obj2
= 0 ;
37184 PyObject
* obj3
= 0 ;
37185 PyObject
* obj4
= 0 ;
37186 char * kwnames
[] = {
37187 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37192 if (!SWIG_IsOK(res1
)) {
37193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37195 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37197 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37198 if (arg3
== NULL
) SWIG_fail
;
37201 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37202 if (!SWIG_IsOK(ecode4
)) {
37203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37205 arg4
= static_cast< int >(val4
);
37208 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37209 if (!SWIG_IsOK(ecode5
)) {
37210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37212 arg5
= static_cast< int >(val5
);
37215 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37216 if (!SWIG_IsOK(ecode6
)) {
37217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37219 arg6
= static_cast< int >(val6
);
37222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37223 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37224 wxPyEndAllowThreads(__tstate
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37227 resultobj
= SWIG_Py_Void();
37229 if (arg3
) delete [] arg3
;
37234 if (arg3
) delete [] arg3
;
37240 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37241 PyObject
*resultobj
= 0;
37242 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37243 wxString
*arg2
= 0 ;
37245 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37246 int arg5
= (int) -1 ;
37249 bool temp2
= false ;
37255 PyObject
* obj0
= 0 ;
37256 PyObject
* obj1
= 0 ;
37257 PyObject
* obj2
= 0 ;
37258 PyObject
* obj3
= 0 ;
37259 PyObject
* obj4
= 0 ;
37260 char * kwnames
[] = {
37261 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37266 if (!SWIG_IsOK(res1
)) {
37267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37269 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37271 arg2
= wxString_in_helper(obj1
);
37272 if (arg2
== NULL
) SWIG_fail
;
37277 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37281 if (!SWIG_IsOK(ecode4
)) {
37282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37284 arg4
= static_cast< int >(val4
);
37287 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37288 if (!SWIG_IsOK(ecode5
)) {
37289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37291 arg5
= static_cast< int >(val5
);
37294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37295 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37296 wxPyEndAllowThreads(__tstate
);
37297 if (PyErr_Occurred()) SWIG_fail
;
37299 resultobj
= SWIG_Py_Void();
37314 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37315 PyObject
*resultobj
= 0;
37316 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37317 wxString
*arg2
= 0 ;
37318 wxBitmap
*arg3
= 0 ;
37320 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37321 int arg6
= (int) -1 ;
37324 bool temp2
= false ;
37332 PyObject
* obj0
= 0 ;
37333 PyObject
* obj1
= 0 ;
37334 PyObject
* obj2
= 0 ;
37335 PyObject
* obj3
= 0 ;
37336 PyObject
* obj4
= 0 ;
37337 PyObject
* obj5
= 0 ;
37338 char * kwnames
[] = {
37339 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37344 if (!SWIG_IsOK(res1
)) {
37345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37347 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37349 arg2
= wxString_in_helper(obj1
);
37350 if (arg2
== NULL
) SWIG_fail
;
37353 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37354 if (!SWIG_IsOK(res3
)) {
37355 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37360 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37363 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37366 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37367 if (!SWIG_IsOK(ecode5
)) {
37368 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37370 arg5
= static_cast< int >(val5
);
37373 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37374 if (!SWIG_IsOK(ecode6
)) {
37375 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37377 arg6
= static_cast< int >(val6
);
37380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37381 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37382 wxPyEndAllowThreads(__tstate
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37385 resultobj
= SWIG_Py_Void();
37400 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37401 PyObject
*resultobj
= 0;
37402 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37404 wxPoint
*arg3
= (wxPoint
*) 0 ;
37407 PyObject
* obj0
= 0 ;
37408 PyObject
* obj1
= 0 ;
37409 char * kwnames
[] = {
37410 (char *) "self",(char *) "points", NULL
37413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37415 if (!SWIG_IsOK(res1
)) {
37416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37418 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37420 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37421 if (arg3
== NULL
) SWIG_fail
;
37424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37425 (arg1
)->DrawSpline(arg2
,arg3
);
37426 wxPyEndAllowThreads(__tstate
);
37427 if (PyErr_Occurred()) SWIG_fail
;
37429 resultobj
= SWIG_Py_Void();
37431 if (arg3
) delete [] arg3
;
37436 if (arg3
) delete [] arg3
;
37442 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37443 PyObject
*resultobj
= 0;
37444 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37447 PyObject
*swig_obj
[1] ;
37449 if (!args
) SWIG_fail
;
37450 swig_obj
[0] = args
;
37451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37452 if (!SWIG_IsOK(res1
)) {
37453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37455 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37459 wxPyEndAllowThreads(__tstate
);
37460 if (PyErr_Occurred()) SWIG_fail
;
37462 resultobj
= SWIG_Py_Void();
37469 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37470 PyObject
*resultobj
= 0;
37471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37477 PyObject
* obj0
= 0 ;
37478 PyObject
* obj1
= 0 ;
37479 char * kwnames
[] = {
37480 (char *) "self",(char *) "font", NULL
37483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37485 if (!SWIG_IsOK(res1
)) {
37486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37488 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37490 if (!SWIG_IsOK(res2
)) {
37491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37496 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37499 (arg1
)->SetFont((wxFont
const &)*arg2
);
37500 wxPyEndAllowThreads(__tstate
);
37501 if (PyErr_Occurred()) SWIG_fail
;
37503 resultobj
= SWIG_Py_Void();
37510 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37511 PyObject
*resultobj
= 0;
37512 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37518 PyObject
* obj0
= 0 ;
37519 PyObject
* obj1
= 0 ;
37520 char * kwnames
[] = {
37521 (char *) "self",(char *) "pen", NULL
37524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37526 if (!SWIG_IsOK(res1
)) {
37527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37531 if (!SWIG_IsOK(res2
)) {
37532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37537 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37540 (arg1
)->SetPen((wxPen
const &)*arg2
);
37541 wxPyEndAllowThreads(__tstate
);
37542 if (PyErr_Occurred()) SWIG_fail
;
37544 resultobj
= SWIG_Py_Void();
37551 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37552 PyObject
*resultobj
= 0;
37553 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37554 wxBrush
*arg2
= 0 ;
37559 PyObject
* obj0
= 0 ;
37560 PyObject
* obj1
= 0 ;
37561 char * kwnames
[] = {
37562 (char *) "self",(char *) "brush", NULL
37565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37567 if (!SWIG_IsOK(res1
)) {
37568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37570 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37572 if (!SWIG_IsOK(res2
)) {
37573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37578 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
37582 wxPyEndAllowThreads(__tstate
);
37583 if (PyErr_Occurred()) SWIG_fail
;
37585 resultobj
= SWIG_Py_Void();
37592 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37593 PyObject
*resultobj
= 0;
37594 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37595 wxBrush
*arg2
= 0 ;
37600 PyObject
* obj0
= 0 ;
37601 PyObject
* obj1
= 0 ;
37602 char * kwnames
[] = {
37603 (char *) "self",(char *) "brush", NULL
37606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37608 if (!SWIG_IsOK(res1
)) {
37609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37611 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37613 if (!SWIG_IsOK(res2
)) {
37614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37619 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37622 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
37623 wxPyEndAllowThreads(__tstate
);
37624 if (PyErr_Occurred()) SWIG_fail
;
37626 resultobj
= SWIG_Py_Void();
37633 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37634 PyObject
*resultobj
= 0;
37635 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37641 PyObject
* obj0
= 0 ;
37642 PyObject
* obj1
= 0 ;
37643 char * kwnames
[] = {
37644 (char *) "self",(char *) "mode", NULL
37647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37649 if (!SWIG_IsOK(res1
)) {
37650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37652 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37654 if (!SWIG_IsOK(ecode2
)) {
37655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
37657 arg2
= static_cast< int >(val2
);
37659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37660 (arg1
)->SetBackgroundMode(arg2
);
37661 wxPyEndAllowThreads(__tstate
);
37662 if (PyErr_Occurred()) SWIG_fail
;
37664 resultobj
= SWIG_Py_Void();
37671 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37672 PyObject
*resultobj
= 0;
37673 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37674 wxPalette
*arg2
= 0 ;
37679 PyObject
* obj0
= 0 ;
37680 PyObject
* obj1
= 0 ;
37681 char * kwnames
[] = {
37682 (char *) "self",(char *) "palette", NULL
37685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37687 if (!SWIG_IsOK(res1
)) {
37688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37690 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
37692 if (!SWIG_IsOK(res2
)) {
37693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37698 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
37700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37701 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
37702 wxPyEndAllowThreads(__tstate
);
37703 if (PyErr_Occurred()) SWIG_fail
;
37705 resultobj
= SWIG_Py_Void();
37712 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37713 PyObject
*resultobj
= 0;
37714 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37715 wxColour
*arg2
= 0 ;
37719 PyObject
* obj0
= 0 ;
37720 PyObject
* obj1
= 0 ;
37721 char * kwnames
[] = {
37722 (char *) "self",(char *) "colour", NULL
37725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37727 if (!SWIG_IsOK(res1
)) {
37728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37730 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37733 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37737 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
37738 wxPyEndAllowThreads(__tstate
);
37739 if (PyErr_Occurred()) SWIG_fail
;
37741 resultobj
= SWIG_Py_Void();
37748 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37749 PyObject
*resultobj
= 0;
37750 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37751 wxColour
*arg2
= 0 ;
37755 PyObject
* obj0
= 0 ;
37756 PyObject
* obj1
= 0 ;
37757 char * kwnames
[] = {
37758 (char *) "self",(char *) "colour", NULL
37761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37763 if (!SWIG_IsOK(res1
)) {
37764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37766 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37769 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37773 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37777 resultobj
= SWIG_Py_Void();
37784 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37785 PyObject
*resultobj
= 0;
37786 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37792 PyObject
* obj0
= 0 ;
37793 PyObject
* obj1
= 0 ;
37794 char * kwnames
[] = {
37795 (char *) "self",(char *) "function", NULL
37798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37800 if (!SWIG_IsOK(res1
)) {
37801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37803 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37805 if (!SWIG_IsOK(ecode2
)) {
37806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
37808 arg2
= static_cast< int >(val2
);
37810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37811 (arg1
)->SetLogicalFunction(arg2
);
37812 wxPyEndAllowThreads(__tstate
);
37813 if (PyErr_Occurred()) SWIG_fail
;
37815 resultobj
= SWIG_Py_Void();
37822 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37825 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
37826 return SWIG_Py_Void();
37829 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37830 return SWIG_Python_InitShadowInstance(args
);
37833 static PyMethodDef SwigMethods
[] = {
37834 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
37835 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
37836 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
37837 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
37838 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
37839 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37840 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37841 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37842 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
37843 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
37844 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
37845 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
37846 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
37847 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
37848 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37849 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37850 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37851 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37852 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
37853 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37854 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37855 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37856 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
37857 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
37858 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
37859 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37860 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
37861 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37862 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37863 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
37864 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
37865 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
37866 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
37867 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37868 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
37869 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
37870 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
37871 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
37872 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
37873 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
37874 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
37875 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37876 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37877 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37878 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37879 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37880 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37881 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
37882 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37883 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
37884 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37885 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37886 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
37887 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
37888 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37889 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37890 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
37891 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37892 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37893 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37894 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
37895 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
37896 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
37897 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
37898 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
37899 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
37900 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
37901 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37902 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
37903 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37904 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37905 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37906 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37907 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37908 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
37909 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
37910 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
37911 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
37912 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
37913 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
37914 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
37915 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37916 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37917 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37918 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37919 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37920 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
37921 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37922 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37923 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37924 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37925 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37926 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37927 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37928 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
37929 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
37930 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37931 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37932 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37933 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
37934 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
37935 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
37936 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
37937 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
37938 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
37939 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
37940 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
37941 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
37942 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
37943 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
37944 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
37945 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
37946 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
37947 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
37948 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37949 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
37950 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
37951 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37952 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37953 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37954 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37955 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37956 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
37957 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
37958 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
37959 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
37960 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
37961 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
37962 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
37963 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
37964 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
37965 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
37966 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
37967 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
37968 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37969 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
37970 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
37971 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37972 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37973 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37974 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37975 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37976 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
37977 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
37978 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
37979 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37980 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
37981 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
37982 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
37983 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37984 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
37985 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
37986 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37987 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37988 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37989 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37990 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
37991 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
37992 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
37993 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
37994 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37995 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37996 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37997 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37998 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
37999 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38000 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38001 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38002 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38003 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38004 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38005 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38006 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38007 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38008 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38009 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38010 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38011 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38012 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38013 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38014 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38015 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38016 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38017 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38018 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38019 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38020 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38021 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38022 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38023 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38024 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38025 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38026 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38027 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38028 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38029 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38030 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38031 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38032 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38033 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38034 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38035 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38036 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38037 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38038 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38039 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38040 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38041 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38042 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38043 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38044 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38045 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38046 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38047 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38048 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38049 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38050 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38051 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38052 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38053 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38054 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38055 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38056 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38057 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38058 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38059 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38060 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38061 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38062 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38063 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38064 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38065 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38066 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38067 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38068 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38069 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38070 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38071 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38072 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38073 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38074 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38075 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38076 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38077 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38078 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38079 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38080 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38081 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38082 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38083 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38084 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38085 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38086 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38087 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38088 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38089 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38090 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38091 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38092 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38093 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38094 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38095 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38096 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38097 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38098 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38099 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38100 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38101 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38102 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38103 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38104 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38105 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38106 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38107 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38108 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38109 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38110 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38111 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38112 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38113 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38114 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38115 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38116 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38117 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38118 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38119 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38120 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38121 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38122 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38123 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38124 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38125 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38126 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38127 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38128 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38129 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38130 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38131 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38132 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38133 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38134 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38135 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38136 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38137 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38138 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38139 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38140 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38141 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38142 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38143 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38144 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38145 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38146 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38147 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38148 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38149 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38150 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38151 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38152 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38153 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38154 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38155 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38156 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38157 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38158 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38159 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38160 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38161 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38162 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38163 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38164 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38165 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38166 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38167 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38168 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38169 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38170 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38171 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38172 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38173 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38174 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38175 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38176 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38177 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38178 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38179 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38180 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38181 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38182 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38183 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38184 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38185 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38186 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38187 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38188 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38189 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38190 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38191 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38192 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38193 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38194 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38195 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38196 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38197 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38198 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38199 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38200 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38201 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38202 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38203 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38204 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38205 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38206 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38207 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38208 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38209 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38210 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38211 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38212 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38213 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38214 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38215 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38216 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38217 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38218 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38219 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38220 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38221 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38222 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38223 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38224 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38225 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38226 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38227 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38228 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38229 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38230 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38231 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38232 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38233 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38234 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38235 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38236 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38237 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38238 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38239 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38240 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38241 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38242 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38243 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38244 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38245 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38246 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38247 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38248 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38249 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38250 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38251 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38252 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38253 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38254 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38255 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38256 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38257 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38258 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38259 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38260 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38261 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38262 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38263 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38264 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38265 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38266 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38267 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38268 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38269 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38270 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38271 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38272 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38273 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38274 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38275 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38276 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38277 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38278 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38279 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38280 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38281 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38282 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38283 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38284 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38285 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38286 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38287 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38288 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38289 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38290 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38291 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38292 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38293 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38294 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38295 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38296 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38297 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38298 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38299 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38300 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38301 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38302 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38303 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38304 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38305 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38306 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38307 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38308 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38309 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38310 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38311 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38312 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38313 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38314 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38315 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38316 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38317 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38318 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38319 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38320 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38321 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38322 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38323 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38324 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38325 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38326 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38327 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38328 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38329 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38330 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38331 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38332 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38333 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38334 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38335 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38336 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38337 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38338 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38339 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38340 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38341 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38342 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38343 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38344 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38345 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38346 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38347 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38348 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38349 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38350 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38351 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38352 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38353 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38354 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38355 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38356 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38357 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38358 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38359 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38360 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38361 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38362 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38363 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38364 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38365 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38366 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38367 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38368 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38369 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38370 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38371 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38372 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38373 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38374 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38375 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38376 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38377 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38378 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38379 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38380 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38381 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38382 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38383 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38384 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38385 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38386 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38387 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38388 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38389 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38390 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38391 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38392 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38393 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38394 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38395 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38396 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38397 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38398 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38399 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38400 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38401 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38402 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38403 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38404 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38405 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38406 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38407 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38408 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38409 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38410 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38411 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38414 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38415 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38416 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38417 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38418 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38419 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38421 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38422 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38423 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38424 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38425 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38426 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38427 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38428 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38429 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38430 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38431 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38432 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38433 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38434 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38435 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38436 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38437 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38438 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38439 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38440 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38441 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38442 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38443 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38444 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38445 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38446 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38447 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38448 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38450 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38453 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38456 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38457 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38458 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38459 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38460 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38461 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38463 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38464 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38465 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38467 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38468 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38469 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38470 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38472 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38473 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38474 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38475 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38476 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38477 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38478 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38479 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38482 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38483 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38489 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38490 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38493 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38494 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38499 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38500 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38501 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38502 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38503 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38520 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38521 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38522 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38523 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38524 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38525 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38528 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38535 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38537 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38538 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38540 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38541 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38542 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38543 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38544 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
38545 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
38546 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
38547 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
38548 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
38549 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
38550 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
38551 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
38553 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38557 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
38561 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
38563 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38564 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
38565 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
38566 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
38567 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
38568 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
38569 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
38570 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
38576 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
38577 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
38578 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
38579 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
38580 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
38581 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38583 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
38585 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
38589 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38591 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38592 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
38593 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
38594 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
38595 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
38600 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
38601 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
38602 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
38603 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
38604 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
38605 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
38606 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
38607 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
38608 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
38609 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
38610 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
38611 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38614 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
38620 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
38621 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
38623 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
38624 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
38625 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
38626 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
38627 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
38628 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
38629 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
38630 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
38631 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
38632 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
38633 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
38634 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
38635 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
38636 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
38637 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
38638 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
38639 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
38640 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
38641 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
38642 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
38643 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
38644 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
38645 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
38646 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
38648 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38649 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
38650 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
38651 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
38652 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
38653 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38656 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
38666 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
38667 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
38668 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
38670 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
38671 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
38672 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
38673 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
38674 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
38675 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
38676 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
38677 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
38730 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
38740 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
38741 { NULL
, NULL
, 0, NULL
}
38745 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
38747 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
38748 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
38750 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
38751 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
38753 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
38754 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
38756 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
38757 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
38759 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
38760 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
38762 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
38763 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
38765 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
38766 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
38768 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
38769 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
38771 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
38772 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
38774 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
38775 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
38777 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
38778 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
38780 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
38781 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
38783 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
38784 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
38786 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
38787 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
38789 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
38790 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
38792 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
38793 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
38795 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
38796 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
38798 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
38799 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
38801 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
38802 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
38804 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
38805 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
38807 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
38808 return (void *)((wxDC
*) ((wxGCDC
*) x
));
38810 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
38811 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
38813 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
38814 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
38816 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
38817 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
38819 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
38820 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
38822 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
38823 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
38825 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
38826 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
38828 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
38829 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
38831 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
38832 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
38834 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
38835 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
38837 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
38838 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
38840 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
38841 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
38843 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
38844 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
38846 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
38847 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
38849 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
38850 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
38852 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
38853 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
38855 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
38856 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
38858 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
38859 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
38861 static void *_p_wxPenTo_p_wxObject(void *x
) {
38862 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
38864 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
38865 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
38867 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
38868 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
38870 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
38871 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
38873 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
38874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
38876 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
38877 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
38879 static void *_p_wxIconTo_p_wxObject(void *x
) {
38880 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
38882 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
38883 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
38885 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
38886 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
38888 static void *_p_wxSizerTo_p_wxObject(void *x
) {
38889 return (void *)((wxObject
*) ((wxSizer
*) x
));
38891 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
38892 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
38894 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
38895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38897 static void *_p_wxEventTo_p_wxObject(void *x
) {
38898 return (void *)((wxObject
*) ((wxEvent
*) x
));
38900 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
38901 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
38903 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
38904 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
38906 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
38907 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
38909 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
38910 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
38912 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
38913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38915 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
38916 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
38918 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
38919 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
38921 static void *_p_wxDCTo_p_wxObject(void *x
) {
38922 return (void *)((wxObject
*) ((wxDC
*) x
));
38924 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
38925 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38927 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
38928 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38930 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
38931 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38933 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
38934 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38936 static void *_p_wxControlTo_p_wxObject(void *x
) {
38937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
38939 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
38940 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
38942 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
38943 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
38945 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
38946 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
38948 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
38949 return (void *)((wxObject
*) ((wxFSFile
*) x
));
38951 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
38952 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
38954 static void *_p_wxRegionTo_p_wxObject(void *x
) {
38955 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
38957 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
38958 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
38960 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
38961 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
38963 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
38964 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
38966 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
38967 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
38969 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
38970 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
38972 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
38973 return (void *)((wxObject
*) ((wxEffects
*) x
));
38975 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
38976 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
38978 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
38979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38981 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
38982 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
38984 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
38985 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
38987 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
38988 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
38990 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
38991 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
38993 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
38994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
38996 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
38997 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
38999 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39000 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39002 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39003 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39005 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39006 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39008 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39009 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39011 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39012 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39014 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39015 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39017 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39018 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39020 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39021 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39023 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39026 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39027 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39029 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39030 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39032 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39033 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39035 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39036 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39038 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39039 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39041 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39042 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39044 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39045 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39047 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39048 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39050 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39051 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39053 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39054 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39056 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39057 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39059 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39060 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39062 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39063 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39065 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39066 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39068 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39069 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39071 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39072 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39074 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39075 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39077 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39078 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39080 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39081 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39083 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39084 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39086 static void *_p_wxImageTo_p_wxObject(void *x
) {
39087 return (void *)((wxObject
*) ((wxImage
*) x
));
39089 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39090 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39092 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39093 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39095 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39096 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39098 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39099 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39101 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39102 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39104 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39105 return (void *)((wxObject
*) ((wxImageList
*) x
));
39107 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39108 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39110 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39111 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39113 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39114 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39116 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39117 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39119 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39120 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39122 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39125 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39126 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39128 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39129 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39131 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39132 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39134 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39135 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39137 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39140 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39141 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39143 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39144 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39146 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39147 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39149 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39150 return (void *)((wxObject
*) ((wxMask
*) x
));
39152 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39153 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39155 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39158 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39159 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39161 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39162 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39164 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39165 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39167 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39168 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39170 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39171 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39173 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39176 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39177 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39179 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39180 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39182 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39183 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39185 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39186 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39188 static void *_p_wxFontTo_p_wxObject(void *x
) {
39189 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39191 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39192 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39194 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39195 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39197 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39200 static void *_p_wxColourTo_p_wxObject(void *x
) {
39201 return (void *)((wxObject
*) ((wxColour
*) x
));
39203 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39206 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39207 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39209 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39210 return (void *)((wxWindow
*) ((wxControl
*) x
));
39212 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39213 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39215 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39216 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39218 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39219 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39221 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39222 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39224 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39225 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39226 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39227 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};
39228 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39229 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39230 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39231 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39232 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39233 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39234 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39235 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39236 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39237 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39238 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39239 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39240 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39241 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39242 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39243 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39244 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39245 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39246 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39247 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39248 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39249 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39250 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39251 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39252 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39253 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39254 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39255 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39256 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39257 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39258 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39259 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39260 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39261 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39262 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39263 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39264 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39265 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39266 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39267 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39268 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39269 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39270 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39271 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39272 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39273 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39274 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39275 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39276 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39277 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39278 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39279 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39280 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39281 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39282 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39283 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39284 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39285 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39286 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39287 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39288 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39289 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39290 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39291 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39292 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39293 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39294 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39295 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39296 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39297 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39298 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39299 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39300 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39301 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39302 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39303 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39304 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39305 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39306 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39307 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39308 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39309 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39310 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39311 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39312 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39313 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39314 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39315 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39316 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39317 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39318 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39319 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39320 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39321 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39322 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39323 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39324 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39325 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39326 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39327 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39328 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39329 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39330 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39331 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39332 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39333 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39334 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39335 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39336 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39337 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39338 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39339 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39340 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39341 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39342 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39343 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39344 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39345 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39346 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39347 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39348 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39349 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39350 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39351 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39352 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39353 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39354 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39355 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39356 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39357 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39358 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39359 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39360 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39361 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39362 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39363 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39364 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39365 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39366 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39367 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39368 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39369 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39370 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39371 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39372 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39373 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39374 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39375 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39376 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39377 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39378 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39379 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39380 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39381 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39382 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39383 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39384 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39385 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39386 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39387 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39388 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39389 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39390 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39391 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39392 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39393 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39395 static swig_type_info
*swig_type_initial
[] = {
39399 &_swigt__p_form_ops_t
,
39401 &_swigt__p_unsigned_char
,
39402 &_swigt__p_unsigned_int
,
39403 &_swigt__p_unsigned_long
,
39405 &_swigt__p_wxANIHandler
,
39406 &_swigt__p_wxAcceleratorTable
,
39407 &_swigt__p_wxActivateEvent
,
39408 &_swigt__p_wxAlphaPixelData
,
39409 &_swigt__p_wxAlphaPixelData_Accessor
,
39410 &_swigt__p_wxAutoBufferedPaintDC
,
39411 &_swigt__p_wxBMPHandler
,
39412 &_swigt__p_wxBitmap
,
39413 &_swigt__p_wxBoxSizer
,
39414 &_swigt__p_wxBrush
,
39415 &_swigt__p_wxBrushList
,
39416 &_swigt__p_wxBufferedDC
,
39417 &_swigt__p_wxBufferedPaintDC
,
39418 &_swigt__p_wxCURHandler
,
39420 &_swigt__p_wxChildFocusEvent
,
39421 &_swigt__p_wxClientDC
,
39422 &_swigt__p_wxClipboardTextEvent
,
39423 &_swigt__p_wxCloseEvent
,
39424 &_swigt__p_wxColor
,
39425 &_swigt__p_wxColour
,
39426 &_swigt__p_wxColourDatabase
,
39427 &_swigt__p_wxCommandEvent
,
39428 &_swigt__p_wxContextMenuEvent
,
39429 &_swigt__p_wxControl
,
39430 &_swigt__p_wxControlWithItems
,
39431 &_swigt__p_wxCursor
,
39433 &_swigt__p_wxDCBrushChanger
,
39434 &_swigt__p_wxDCClipper
,
39435 &_swigt__p_wxDCOverlay
,
39436 &_swigt__p_wxDCPenChanger
,
39437 &_swigt__p_wxDCTextColourChanger
,
39439 &_swigt__p_wxDateEvent
,
39440 &_swigt__p_wxDisplayChangedEvent
,
39441 &_swigt__p_wxDropFilesEvent
,
39442 &_swigt__p_wxDuplexMode
,
39443 &_swigt__p_wxEffects
,
39444 &_swigt__p_wxEncodingConverter
,
39445 &_swigt__p_wxEraseEvent
,
39446 &_swigt__p_wxEvent
,
39447 &_swigt__p_wxEvtHandler
,
39448 &_swigt__p_wxFSFile
,
39449 &_swigt__p_wxFileSystem
,
39450 &_swigt__p_wxFlexGridSizer
,
39451 &_swigt__p_wxFocusEvent
,
39453 &_swigt__p_wxFontList
,
39454 &_swigt__p_wxFontMapper
,
39455 &_swigt__p_wxGBSizerItem
,
39457 &_swigt__p_wxGDIObjListBase
,
39458 &_swigt__p_wxGDIObject
,
39459 &_swigt__p_wxGIFHandler
,
39460 &_swigt__p_wxGraphicsBrush
,
39461 &_swigt__p_wxGraphicsContext
,
39462 &_swigt__p_wxGraphicsFont
,
39463 &_swigt__p_wxGraphicsMatrix
,
39464 &_swigt__p_wxGraphicsObject
,
39465 &_swigt__p_wxGraphicsPath
,
39466 &_swigt__p_wxGraphicsPen
,
39467 &_swigt__p_wxGraphicsRenderer
,
39468 &_swigt__p_wxGridBagSizer
,
39469 &_swigt__p_wxGridSizer
,
39470 &_swigt__p_wxHeaderButtonParams
,
39471 &_swigt__p_wxICOHandler
,
39473 &_swigt__p_wxIconBundle
,
39474 &_swigt__p_wxIconLocation
,
39475 &_swigt__p_wxIconizeEvent
,
39476 &_swigt__p_wxIdleEvent
,
39477 &_swigt__p_wxImage
,
39478 &_swigt__p_wxImageHandler
,
39479 &_swigt__p_wxImageList
,
39480 &_swigt__p_wxIndividualLayoutConstraint
,
39481 &_swigt__p_wxInitDialogEvent
,
39482 &_swigt__p_wxJPEGHandler
,
39483 &_swigt__p_wxKeyEvent
,
39484 &_swigt__p_wxLanguageInfo
,
39485 &_swigt__p_wxLayoutConstraints
,
39486 &_swigt__p_wxLocale
,
39488 &_swigt__p_wxMaximizeEvent
,
39489 &_swigt__p_wxMemoryDC
,
39491 &_swigt__p_wxMenuBar
,
39492 &_swigt__p_wxMenuEvent
,
39493 &_swigt__p_wxMenuItem
,
39494 &_swigt__p_wxMetaFile
,
39495 &_swigt__p_wxMetaFileDC
,
39496 &_swigt__p_wxMirrorDC
,
39497 &_swigt__p_wxMouseCaptureChangedEvent
,
39498 &_swigt__p_wxMouseCaptureLostEvent
,
39499 &_swigt__p_wxMouseEvent
,
39500 &_swigt__p_wxMoveEvent
,
39501 &_swigt__p_wxNativeEncodingInfo
,
39502 &_swigt__p_wxNativeFontInfo
,
39503 &_swigt__p_wxNativePixelData
,
39504 &_swigt__p_wxNativePixelData_Accessor
,
39505 &_swigt__p_wxNavigationKeyEvent
,
39506 &_swigt__p_wxNcPaintEvent
,
39507 &_swigt__p_wxNotifyEvent
,
39508 &_swigt__p_wxObject
,
39509 &_swigt__p_wxOverlay
,
39510 &_swigt__p_wxPCXHandler
,
39511 &_swigt__p_wxPNGHandler
,
39512 &_swigt__p_wxPNMHandler
,
39513 &_swigt__p_wxPaintDC
,
39514 &_swigt__p_wxPaintEvent
,
39515 &_swigt__p_wxPalette
,
39516 &_swigt__p_wxPaletteChangedEvent
,
39517 &_swigt__p_wxPaperSize
,
39519 &_swigt__p_wxPenList
,
39520 &_swigt__p_wxPixelDataBase
,
39521 &_swigt__p_wxPoint
,
39522 &_swigt__p_wxPoint2D
,
39523 &_swigt__p_wxPoint2DDouble
,
39524 &_swigt__p_wxPostScriptDC
,
39525 &_swigt__p_wxPrintData
,
39526 &_swigt__p_wxPrinterDC
,
39527 &_swigt__p_wxPseudoDC
,
39528 &_swigt__p_wxPyApp
,
39529 &_swigt__p_wxPyCommandEvent
,
39530 &_swigt__p_wxPyEvent
,
39531 &_swigt__p_wxPyFontEnumerator
,
39532 &_swigt__p_wxPyImageHandler
,
39533 &_swigt__p_wxPyLocale
,
39534 &_swigt__p_wxPySizer
,
39535 &_swigt__p_wxPyValidator
,
39536 &_swigt__p_wxQueryNewPaletteEvent
,
39538 &_swigt__p_wxRect2DDouble
,
39539 &_swigt__p_wxRegion
,
39540 &_swigt__p_wxRegionIterator
,
39541 &_swigt__p_wxRendererNative
,
39542 &_swigt__p_wxRendererVersion
,
39543 &_swigt__p_wxScreenDC
,
39544 &_swigt__p_wxScrollEvent
,
39545 &_swigt__p_wxScrollWinEvent
,
39546 &_swigt__p_wxSetCursorEvent
,
39547 &_swigt__p_wxShowEvent
,
39549 &_swigt__p_wxSizeEvent
,
39550 &_swigt__p_wxSizer
,
39551 &_swigt__p_wxSizerItem
,
39552 &_swigt__p_wxSplitterRenderParams
,
39553 &_swigt__p_wxStaticBoxSizer
,
39554 &_swigt__p_wxStdDialogButtonSizer
,
39555 &_swigt__p_wxStockGDI
,
39556 &_swigt__p_wxString
,
39557 &_swigt__p_wxSysColourChangedEvent
,
39558 &_swigt__p_wxTIFFHandler
,
39559 &_swigt__p_wxUpdateUIEvent
,
39560 &_swigt__p_wxValidator
,
39561 &_swigt__p_wxWindow
,
39562 &_swigt__p_wxWindowCreateEvent
,
39563 &_swigt__p_wxWindowDC
,
39564 &_swigt__p_wxWindowDestroyEvent
,
39565 &_swigt__p_wxXPMHandler
,
39568 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
39569 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39570 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
39571 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39572 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39573 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39574 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39575 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39576 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39577 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
39578 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39579 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39580 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39581 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
39582 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
39583 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}};
39584 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39585 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39586 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}};
39587 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
39588 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39589 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
39590 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39591 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}};
39592 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
39593 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
39594 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39595 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
39596 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
39597 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
39598 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39599 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
39600 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
39601 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39602 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
39603 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
39604 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
39605 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}};
39606 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}};
39607 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
39608 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
39609 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
39610 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
39611 static swig_cast_info _swigc__p_wxGraphicsObject
[] = { {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxGraphicsObject
, 0, 0},{0, 0, 0, 0}};
39612 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
39613 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
39614 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
39615 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
39616 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39617 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
39618 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
39619 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39620 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
39621 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
39622 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}};
39623 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
39624 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}};
39625 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
39626 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
39627 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
39628 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
39629 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
39630 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
39631 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39632 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39633 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39634 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39635 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39636 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39637 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39638 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39639 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39640 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39641 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39642 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39643 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
39644 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39645 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39646 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39647 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39648 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39649 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39650 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39651 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39652 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39653 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39654 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39655 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39656 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39657 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39658 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39659 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39660 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39661 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39662 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39663 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39664 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39665 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39666 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39667 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39668 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39669 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39670 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39671 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
39672 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39673 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39674 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39675 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39676 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39677 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39678 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39679 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39680 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39681 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39682 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39683 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39684 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39685 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39686 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39687 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39688 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39689 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39690 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39691 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39692 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39693 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39694 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39695 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39696 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39697 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39698 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39699 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39700 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39701 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39702 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39703 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39704 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39705 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39706 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39707 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39708 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_wxGraphicsPen
, _p_wxGraphicsPenTo_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_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_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_wxGraphicsContext
, _p_wxGraphicsContextTo_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_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_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_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_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_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 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_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_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}};
39709 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39710 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39711 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
39712 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39713 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
39714 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
39715 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}};
39716 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39717 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
39718 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
39719 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
39720 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
39721 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
39722 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
39723 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
39724 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
39725 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39726 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
39727 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
39728 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
39729 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
39730 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
39731 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
39732 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
39733 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
39734 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
39735 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
39736 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}};
39737 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}};
39739 static swig_cast_info
*swig_cast_initial
[] = {
39743 _swigc__p_form_ops_t
,
39745 _swigc__p_unsigned_char
,
39746 _swigc__p_unsigned_int
,
39747 _swigc__p_unsigned_long
,
39749 _swigc__p_wxANIHandler
,
39750 _swigc__p_wxAcceleratorTable
,
39751 _swigc__p_wxActivateEvent
,
39752 _swigc__p_wxAlphaPixelData
,
39753 _swigc__p_wxAlphaPixelData_Accessor
,
39754 _swigc__p_wxAutoBufferedPaintDC
,
39755 _swigc__p_wxBMPHandler
,
39756 _swigc__p_wxBitmap
,
39757 _swigc__p_wxBoxSizer
,
39759 _swigc__p_wxBrushList
,
39760 _swigc__p_wxBufferedDC
,
39761 _swigc__p_wxBufferedPaintDC
,
39762 _swigc__p_wxCURHandler
,
39764 _swigc__p_wxChildFocusEvent
,
39765 _swigc__p_wxClientDC
,
39766 _swigc__p_wxClipboardTextEvent
,
39767 _swigc__p_wxCloseEvent
,
39769 _swigc__p_wxColour
,
39770 _swigc__p_wxColourDatabase
,
39771 _swigc__p_wxCommandEvent
,
39772 _swigc__p_wxContextMenuEvent
,
39773 _swigc__p_wxControl
,
39774 _swigc__p_wxControlWithItems
,
39775 _swigc__p_wxCursor
,
39777 _swigc__p_wxDCBrushChanger
,
39778 _swigc__p_wxDCClipper
,
39779 _swigc__p_wxDCOverlay
,
39780 _swigc__p_wxDCPenChanger
,
39781 _swigc__p_wxDCTextColourChanger
,
39783 _swigc__p_wxDateEvent
,
39784 _swigc__p_wxDisplayChangedEvent
,
39785 _swigc__p_wxDropFilesEvent
,
39786 _swigc__p_wxDuplexMode
,
39787 _swigc__p_wxEffects
,
39788 _swigc__p_wxEncodingConverter
,
39789 _swigc__p_wxEraseEvent
,
39791 _swigc__p_wxEvtHandler
,
39792 _swigc__p_wxFSFile
,
39793 _swigc__p_wxFileSystem
,
39794 _swigc__p_wxFlexGridSizer
,
39795 _swigc__p_wxFocusEvent
,
39797 _swigc__p_wxFontList
,
39798 _swigc__p_wxFontMapper
,
39799 _swigc__p_wxGBSizerItem
,
39801 _swigc__p_wxGDIObjListBase
,
39802 _swigc__p_wxGDIObject
,
39803 _swigc__p_wxGIFHandler
,
39804 _swigc__p_wxGraphicsBrush
,
39805 _swigc__p_wxGraphicsContext
,
39806 _swigc__p_wxGraphicsFont
,
39807 _swigc__p_wxGraphicsMatrix
,
39808 _swigc__p_wxGraphicsObject
,
39809 _swigc__p_wxGraphicsPath
,
39810 _swigc__p_wxGraphicsPen
,
39811 _swigc__p_wxGraphicsRenderer
,
39812 _swigc__p_wxGridBagSizer
,
39813 _swigc__p_wxGridSizer
,
39814 _swigc__p_wxHeaderButtonParams
,
39815 _swigc__p_wxICOHandler
,
39817 _swigc__p_wxIconBundle
,
39818 _swigc__p_wxIconLocation
,
39819 _swigc__p_wxIconizeEvent
,
39820 _swigc__p_wxIdleEvent
,
39822 _swigc__p_wxImageHandler
,
39823 _swigc__p_wxImageList
,
39824 _swigc__p_wxIndividualLayoutConstraint
,
39825 _swigc__p_wxInitDialogEvent
,
39826 _swigc__p_wxJPEGHandler
,
39827 _swigc__p_wxKeyEvent
,
39828 _swigc__p_wxLanguageInfo
,
39829 _swigc__p_wxLayoutConstraints
,
39830 _swigc__p_wxLocale
,
39832 _swigc__p_wxMaximizeEvent
,
39833 _swigc__p_wxMemoryDC
,
39835 _swigc__p_wxMenuBar
,
39836 _swigc__p_wxMenuEvent
,
39837 _swigc__p_wxMenuItem
,
39838 _swigc__p_wxMetaFile
,
39839 _swigc__p_wxMetaFileDC
,
39840 _swigc__p_wxMirrorDC
,
39841 _swigc__p_wxMouseCaptureChangedEvent
,
39842 _swigc__p_wxMouseCaptureLostEvent
,
39843 _swigc__p_wxMouseEvent
,
39844 _swigc__p_wxMoveEvent
,
39845 _swigc__p_wxNativeEncodingInfo
,
39846 _swigc__p_wxNativeFontInfo
,
39847 _swigc__p_wxNativePixelData
,
39848 _swigc__p_wxNativePixelData_Accessor
,
39849 _swigc__p_wxNavigationKeyEvent
,
39850 _swigc__p_wxNcPaintEvent
,
39851 _swigc__p_wxNotifyEvent
,
39852 _swigc__p_wxObject
,
39853 _swigc__p_wxOverlay
,
39854 _swigc__p_wxPCXHandler
,
39855 _swigc__p_wxPNGHandler
,
39856 _swigc__p_wxPNMHandler
,
39857 _swigc__p_wxPaintDC
,
39858 _swigc__p_wxPaintEvent
,
39859 _swigc__p_wxPalette
,
39860 _swigc__p_wxPaletteChangedEvent
,
39861 _swigc__p_wxPaperSize
,
39863 _swigc__p_wxPenList
,
39864 _swigc__p_wxPixelDataBase
,
39866 _swigc__p_wxPoint2D
,
39867 _swigc__p_wxPoint2DDouble
,
39868 _swigc__p_wxPostScriptDC
,
39869 _swigc__p_wxPrintData
,
39870 _swigc__p_wxPrinterDC
,
39871 _swigc__p_wxPseudoDC
,
39873 _swigc__p_wxPyCommandEvent
,
39874 _swigc__p_wxPyEvent
,
39875 _swigc__p_wxPyFontEnumerator
,
39876 _swigc__p_wxPyImageHandler
,
39877 _swigc__p_wxPyLocale
,
39878 _swigc__p_wxPySizer
,
39879 _swigc__p_wxPyValidator
,
39880 _swigc__p_wxQueryNewPaletteEvent
,
39882 _swigc__p_wxRect2DDouble
,
39883 _swigc__p_wxRegion
,
39884 _swigc__p_wxRegionIterator
,
39885 _swigc__p_wxRendererNative
,
39886 _swigc__p_wxRendererVersion
,
39887 _swigc__p_wxScreenDC
,
39888 _swigc__p_wxScrollEvent
,
39889 _swigc__p_wxScrollWinEvent
,
39890 _swigc__p_wxSetCursorEvent
,
39891 _swigc__p_wxShowEvent
,
39893 _swigc__p_wxSizeEvent
,
39895 _swigc__p_wxSizerItem
,
39896 _swigc__p_wxSplitterRenderParams
,
39897 _swigc__p_wxStaticBoxSizer
,
39898 _swigc__p_wxStdDialogButtonSizer
,
39899 _swigc__p_wxStockGDI
,
39900 _swigc__p_wxString
,
39901 _swigc__p_wxSysColourChangedEvent
,
39902 _swigc__p_wxTIFFHandler
,
39903 _swigc__p_wxUpdateUIEvent
,
39904 _swigc__p_wxValidator
,
39905 _swigc__p_wxWindow
,
39906 _swigc__p_wxWindowCreateEvent
,
39907 _swigc__p_wxWindowDC
,
39908 _swigc__p_wxWindowDestroyEvent
,
39909 _swigc__p_wxXPMHandler
,
39913 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39915 static swig_const_info swig_const_table
[] = {
39916 {0, 0, 0, 0.0, 0, 0}};
39921 /* -----------------------------------------------------------------------------
39922 * Type initialization:
39923 * This problem is tough by the requirement that no dynamic
39924 * memory is used. Also, since swig_type_info structures store pointers to
39925 * swig_cast_info structures and swig_cast_info structures store pointers back
39926 * to swig_type_info structures, we need some lookup code at initialization.
39927 * The idea is that swig generates all the structures that are needed.
39928 * The runtime then collects these partially filled structures.
39929 * The SWIG_InitializeModule function takes these initial arrays out of
39930 * swig_module, and does all the lookup, filling in the swig_module.types
39931 * array with the correct data and linking the correct swig_cast_info
39932 * structures together.
39934 * The generated swig_type_info structures are assigned staticly to an initial
39935 * array. We just loop though that array, and handle each type individually.
39936 * First we lookup if this type has been already loaded, and if so, use the
39937 * loaded structure instead of the generated one. Then we have to fill in the
39938 * cast linked list. The cast data is initially stored in something like a
39939 * two-dimensional array. Each row corresponds to a type (there are the same
39940 * number of rows as there are in the swig_type_initial array). Each entry in
39941 * a column is one of the swig_cast_info structures for that type.
39942 * The cast_initial array is actually an array of arrays, because each row has
39943 * a variable number of columns. So to actually build the cast linked list,
39944 * we find the array of casts associated with the type, and loop through it
39945 * adding the casts to the list. The one last trick we need to do is making
39946 * sure the type pointer in the swig_cast_info struct is correct.
39948 * First off, we lookup the cast->type name to see if it is already loaded.
39949 * There are three cases to handle:
39950 * 1) If the cast->type has already been loaded AND the type we are adding
39951 * casting info to has not been loaded (it is in this module), THEN we
39952 * replace the cast->type pointer with the type pointer that has already
39954 * 2) If BOTH types (the one we are adding casting info to, and the
39955 * cast->type) are loaded, THEN the cast info has already been loaded by
39956 * the previous module so we just ignore it.
39957 * 3) Finally, if cast->type has not already been loaded, then we add that
39958 * swig_cast_info to the linked list (because the cast->type) pointer will
39960 * ----------------------------------------------------------------------------- */
39970 #define SWIGRUNTIME_DEBUG
39974 SWIG_InitializeModule(void *clientdata
) {
39976 swig_module_info
*module_head
;
39977 static int init_run
= 0;
39979 clientdata
= clientdata
;
39981 if (init_run
) return;
39984 /* Initialize the swig_module */
39985 swig_module
.type_initial
= swig_type_initial
;
39986 swig_module
.cast_initial
= swig_cast_initial
;
39988 /* Try and load any already created modules */
39989 module_head
= SWIG_GetModule(clientdata
);
39991 swig_module
.next
= module_head
->next
;
39992 module_head
->next
= &swig_module
;
39994 /* This is the first module loaded */
39995 swig_module
.next
= &swig_module
;
39996 SWIG_SetModule(clientdata
, &swig_module
);
39999 /* Now work on filling in swig_module.types */
40000 #ifdef SWIGRUNTIME_DEBUG
40001 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40003 for (i
= 0; i
< swig_module
.size
; ++i
) {
40004 swig_type_info
*type
= 0;
40005 swig_type_info
*ret
;
40006 swig_cast_info
*cast
;
40008 #ifdef SWIGRUNTIME_DEBUG
40009 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40012 /* if there is another module already loaded */
40013 if (swig_module
.next
!= &swig_module
) {
40014 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40017 /* Overwrite clientdata field */
40018 #ifdef SWIGRUNTIME_DEBUG
40019 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40021 if (swig_module
.type_initial
[i
]->clientdata
) {
40022 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40023 #ifdef SWIGRUNTIME_DEBUG
40024 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40028 type
= swig_module
.type_initial
[i
];
40031 /* Insert casting types */
40032 cast
= swig_module
.cast_initial
[i
];
40033 while (cast
->type
) {
40034 /* Don't need to add information already in the list */
40036 #ifdef SWIGRUNTIME_DEBUG
40037 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40039 if (swig_module
.next
!= &swig_module
) {
40040 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40041 #ifdef SWIGRUNTIME_DEBUG
40042 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40046 if (type
== swig_module
.type_initial
[i
]) {
40047 #ifdef SWIGRUNTIME_DEBUG
40048 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40053 /* Check for casting already in the list */
40054 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40055 #ifdef SWIGRUNTIME_DEBUG
40056 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40058 if (!ocast
) ret
= 0;
40063 #ifdef SWIGRUNTIME_DEBUG
40064 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40067 type
->cast
->prev
= cast
;
40068 cast
->next
= type
->cast
;
40074 /* Set entry in modules->types array equal to the type */
40075 swig_module
.types
[i
] = type
;
40077 swig_module
.types
[i
] = 0;
40079 #ifdef SWIGRUNTIME_DEBUG
40080 printf("**** SWIG_InitializeModule: Cast List ******\n");
40081 for (i
= 0; i
< swig_module
.size
; ++i
) {
40083 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40084 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40085 while (cast
->type
) {
40086 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40090 printf("---- Total casts: %d\n",j
);
40092 printf("**** SWIG_InitializeModule: Cast List ******\n");
40096 /* This function will propagate the clientdata field of type to
40097 * any new swig_type_info structures that have been added into the list
40098 * of equivalent types. It is like calling
40099 * SWIG_TypeClientData(type, clientdata) a second time.
40102 SWIG_PropagateClientData(void) {
40104 swig_cast_info
*equiv
;
40105 static int init_run
= 0;
40107 if (init_run
) return;
40110 for (i
= 0; i
< swig_module
.size
; i
++) {
40111 if (swig_module
.types
[i
]->clientdata
) {
40112 equiv
= swig_module
.types
[i
]->cast
;
40114 if (!equiv
->converter
) {
40115 if (equiv
->type
&& !equiv
->type
->clientdata
)
40116 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40118 equiv
= equiv
->next
;
40138 /* Python-specific SWIG API */
40139 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40140 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40141 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40143 /* -----------------------------------------------------------------------------
40144 * global variable support code.
40145 * ----------------------------------------------------------------------------- */
40147 typedef struct swig_globalvar
{
40148 char *name
; /* Name of global variable */
40149 PyObject
*(*get_attr
)(void); /* Return the current value */
40150 int (*set_attr
)(PyObject
*); /* Set the value */
40151 struct swig_globalvar
*next
;
40154 typedef struct swig_varlinkobject
{
40156 swig_globalvar
*vars
;
40157 } swig_varlinkobject
;
40159 SWIGINTERN PyObject
*
40160 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40161 return PyString_FromString("<Swig global variables>");
40164 SWIGINTERN PyObject
*
40165 swig_varlink_str(swig_varlinkobject
*v
) {
40166 PyObject
*str
= PyString_FromString("(");
40167 swig_globalvar
*var
;
40168 for (var
= v
->vars
; var
; var
=var
->next
) {
40169 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40170 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40172 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40177 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40178 PyObject
*str
= swig_varlink_str(v
);
40179 fprintf(fp
,"Swig global variables ");
40180 fprintf(fp
,"%s\n", PyString_AsString(str
));
40186 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40187 swig_globalvar
*var
= v
->vars
;
40189 swig_globalvar
*n
= var
->next
;
40196 SWIGINTERN PyObject
*
40197 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40198 PyObject
*res
= NULL
;
40199 swig_globalvar
*var
= v
->vars
;
40201 if (strcmp(var
->name
,n
) == 0) {
40202 res
= (*var
->get_attr
)();
40207 if (res
== NULL
&& !PyErr_Occurred()) {
40208 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40214 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40216 swig_globalvar
*var
= v
->vars
;
40218 if (strcmp(var
->name
,n
) == 0) {
40219 res
= (*var
->set_attr
)(p
);
40224 if (res
== 1 && !PyErr_Occurred()) {
40225 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40230 SWIGINTERN PyTypeObject
*
40231 swig_varlink_type(void) {
40232 static char varlink__doc__
[] = "Swig var link object";
40233 static PyTypeObject varlink_type
;
40234 static int type_init
= 0;
40236 const PyTypeObject tmp
40238 PyObject_HEAD_INIT(NULL
)
40239 0, /* Number of items in variable part (ob_size) */
40240 (char *)"swigvarlink", /* Type name (tp_name) */
40241 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40242 0, /* Itemsize (tp_itemsize) */
40243 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40244 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40245 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40246 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40247 0, /* tp_compare */
40248 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40249 0, /* tp_as_number */
40250 0, /* tp_as_sequence */
40251 0, /* tp_as_mapping */
40254 (reprfunc
)swig_varlink_str
, /* tp_str */
40255 0, /* tp_getattro */
40256 0, /* tp_setattro */
40257 0, /* tp_as_buffer */
40259 varlink__doc__
, /* tp_doc */
40260 0, /* tp_traverse */
40262 0, /* tp_richcompare */
40263 0, /* tp_weaklistoffset */
40264 #if PY_VERSION_HEX >= 0x02020000
40265 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40267 #if PY_VERSION_HEX >= 0x02030000
40270 #ifdef COUNT_ALLOCS
40271 0,0,0,0 /* tp_alloc -> tp_next */
40274 varlink_type
= tmp
;
40275 varlink_type
.ob_type
= &PyType_Type
;
40278 return &varlink_type
;
40281 /* Create a variable linking object for use later */
40282 SWIGINTERN PyObject
*
40283 SWIG_Python_newvarlink(void) {
40284 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40288 return ((PyObject
*) result
);
40292 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40293 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40294 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40296 size_t size
= strlen(name
)+1;
40297 gv
->name
= (char *)malloc(size
);
40299 strncpy(gv
->name
,name
,size
);
40300 gv
->get_attr
= get_attr
;
40301 gv
->set_attr
= set_attr
;
40302 gv
->next
= v
->vars
;
40308 SWIGINTERN PyObject
*
40310 static PyObject
*_SWIG_globals
= 0;
40311 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40312 return _SWIG_globals
;
40315 /* -----------------------------------------------------------------------------
40316 * constants/methods manipulation
40317 * ----------------------------------------------------------------------------- */
40319 /* Install Constants */
40321 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40324 for (i
= 0; constants
[i
].type
; ++i
) {
40325 switch(constants
[i
].type
) {
40326 case SWIG_PY_POINTER
:
40327 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40329 case SWIG_PY_BINARY
:
40330 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40337 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40343 /* -----------------------------------------------------------------------------*/
40344 /* Fix SwigMethods to carry the callback ptrs when needed */
40345 /* -----------------------------------------------------------------------------*/
40348 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40349 swig_const_info
*const_table
,
40350 swig_type_info
**types
,
40351 swig_type_info
**types_initial
) {
40353 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40354 const char *c
= methods
[i
].ml_doc
;
40355 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40357 swig_const_info
*ci
= 0;
40358 const char *name
= c
+ 10;
40359 for (j
= 0; const_table
[j
].type
; ++j
) {
40360 if (strncmp(const_table
[j
].name
, name
,
40361 strlen(const_table
[j
].name
)) == 0) {
40362 ci
= &(const_table
[j
]);
40367 size_t shift
= (ci
->ptype
) - types
;
40368 swig_type_info
*ty
= types_initial
[shift
];
40369 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40370 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40371 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40374 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40376 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40378 strncpy(buff
, "swig_ptr: ", 10);
40380 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40381 methods
[i
].ml_doc
= ndoc
;
40393 /* -----------------------------------------------------------------------------*
40394 * Partial Init method
40395 * -----------------------------------------------------------------------------*/
40400 SWIGEXPORT
void SWIG_init(void) {
40403 /* Fix SwigMethods to carry the callback ptrs when needed */
40404 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40406 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40407 d
= PyModule_GetDict(m
);
40409 SWIG_InitializeModule(0);
40410 SWIG_InstallConstants(d
,swig_const_table
);
40413 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40414 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40415 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40416 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40417 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40418 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40419 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40420 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40421 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40422 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40423 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40424 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40425 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40426 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40427 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40428 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40429 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40430 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40431 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40432 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40433 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40434 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40435 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40436 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40437 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40438 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40439 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40440 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40441 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40442 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40443 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40444 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40445 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40446 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40447 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40448 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40449 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40450 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40451 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40452 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40453 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40454 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40455 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40456 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40457 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40458 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40459 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40460 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40461 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40462 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40463 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40464 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40465 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40466 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40467 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40468 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40469 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40470 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40471 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40472 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40473 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40474 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40475 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40476 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40477 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40478 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40479 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40480 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40481 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40482 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40483 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40484 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40485 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40486 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40487 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40488 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40489 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40490 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40491 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40492 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40493 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40494 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40495 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40496 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40497 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40498 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40499 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40500 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40501 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40502 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40503 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40504 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40505 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40506 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40507 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40508 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40509 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40510 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40511 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40512 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40513 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40514 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40515 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40516 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40517 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40518 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40519 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40520 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40521 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40522 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40523 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40524 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40525 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40526 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40527 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40528 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
40529 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
40530 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
40531 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
40532 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
40533 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
40534 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
40535 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
40536 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
40537 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
40538 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
40539 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
40540 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
40541 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
40542 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
40543 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
40544 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
40546 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
40548 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
40549 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
40550 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
40551 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
40552 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
40553 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
40554 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
40555 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
40556 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
40557 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
40558 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
40559 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
40560 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
40561 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
40562 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
40563 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
40564 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
40565 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
40566 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
40567 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
40568 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
40569 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
40570 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
40571 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
40572 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
40573 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
40574 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
40575 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
40576 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
40577 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
40578 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
40579 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
40580 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
40581 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
40582 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
40583 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
40584 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
40585 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
40586 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
40587 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
40588 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
40589 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
40590 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
40591 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
40592 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
40593 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
40594 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
40595 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
40596 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
40597 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
40598 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
40599 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
40600 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
40601 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
40602 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
40603 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
40604 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
40605 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
40606 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
40607 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
40608 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
40609 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
40610 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
40611 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
40612 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
40613 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
40614 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
40615 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
40616 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
40617 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
40618 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
40619 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
40620 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
40621 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
40622 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
40623 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
40624 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
40625 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
40626 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
40627 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
40628 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
40629 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
40630 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
40631 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
40632 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
40633 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
40634 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
40635 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
40636 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
40637 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
40638 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
40639 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
40640 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
40641 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
40642 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
40643 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
40644 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
40645 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
40646 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
40647 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
40648 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
40649 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
40650 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
40651 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
40652 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
40653 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
40654 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
40655 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
40656 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
40657 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
40658 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
40659 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
40660 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
40661 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
40662 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
40663 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
40664 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
40665 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
40666 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
40667 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
40668 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
40669 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
40670 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
40671 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
40672 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
40673 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
40674 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
40675 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
40676 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
40677 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
40678 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
40679 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
40680 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
40681 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
40682 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
40683 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
40684 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
40685 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
40686 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
40687 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
40688 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
40689 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
40690 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
40691 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
40692 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
40693 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
40694 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
40695 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
40696 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
40697 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
40698 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
40699 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
40700 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
40701 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
40702 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
40703 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
40704 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
40705 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
40706 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
40707 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
40708 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
40709 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
40710 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
40711 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
40712 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
40713 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
40714 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
40715 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
40716 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
40717 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
40718 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
40719 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
40720 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
40721 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
40722 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
40723 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
40724 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
40725 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
40726 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
40727 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
40728 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
40729 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
40730 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
40731 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
40732 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
40733 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
40734 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
40735 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
40736 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
40737 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
40738 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
40739 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
40740 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
40741 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
40742 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
40743 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
40744 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
40745 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
40746 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
40747 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
40748 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
40749 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
40750 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
40751 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
40752 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
40753 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
40754 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
40755 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
40756 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
40757 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
40758 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
40759 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
40760 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
40761 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
40762 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
40763 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
40764 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
40765 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
40766 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
40767 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
40768 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
40769 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
40770 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
40771 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
40772 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
40773 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
40774 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
40775 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
40776 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
40777 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
40778 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
40779 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
40780 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
40781 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
40782 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
40783 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
40784 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
40785 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
40786 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
40787 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
40788 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
40789 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
40790 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
40791 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
40792 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
40793 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
40794 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
40795 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
40796 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
40797 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
40798 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
40799 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
40800 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
40801 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
40802 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
40803 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
40804 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
40805 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
40806 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
40807 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
40808 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
40809 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
40810 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
40811 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
40812 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
40813 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
40814 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
40815 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
40816 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
40817 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
40818 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
40819 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
40820 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
40821 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
40822 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
40823 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
40824 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
40825 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
40826 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
40827 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
40828 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
40829 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
40830 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
40831 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
40832 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
40833 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
40834 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
40835 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
40836 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
40837 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
40838 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
40839 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
40840 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
40841 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
40842 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
40843 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
40844 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
40845 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
40846 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
40847 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
40848 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
40849 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
40850 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
40851 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
40852 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
40853 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
40854 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
40855 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
40856 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
40857 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
40858 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
40859 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
40860 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
40861 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
40862 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
40863 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
40864 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
40865 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
40866 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
40867 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
40868 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
40869 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
40870 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
40871 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
40873 // Work around a chicken/egg problem in drawlist.cpp
40874 wxPyDrawList_SetAPIPtr();